[Pkg-mediawiki-devel] Bug#656478: wikidiff2: FTBFS with PHP 5.4

Raphael Geissert geissert at debian.org
Thu Jan 19 17:16:21 UTC 2012


Source: wikidiff2
Version: 0.0.1+svn55737-1.1
Severity: important
User: pkg-php-maint at lists.alioth.debian.org
Usertags: php54

Hi,

Your package failed to build when compiled against PHP 5.4. Such version is 
planned to be included in wheezy, as such, this bug might become RC if not 
fixed before 5.4 is uploaded to sid.

The following is the tail of the failed build log:

Now at patch fix_543113.patch
touch debian/stamp-patched
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory `/root/wikidiff2-0.0.1+svn55737'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/root/wikidiff2-0.0.1+svn55737'
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall" 
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall" CPPFLAGS="" LDFLAGS=""
make[1]: Entering directory `/root/wikidiff2-0.0.1+svn55737'
swig -php5 -c++ wikidiff2.i
g++ -O2 `php-config --includes` -shared -fPIC -o php_wikidiff2.so wikidiff2.cpp wikidiff2_wrap.cpp
wikidiff2_wrap.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)':
wikidiff2_wrap.cpp:933:65: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
make[1]: *** [php_wikidiff2.so] Error 1
make[1]: Leaving directory `/root/wikidiff2-0.0.1+svn55737'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Kind regards,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the Pkg-mediawiki-devel mailing list