Bug#978907: timbl: ftbfs with autoconf 2.70

Matthias Klose doko at debian.org
Thu Dec 31 14:29:08 GMT 2020


Package: src:timbl
Version: 6.5-3
Severity: normal
Tags: sid bookworm
User: doko at debian.org
Usertags: ftbfs-ac270

[This bug report is not targeted to the upcoming bullseye release]

The package fails to build in a test rebuild on at least amd64 with
autoconf 2.70, but succeeds to build with autoconf 2.69. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://qa-logs.debian.net/2020/09/26.ac270/timbl_6.5-3_unstable_ac270.log
The last lines of the build log are at the end of this report.

To build with autoconf 2.70, please install the autoconf package from
experimental:  apt-get -t=experimental install autoconf 

[...]
checking how to hardcode library paths into programs... immediate
checking for g++ option to support OpenMP... -fopenmp
checking for sys/time.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for inline... inline
checking for size_t... yes
checking for GNU libc compatible malloc... no
checking for floor... yes
checking for gettimeofday... yes
checking for pow... yes
checking for rint... yes
checking for sqrt... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxml-2.0 >= 2.6.16 ... yes
checking for ticcutils >= 0.24 ... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating timbl.pc
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating include/Makefile
config.status: creating include/timbl/Makefile
config.status: creating demos/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
   dh_auto_build
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c -o Timbl.o Timbl.cxx
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c -o Common.lo Common.cxx
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c -o GetOptClass.lo GetOptClass.cxx
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c -o IBtree.lo IBtree.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c IBtree.cxx  -fPIC -DPIC -o .libs/IBtree.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c GetOptClass.cxx  -fPIC -DPIC -o .libs/GetOptClass.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c Common.cxx  -fPIC -DPIC -o .libs/Common.o
Common.cxx:48:43: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
   48 |     return Version() + ", compiled on " + __DATE__ + ", " +  __TIME__;
      |                                           ^~~~~~~~
Common.cxx:48:62: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
   48 |     return Version() + ", compiled on " + __DATE__ + ", " +  __TIME__;
      |                                                              ^~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c Common.cxx -o Common.o >/dev/null 2>&1
In file included from Timbl.cxx:40:
../config.h:102:16: error: ‘rpl_malloc’ has not been declared in ‘std’
  102 | #define malloc rpl_malloc
      |                ^~~~~~~~~~
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c -o IBprocs.lo IBprocs.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c IBprocs.cxx  -fPIC -DPIC -o .libs/IBprocs.o
make[3]: *** [Makefile:739: Timbl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c IBtree.cxx -o IBtree.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c IBprocs.cxx -o IBprocs.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -W -Wall -O3 -g -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -I/usr/include/libxml2 -fopenmp -c GetOptClass.cxx -o GetOptClass.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:464: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:373: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list