--- Begin Message ---
Package: src:ntp
Version: 1:4.2.8p13+dfsg-2
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/ntp_4.2.8p13+dfsg-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...]
../unity/unity_internals.h:480:1: warning: ‘_Noreturn’ attribute directive
ignored [-Wattributes]
480 | void UnityFail(const char* message, const UNITY_LINE_TYPE line)
UNITY_NORETURN_ATTRIBUTE;
| ^~~~
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o packetProcessing.o
packetProcessing.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o run-packetProcessing.o
run-packetProcessing.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o sntptest.o sntptest.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o utilities.o utilities.c
In file included from ../unity/unity.h:11,
from packetProcessing.c:6:
../unity/unity_internals.h:480:1: warning: ‘_Noreturn’ attribute directive
ignored [-Wattributes]
480 | void UnityFail(const char* message, const UNITY_LINE_TYPE line)
UNITY_NORETURN_ATTRIBUTE;
| ^~~~
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o run-utilities.o
run-utilities.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o kodDatabase.o kodDatabase.c
In file included from ../unity/unity.h:11,
from utilities.c:8:
../unity/unity_internals.h:480:1: warning: ‘_Noreturn’ attribute directive
ignored [-Wattributes]
480 | void UnityFail(const char* message, const UNITY_LINE_TYPE line)
UNITY_NORETURN_ATTRIBUTE;
| ^~~~
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o run-kodDatabase.o
run-kodDatabase.c
In file included from ../unity/unity.h:11,
from kodDatabase.c:11:
../unity/unity_internals.h:480:1: warning: ‘_Noreturn’ attribute directive
ignored [-Wattributes]
480 | void UnityFail(const char* message, const UNITY_LINE_TYPE line)
UNITY_NORETURN_ATTRIBUTE;
| ^~~~
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o kodFile.o kodFile.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../../include
-I../../lib/isc/include -I../../lib/isc/pthreads/include
-I../../lib/isc/unix/include -I./.. -I../../tests -DUNITY_INCLUDE_CONFIG_H
-I../unity -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -c -o run-kodFile.o run-kodFile.c
make[8]: Nothing to be done for 'tests-runner'.
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc -pthread
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-crypto test_crypto-crypto.o
test_crypto-run-crypto.o test_crypto-version.o ../libsntp.a -lopts -pthread
-levent_pthreads -levent_core ../../libntp/libntp.a -Wl,--gc-sections -lcap
-lcrypto ../unity/libunity.a -lm
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-keyFile fileHandlingTest.o keyFile.o
run-keyFile.o version.o ../libsntp.a -lopts -pthread -levent_pthreads
-levent_core ../../libntp/libntp.a -Wl,--gc-sections -lcap -lcrypto
../unity/libunity.a -lm
In file included from ../unity/unity.h:11,
from kodFile.c:8:
../unity/unity_internals.h:480:1: warning: ‘_Noreturn’ attribute directive
ignored [-Wattributes]
480 | void UnityFail(const char* message, const UNITY_LINE_TYPE line)
UNITY_NORETURN_ATTRIBUTE;
| ^~~~
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-log t-log.o run-t-log.o version.o
../libsntp.a -lopts -pthread -levent_pthreads -levent_core
../../libntp/libntp.a -Wl,--gc-sections -lcap -lcrypto ../unity/libunity.a
-lm
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-networking networking.o run-networking.o
version.o ../libsntp.a -lopts -pthread -levent_pthreads -levent_core
../../libntp/libntp.a -Wl,--gc-sections -lcap -lcrypto ../unity/libunity.a
-lm
libtool: link: x86_64-linux-gnu-gcc -pthread -ffunction-sections
-fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes
-Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes
-fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z -Wl,relro -Wl,-z
-Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o test-crypto test_crypto-crypto.o
test_crypto-run-crypto.o test_crypto-version.o -pthread -Wl,--gc-sections
../libsntp.a -lopts -levent_pthreads -levent_core ../../libntp/libntp.a -lcap
-lcrypto ../unity/libunity.a -lm -pthread
libtool: link: x86_64-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -fPIE -fPIC
-fstack-protector-all -O1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o
test-keyFile fileHandlingTest.o keyFile.o run-keyFile.o version.o -pthread
-Wl,--gc-sections ../libsntp.a -lopts -levent_pthreads -levent_core
../../libntp/libntp.a -lcap -lcrypto ../unity/libunity.a -lm -pthread
libtool: link: x86_64-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -fPIE -fPIC
-fstack-protector-all -O1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o
test-log t-log.o run-t-log.o version.o -pthread -Wl,--gc-sections ../libsntp.a
-lopts -levent_pthreads -levent_core ../../libntp/libntp.a -lcap -lcrypto
../unity/libunity.a -lm -pthread
libtool: link: x86_64-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -fPIE -fPIC
-fstack-protector-all -O1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o
test-networking networking.o run-networking.o version.o -pthread
-Wl,--gc-sections ../libsntp.a -lopts -levent_pthreads -levent_core
../../libntp/libntp.a -lcap -lcrypto ../unity/libunity.a -lm -pthread
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-packetHandling packetHandling.o
run-packetHandling.o version.o ../libsntp.a -lopts -pthread -levent_pthreads
-levent_core ../../libntp/libntp.a -Wl,--gc-sections -lcap -lcrypto
../unity/libunity.a -lm
/usr/bin/ld: run-t-log.o:./sntp/tests/run-t-log.c:51: multiple definition of
`progname'; t-log.o:(.bss.progname+0x0): first defined here
/bin/bash ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wno-strict-prototypes -fPIE -fPIC -fstack-protector-all -O1 -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now
-Wl,-z,relro -Wl,--as-needed -o test-packetProcessing packetProcessing.o
run-packetProcessing.o sntptest.o ../libsntp.a -lopts -pthread
-levent_pthreads -levent_core ../../libntp/libntp.a -Wl,--gc-sections -lcap
-lcrypto ../unity/libunity.a -lm
collect2: error: ld returned 1 exit status
make[8]: *** [Makefile:951: test-log] Error 1
make[8]: *** Waiting for unfinished jobs....
libtool: link: x86_64-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -fPIE -fPIC
-fstack-protector-all -O1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o
test-packetProcessing packetProcessing.o run-packetProcessing.o sntptest.o
-pthread -Wl,--gc-sections ../libsntp.a -lopts -levent_pthreads -levent_core
../../libntp/libntp.a -lcap -lcrypto ../unity/libunity.a -lm -pthread
libtool: link: x86_64-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wno-strict-prototypes -fPIE -fPIC
-fstack-protector-all -O1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing
-pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--as-needed -o
test-packetHandling packetHandling.o run-packetHandling.o version.o -pthread
-Wl,--gc-sections ../libsntp.a -lopts -levent_pthreads -levent_core
../../libntp/libntp.a -lcap -lcrypto ../unity/libunity.a -lm -pthread
/usr/bin/ld: ../libsntp.a(log.o):(.bss.progname+0x0): multiple definition of
`progname'; run-packetHandling.o:(.bss.progname+0x0): first defined here
collect2: error: ld returned 1 exit status
make[8]: *** [Makefile:959: test-packetHandling] Error 1
make[8]: Leaving directory '/<<PKGBUILDDIR>>/sntp/tests'
make[7]: *** [Makefile:1392: check-am] Error 2
make[7]: Leaving directory '/<<PKGBUILDDIR>>/sntp/tests'
make[6]: *** [Makefile:1396: check] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/sntp/tests'
make[5]: *** [Makefile:1062: check-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/sntp'
make[4]: *** [Makefile:1354: check] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/sntp'
make[3]: *** [Makefile:667: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:962: check] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:73: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---