[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778023: netcfg: ftbfs with GCC-5



Package: src:netcfg
Version: 1.127
Severity: normal
Tags: sid stretch
User: debian-gcc@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/netcfg_1.127_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

[...]
HOME=/sbuild-nonexistent
LOGNAME=user
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable-amd64-sbuild
SCHROOT_CHROOT_NAME=unstable-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user
SCHROOT_SESSION_ID=unstable-amd64-sbuild-acbc97e1-6b09-4b77-a828-408aa411ee3f
SCHROOT_UID=1001
SCHROOT_USER=user
SHELL=/bin/sh
USER=user

dpkg-buildpackage
â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??â??

dpkg-buildpackage: source package netcfg
dpkg-buildpackage: source version 1.127
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Cyril Brulebois <kibi@debian.org>
 dpkg-source --before-build netcfg-1.127
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
make[1]: Entering directory '/«PKGBUILDDIR»'
rm -f netcfg-static netcfg ethtool-lite *.o test/*.o test/run
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_auto_configure -a
   dh_auto_build -a
make[1]: Entering directory '/«PKGBUILDDIR»'
cc -c -W -Wall -Werror -DNDEBUG -DNETCFG_VERSION="\"1.127\"" -DNETCFG_BUILD_DATE="\"20150207-1035\"" -I. -DWIRELESS -DNM -Os -fomit-frame-pointer   -o netcfg-common.o netcfg-common.c
netcfg-common.c: In function 'netcfg_detect_link':
netcfg-common.c:1520:5: error: 'link_waits' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     for (count = 0; count < link_waits; count++) {
     ^
cc1: all warnings being treated as errors
make[1]: *** [netcfg-common.o] Error 1
Makefile:61: recipe for target 'netcfg-common.o' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:7: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: