--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package wxwidgets3.0
The package was recently binNMUed, apparently to enabled PIE (which gcc
now defaults to). However gcc now also defaults to C++11, which results
in wx's headers in the binNMU not being usable for applications
compiling as C++98. This broke qutemol (which forces building as C++98
to work around C++11 incompatibilities) and may well break other rdeps -
without a mass rebuild to check we can't know.
The debian bug (severity serious) is:
https://bugs.debian.org/856350
Adrian Bunk proposed explicitly forcing C++98 mode when building
wxwidgets3.0, which seems a prudent choice for stretch - it essentially
returns us to the pre-binNMU situation.
Here is the complete debdiff against the version in testing:
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/changelog wxwidgets3.0-3.0.2+dfsg/debian/changelog
--- wxwidgets3.0-3.0.2+dfsg/debian/changelog 2016-07-29 11:58:02.000000000 +1200
+++ wxwidgets3.0-3.0.2+dfsg/debian/changelog 2017-03-01 14:15:40.000000000 +1300
@@ -1,3 +1,11 @@
+wxwidgets3.0 (3.0.2+dfsg-3) unstable; urgency=medium
+
+ * Force building as C++98 for now to fix FTBFS of qutemol and perhaps
+ other rdeps since recent binNMU with a GCC version which defaults
+ to C++11. Patch from Adrian Bunk. (Closes: #856350)
+
+ -- Olly Betts <olly@survex.com> Wed, 01 Mar 2017 14:15:40 +1300
+
wxwidgets3.0 (3.0.2+dfsg-2) unstable; urgency=medium
* ACK NMUs.
diff -Nru wxwidgets3.0-3.0.2+dfsg/debian/rules wxwidgets3.0-3.0.2+dfsg/debian/rules
--- wxwidgets3.0-3.0.2+dfsg/debian/rules 2016-07-29 11:42:43.000000000 +1200
+++ wxwidgets3.0-3.0.2+dfsg/debian/rules 2017-03-01 14:14:51.000000000 +1300
@@ -69,7 +69,7 @@
--with-flavour=$(DEBIAN_WXFLAVOUR) \
--with-zlib=sys \
--with-expat=sys \
- $(shell DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed dpkg-buildflags --export=configure)
+ $(shell DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed DEB_CXXFLAGS_MAINT_APPEND=-std=gnu++98 dpkg-buildflags --export=configure)
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
COMMON_CONFIGURE_OPTIONS += --disable-optimise
unblock wxwidgets3.0/3.0.2+dfsg-3
Cheers,
Olly
--- End Message ---
--- Begin Message ---
Olly Betts:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
>
> Please unblock package wxwidgets3.0
>
> The package was recently binNMUed, apparently to enabled PIE (which gcc
> now defaults to). However gcc now also defaults to C++11, which results
> in wx's headers in the binNMU not being usable for applications
> compiling as C++98. This broke qutemol (which forces building as C++98
> to work around C++11 incompatibilities) and may well break other rdeps -
> without a mass rebuild to check we can't know.
>
> The debian bug (severity serious) is:
>
> https://bugs.debian.org/856350
>
> Adrian Bunk proposed explicitly forcing C++98 mode when building
> wxwidgets3.0, which seems a prudent choice for stretch - it essentially
> returns us to the pre-binNMU situation.
>
> Here is the complete debdiff against the version in testing:
>
> [...]
>
>
> unblock wxwidgets3.0/3.0.2+dfsg-3
>
> Cheers,
> Olly
>
Unblocked, thanks.
~Niels
--- End Message ---