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

Bug#778009: mknbi: ftbfs with GCC-5



Package: src:mknbi
Version: 1.4.4-10
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/mknbi_1.4.4-10_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

[...]
                           ^
In file included from string.h:2:0,
                 from first32.c:2:
linux-asm-string.h:274:22: note: expected 'const char *' but argument is of type 'unsigned char *'
 static inline size_t strlen(const char * s)
                      ^
first32.c:552:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
      && i < PARAMSIZE - 2 - strlen(params)) {
                                    ^
In file included from string.h:2:0,
                 from first32.c:2:
linux-asm-string.h:274:22: note: expected 'const char *' but argument is of type 'unsigned char *'
 static inline size_t strlen(const char * s)
                      ^
gcc -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -fno-stack-protector -m32 -mcpu=i386 -Wall -W -Wno-format -Wno-unused -DVERSION=\"1.4.4\" -c memsizes.c
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -fno-stack-protector -m32 -mcpu=i386 -Wall -W -Wno-format -Wno-unused -DVERSION=\"1.4.4\" -c printf.c
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer -fno-stack-protector -m32 -mcpu=i386 -Wall -W -Wno-format -Wno-unused -DVERSION=\"1.4.4\" -c string.c
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc -E -DRELOC=0x92800  start32.S | as --32 -o start32@0x92800.o
ld -N -Ttext 0x92800 -e _start --oformat binary -m elf_i386 -o first32@0x92800.linux start32@0x92800.o first32.o memsizes.o printf.o string.o
string.o: In function `__memcpy':
string.c:(.text+0x0): multiple definition of `__memcpy'
first32.o:first32.c:(.text+0x186): first defined here
string.o: In function `__constant_memcpy':
string.c:(.text+0x31): multiple definition of `__constant_memcpy'
first32.o:first32.c:(.text+0x1b7): first defined here
string.o: In function `memmove':
string.c:(.text+0x11b): multiple definition of `memmove'
first32.o:first32.c:(.text+0x2cc): first defined here
string.o: In function `__memset_generic':
string.c:(.text+0x142): multiple definition of `__memset_generic'
first32.o:first32.c:(.text+0x2f3): first defined here
string.o: In function `__constant_c_memset':
string.c:(.text+0x158): multiple definition of `__constant_c_memset'
first32.o:first32.c:(.text+0x309): first defined here
string.o: In function `__constant_c_and_count_memset':
string.c:(.text+0x189): multiple definition of `__constant_c_and_count_memset'
first32.o:first32.c:(.text+0x33a): first defined here
make[2]: *** [first32@0x92800.linux] Error 1
Makefile:93: recipe for target 'first32@0x92800.linux' failed
rm start32@0x92800.o
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:6: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: