Package: src:fl-cow
Version: 0.6-7
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/fl-cow_0.6-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-14/porting_to.html

[...]
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing dlopen... none required
checking for egrep... (cached) /usr/bin/grep -E
checking for inline... inline
checking for working volatile... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for dladdr... yes
checking for open64... yes
checking for memset... yes
checking for memcpy... yes
checking for getcwd... yes
checking for strlen... yes
checking for strncmp... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fl-cow/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in .
make[3]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I.      -MT symcfg.o -MD -MP -MF .deps/symcfg.Tpo -c -o 
symcfg.o symcfg.c
symcfg.c: In function ‘asym_add’:
symcfg.c:46:41: error: implicit declaration of function ‘malloc’ 
[-Wimplicit-function-declaration]
   46 |         if ((asn = (struct asym_name *) malloc(sizeof(struct 
asym_name))) == NULL)
      |                                         ^~~~~~
symcfg.c:31:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
   30 | #include <dlfcn.h>
  +++ |+#include <stdlib.h>
   31 | 
symcfg.c:46:41: warning: incompatible implicit declaration of built-in function 
‘malloc’ [-Wbuiltin-declaration-mismatch]
   46 |         if ((asn = (struct asym_name *) malloc(sizeof(struct 
asym_name))) == NULL)
      |                                         ^~~~~~
symcfg.c:46:41: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
make[3]: *** [Makefile:441: symcfg.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:477: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:360: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Reply via email to