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

Bug#777796: baycomusb: ftbfs with GCC-5



Package: src:baycomusb
Version: 0.10-12.2
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/baycomusb_0.10-12.2_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

[...]
ranlib libbaycomusb.a
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2  -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../diag -I../directx/include -I../directx/include/directx6 -I../kerneldrv -I../wdmdrv    -Wall -g -O2 -Wl,-z,defs -MT baycomusb.o -MD -MP -MF .deps/baycomusb.Tpo -c -o baycomusb.o baycomusb.c
In file included from baycomusb.h:36:0,
                 from baycomusb.c:73:
../usbdrv/usbdrv.h:45:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 ^
In file included from baycomusb.c:31:0:
../config.h:237:0: note: this is the location of the previous definition
 # define _GNU_SOURCE 1
 ^
mv -f .deps/baycomusb.Tpo .deps/baycomusb.Po
x86_64-linux-gnu-gcc  -Wall -g -O2 -Wl,-z,defs   -o baycomusb baycomusb.o libbaycomusb.a ../flexdrv/libusb.a ../misc/libmisc.a -lxml2  -lm 
libbaycomusb.a(cfgunix.o): In function `gettime':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: multiple definition of `gettime'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: first defined here
libbaycomusb.a(cfgunix.o): In function `gettimems':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: multiple definition of `gettimems'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: first defined here
libbaycomusb.a(configadapt.o): In function `gettime':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: multiple definition of `gettime'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: first defined here
libbaycomusb.a(configadapt.o): In function `gettimems':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: multiple definition of `gettimems'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: first defined here
libbaycomusb.a(adapttests.o): In function `gettime':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: multiple definition of `gettime'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: first defined here
libbaycomusb.a(adapttests.o): In function `gettimems':
/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: multiple definition of `gettimems'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: first defined here
../misc/libmisc.a(lprintf.o): In function `gettime':
/«PKGBUILDDIR»/misc/sysdeps.h:138: multiple definition of `gettime'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:138: first defined here
../misc/libmisc.a(lprintf.o): In function `gettimems':
/«PKGBUILDDIR»/misc/sysdeps.h:142: multiple definition of `gettimems'
baycomusb.o:/«PKGBUILDDIR»/diag/../misc/sysdeps.h:142: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [baycomusb] Error 1
Makefile:296: recipe for target 'baycomusb' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/diag'
make[2]: *** [all-recursive] Error 1
Makefile:274: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:213: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
debian/rules:36: recipe for target 'build-stamp' failed
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: