[Deborphan-devel] Bug#777831: deborphan: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:57 UTC 2015


Package: src:deborphan
Version: 1.7.28.8-0.1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/deborphan_1.7.28.8-0.1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
keep.o: In function `readkeep':
/«PKGBUILDDIR»/src/keep.c:85: undefined reference to `xmalloc'
/«PKGBUILDDIR»/src/keep.c:98: undefined reference to `xstrdup'
/«PKGBUILDDIR»/src/keep.c:102: undefined reference to `strstripchr'
/«PKGBUILDDIR»/src/keep.c:112: undefined reference to `strhash'
/«PKGBUILDDIR»/src/keep.c:117: undefined reference to `xrealloc'
keep.o: In function `delkeep':
/«PKGBUILDDIR»/src/keep.c:195: undefined reference to `xmalloc'
keep.o: In function `hasduplicate':
/«PKGBUILDDIR»/src/keep.c:258: undefined reference to `strhash'
keep.o: In function `mergekeep':
/«PKGBUILDDIR»/src/keep.c:280: undefined reference to `xmalloc'
/«PKGBUILDDIR»/src/keep.c:280: undefined reference to `xmalloc'
keep.o: In function `listkeep':
/«PKGBUILDDIR»/src/keep.c:301: undefined reference to `xmalloc'
keep.o: In function `parseargs':
/«PKGBUILDDIR»/src/keep.c:330: undefined reference to `xcalloc'
/«PKGBUILDDIR»/src/keep.c:344: undefined reference to `xmalloc'
/«PKGBUILDDIR»/src/keep.c:345: undefined reference to `strstripchr'
/«PKGBUILDDIR»/src/keep.c:346: undefined reference to `strstripchr'
/«PKGBUILDDIR»/src/keep.c:347: undefined reference to `strstripchr'
/«PKGBUILDDIR»/src/keep.c:352: undefined reference to `xstrdup'
/«PKGBUILDDIR»/src/keep.c:342: undefined reference to `xrealloc'
/«PKGBUILDDIR»/src/keep.c:336: undefined reference to `xrealloc'
keep.o: In function `parseargs_as_dep':
/«PKGBUILDDIR»/src/keep.c:374: undefined reference to `xmalloc'
/«PKGBUILDDIR»/src/keep.c:388: undefined reference to `strhash'
/«PKGBUILDDIR»/src/keep.c:374: undefined reference to `xmalloc'
keep.o: In function `mergekeep':
/«PKGBUILDDIR»/src/keep.c:280: undefined reference to `xmalloc'
file.o: In function `debopen':
/«PKGBUILDDIR»/src/file.c:89: undefined reference to `xmalloc'
set.o: In function `set_dep':
/«PKGBUILDDIR»/src/set.c:21: undefined reference to `xstrdup'
/«PKGBUILDDIR»/src/set.c:30: undefined reference to `strhash'
set.o: In function `set_provides':
/«PKGBUILDDIR»/src/set.c:46: undefined reference to `xrealloc'
set.o: In function `set_section':
/«PKGBUILDDIR»/src/set.c:58: undefined reference to `xmalloc'
/«PKGBUILDDIR»/src/set.c:64: undefined reference to `xstrdup'
collect2: error: ld returned 1 exit status
make[2]: *** [deborphan] Error 1
Makefile:276: recipe for target 'deborphan' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
make[1]: *** [all-recursive] Error 1
Makefile:282: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:15: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Deborphan-devel mailing list