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

Bug#778035: oidentd: ftbfs with GCC-5



Package: src:oidentd
Version: 2.0.8-6
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/oidentd_2.0.8-6_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

[...]
            ^
gcc -DHAVE_CONFIG_H -I. -I. -I..  "-Imissing" -D_FORTIFY_SOURCE=2 -funsigned-char -O0 -fvar-tracking -g3 -ggdb  -g3 -ggdb -O0 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c oidentd_cfg_scan.c
In file included from oidentd_cfg_scan.l:37:0:
./oidentd_util.h:61:12: warning: inline function 'randval' declared but never defined
 inline int randval(int i);
            ^
oidentd_cfg_scan.c:1484:12: warning: 'input' defined but not used [-Wunused-function]
 static int input()
            ^
gcc -DHAVE_CONFIG_H -I. -I. -I..  "-Imissing" -D_FORTIFY_SOURCE=2 -funsigned-char -O0 -fvar-tracking -g3 -ggdb  -g3 -ggdb -O0 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c oidentd_cfg_parse.c
In file included from oidentd_cfg_parse.y:38:0:
./oidentd_util.h:61:12: warning: inline function 'randval' declared but never defined
 inline int randval(int i);
            ^
gcc -DHAVE_CONFIG_H -I. -I. -I..  "-Imissing" -D_FORTIFY_SOURCE=2 -funsigned-char -O0 -fvar-tracking -g3 -ggdb  -g3 -ggdb -O0 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c os.c
os.c: In function 'masq':
os.c:324:13: warning: variable 'remoten' set but not used [-Wunused-but-set-variable]
   in_addr_t remoten;
             ^
os.c:320:13: warning: variable 'nport' set but not used [-Wunused-but-set-variable]
   in_port_t nport;
             ^
In file included from os.c:36:0:
os.c: At top level:
./oidentd_util.h:61:12: warning: inline function 'randval' declared but never defined
 inline int randval(int i);
            ^
gcc -funsigned-char -O0 -fvar-tracking -g3 -ggdb  -g3 -ggdb -O0 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro -o oidentd  oidentd.o oidentd_util.o oidentd_inet_util.o oidentd_user_db.o oidentd_options.o oidentd_masq.o oidentd_cfg_scan.o oidentd_cfg_parse.o os.o -Lmissing -lmissing  
oidentd_user_db.o: In function `random_ident':
/«PKGBUILDDIR»/src/oidentd_user_db.c:89: undefined reference to `randval'
oidentd_user_db.o: In function `select_reply':
/«PKGBUILDDIR»/src/oidentd_user_db.c:99: undefined reference to `randval'
oidentd_user_db.o: In function `random_ident_numeric':
/«PKGBUILDDIR»/src/oidentd_user_db.c:116: undefined reference to `randval'
collect2: error: ld returned 1 exit status
make[4]: *** [oidentd] Error 1
Makefile:259: recipe for target 'oidentd' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/src'
make[3]: *** [all-recursive] Error 1
Makefile:326: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
Makefile:229: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:167: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: