Debian Bug report logs -
#656478
wikidiff2: FTBFS with PHP 5.4
Reported by: Raphael Geissert <geissert@debian.org>
Date: Thu, 19 Jan 2012 17:21:01 UTC
Severity: important
Found in version wikidiff2/0.0.1+svn55737-1.1
Done: Jonathan Wiltshire <jmw@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>:
Bug#656478; Package src:wikidiff2.
(Thu, 19 Jan 2012 17:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Raphael Geissert <geissert@debian.org>:
New Bug report received and forwarded. Copy sent to Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>.
(Thu, 19 Jan 2012 17:21:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: wikidiff2
Version: 0.0.1+svn55737-1.1
Severity: important
User: pkg-php-maint@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
Information forwarded
to debian-bugs-dist@lists.debian.org, Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>:
Bug#656478; Package src:wikidiff2.
(Sat, 21 Jan 2012 21:39:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Lior Kaplan <kaplan@debian.org>:
Extra info received and forwarded to list. Copy sent to Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>.
(Sat, 21 Jan 2012 21:39:08 GMT) (full text, mbox, link).
Message #10 received at 656478@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Guys,
See Tim's reply bellow, would be nice to have an updated version.
I verified it builds with PHP 5.4.0 RC6.
Kaplan
---------- Forwarded message ----------
From: Tim Starling <tstarling@wikimedia.org>
Date: Sat, Jan 21, 2012 at 8:30 PM
Subject: Re: wikidiff2 and php5.4
To: Lior Kaplan <kaplan@debian.org>
On 21/01/12 02:28, Lior Kaplan wrote:
> Hi Tim,
>
> Could you take a look at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656478 ?
>
> We already started our planning and testing for PHP 5.4, and would
> like to have wikidiff2 ready as well.
>
> Notice that debian has version 1.1 of the extension (based on svn
> rev 55737).
> We can patch this version or upload a newer one.
>
Please use the latest one from Subversion (r109581). I just deployed
it to Wikipedia yesterday so it's hopefully of a reasonable quality.
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/wikidiff2
Note that the dependencies have changed, and we have our own
debianization which you may want to use as a starting point. You won't
see that swig error because we no longer use swig.
-- Tim Starling
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>:
Bug#656478; Package src:wikidiff2.
(Mon, 23 Jan 2012 23:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Lior Kaplan <kaplanlior@gmail.com>:
Extra info received and forwarded to list. Copy sent to Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>.
(Mon, 23 Jan 2012 23:21:03 GMT) (full text, mbox, link).
Message #15 received at 656478@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
block 656493 with 657091
block 656478 with 657091
thanks
Seems the problem isn't the extension itself but a bug in swig (see
#657091).
See also https://bugzilla.redhat.com/show_bug.cgi?id=770696
Kaplan
[Message part 2 (text/html, inline)]
Added blocking bug(s) of 656478: 657091
Request was from Lior Kaplan <kaplanlior@gmail.com>
to control@bugs.debian.org.
(Mon, 23 Jan 2012 23:21:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>:
Bug#656478; Package src:wikidiff2.
(Tue, 24 Jan 2012 19:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Torsten Landschoff <t.landschoff@gmx.net>:
Extra info received and forwarded to list. Copy sent to Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>.
(Tue, 24 Jan 2012 19:33:03 GMT) (full text, mbox, link).
Message #22 received at 656478@bugs.debian.org (full text, mbox, reply):
I just checked that my upload of swig 2.0.4-5 fixes bug #656478.
Building with 2.0.4-4 reproduces the error mentioned in this bug.
Updating swig to 2.0.4-5 made the error go away and wikidiff2 builds
fine again.
Information forwarded
to debian-bugs-dist@lists.debian.org, Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>:
Bug#656478; Package src:wikidiff2.
(Wed, 25 Jan 2012 18:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Lior Kaplan <kaplanlior@gmail.com>:
Extra info received and forwarded to list. Copy sent to Mediawiki Maintenance Team <pkg-mediawiki-devel@lists.alioth.debian.org>.
(Wed, 25 Jan 2012 18:09:03 GMT) (full text, mbox, link).
Message #27 received at 656478@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 656493 pending
tag 656478 pending
thanks
Hi,
swig 2.0.4-5 which has a fix for #657091, lets this php extension to be
built with PHP 5.4, marking this bug as pending as the next binNMU should
fixed it. No further source changes are needed.
Kaplan
[Message part 2 (text/html, inline)]
Added tag(s) pending.
Request was from Lior Kaplan <kaplanlior@gmail.com>
to control@bugs.debian.org.
(Wed, 25 Jan 2012 18:09:10 GMT) (full text, mbox, link).
Reply sent
to Jonathan Wiltshire <jmw@debian.org>:
You have taken responsibility.
(Sun, 29 Jan 2012 19:12:06 GMT) (full text, mbox, link).
Notification sent
to Raphael Geissert <geissert@debian.org>:
Bug acknowledged by developer.
(Sun, 29 Jan 2012 19:12:06 GMT) (full text, mbox, link).
Message #34 received at 656478-done@bugs.debian.org (full text, mbox, reply):
----- Forwarded message from Torsten Landschoff <t.landschoff@gmx.net> -----
Date: Tue, 24 Jan 2012 20:29:31 +0100
From: Torsten Landschoff <t.landschoff@gmx.net>
I just checked that my upload of swig 2.0.4-5 fixes bug #656478.
Building with 2.0.4-4 reproduces the error mentioned in this bug.
Updating swig to 2.0.4-5 made the error go away and wikidiff2 builds
fine again.
----- End forwarded message -----
Bug Marked as fixed in versions wikidiff2/0.0.1+svn55737-1.1.
Request was from Jonathan Wiltshire <jmw@debian.org>
to control@bugs.debian.org.
(Sun, 29 Jan 2012 19:48:02 GMT) (full text, mbox, link).
No longer marked as fixed in versions wikidiff2/0.0.1+svn55737-1.1.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sat, 02 Nov 2013 15:58:59 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 01 Dec 2013 07:42:11 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Oct 11 23:41:35 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.