[Debian-med-packaging] Bug#746871: libgtextutils: ftbfs with GCC-4.9
Matthias Klose
doko at debian.org
Sun May 4 00:21:56 UTC 2014
Package: src:libgtextutils
Version: 0.7-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9
The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.
The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/libgtextutils_0.7-1_unstable_gcc49.log
The last lines of the build log are at the end of this report.
To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++
Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols
files. For other C/C++ related build failures see the porting guide
at http://gcc.gnu.org/gcc-4.9/porting_to.html
[...]
find debian/libgtextutils0 -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/libgtextutils0 ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/libgtextutils0/usr/share/doc -type f ! -regex 'debian/libgtextutils0/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/libgtextutils0/usr/share/man debian/libgtextutils0/usr/man/ debian/libgtextutils0/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0 -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0 -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/libgtextutils0/usr/lib/perl5 debian/libgtextutils0/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/libgtextutils0/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
dh_strip -a
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libgtextutils0/usr/lib/x86_64-linux-gnu/libgtextutils-0.7.so.0.0.0
dh_makeshlibs -a
rm -f debian/libgtextutils-dev/DEBIAN/shlibs
rm -f debian/libgtextutils0/DEBIAN/shlibs
install -d debian/libgtextutils0/DEBIAN
echo 'libgtextutils-0.7 0 libgtextutils0' >>debian/libgtextutils0/DEBIAN/shlibs
echo "# Automatically added by dh_makeshlibs">> debian/libgtextutils0.postinst.debhelper
sed "" /usr/share/debhelper/autoscripts/postinst-makeshlibs >> debian/libgtextutils0.postinst.debhelper
echo '# End automatically added section' >> debian/libgtextutils0.postinst.debhelper
echo "# Automatically added by dh_makeshlibs">> debian/libgtextutils0.postrm.debhelper
sed "" /usr/share/debhelper/autoscripts/postrm-makeshlibs >> debian/libgtextutils0.postrm.debhelper
echo '# End automatically added section' >> debian/libgtextutils0.postrm.debhelper
chmod 644 debian/libgtextutils0/DEBIAN/shlibs
chown 0:0 debian/libgtextutils0/DEBIAN/shlibs
dpkg-gensymbols -plibgtextutils0 -Idebian/libgtextutils0.symbols -Pdebian/libgtextutils0 "-edebian/libgtextutils0/usr/lib/x86_64-linux-gnu/libgtextutils-0.7.so.0.0.0\
"
dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libgtextutils0/DEBIAN/symbols doesn't match completely debian/libgtextutils0.symbols
--- debian/libgtextutils0.symbols (libgtextutils0_0.7-1_amd64)
+++ dpkg-gensymbolsvBIjzH 2014-04-18 12:50:15.855354558 +0000
@@ -6,9 +6,9 @@
_ZN18InputStreamWrapperC2ERKSs at Base 0.7
_ZN19OutputStreamWrapperC1ERKSsb at Base 0.7
_ZN19OutputStreamWrapperC2ERKSsb at Base 0.7
- _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev at Base 0.7
- _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev at Base 0.7
- _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev at Base 0.7
+#MISSING: 0.7-1# _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev at Base 0.7
+#MISSING: 0.7-1# _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev at Base 0.7
+#MISSING: 0.7-1# _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev at Base 0.7
pipe_close at Base 0.7
pipe_input_command at Base 0.7
pipe_output_command at Base 0.7
(grep -s -v misc:Pre-Depends debian/libgtextutils0.substvars; echo misc:Pre-Depends=multiarch-support) > debian/libgtextutils0.substvars.new
mv debian/libgtextutils0.substvars.new debian/libgtextutils0.substvars
dh_makeshlibs: failing due to earlier errors
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2
More information about the Debian-med-packaging
mailing list