Package: src:forked-daapd Version: 26.4+dfsg1-1 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/forked-daapd_26.4+dfsg1-1_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 [...] /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 17 and 26 bytes into a destination of size 21 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o library/filescanner_itunes.o library/filescanner_itunes.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o inputs/file_http.o inputs/file_http.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o inputs/pipe.o inputs/pipe.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/raop.o outputs/raop.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/raop_verification.o outputs/raop_verification.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/streaming.o outputs/streaming.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/dummy.o outputs/dummy.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/fifo.o outputs/fifo.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/alsa.o outputs/alsa.c In file included from outputs/alsa.c:33: /usr/include/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. [-Wcpp] 1 | #warning This header is deprecated, use <alsa/asoundlib.h> instead. | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/pulse.o outputs/pulse.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/cast.o outputs/cast.c outputs/cast.c: In function ‘cast_session_make’: outputs/cast.c:1414:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1414 | gnutls_transport_set_ptr(cs->tls_session, (gnutls_transport_ptr_t)cs->server_fd); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o outputs/cast_channel.pb-c.o outputs/cast_channel.pb-c.c gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/json-c -D_THREAD_SAFE -D_REENTRANT -I/usr/include/p11-kit-1 -D_REENTRANT -pthread -I/usr/include/x86_64-linux-gnu -D_GNU_SOURCE -DDATADIR=\"/usr/share/forked-daapd\" -DCONFDIR=\"/etc\" -DSTATEDIR=\"/var\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/forked-daapd\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o evrtsp/rtsp.o evrtsp/rtsp.c outputs/cast.c: In function ‘stream_url_make.constprop’: outputs/cast.c:502:33: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 120 [-Wformat-truncation=] 502 | snprintf(out, len, "http://[%s]:%d/stream.mp3", host_addr, port); | ^~ ~~~~~~~~~ outputs/cast.c:502:24: note: directive argument in the range [0, 65535] 502 | snprintf(out, len, "http://[%s]:%d/stream.mp3", host_addr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from outputs/cast.c:26: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 23 and 154 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ outputs/cast.c:500:32: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 121 [-Wformat-truncation=] 500 | snprintf(out, len, "http://%s:%d/stream.mp3", host_addr, port); | ^~ ~~~~~~~~~ outputs/cast.c:500:24: note: directive argument in the range [0, 65535] 500 | snprintf(out, len, "http://%s:%d/stream.mp3", host_addr, port); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from outputs/cast.c:26: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 21 and 152 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o forked-daapd main.o db.o db_init.o db_upgrade.o logger.o conffile.o cache.o library/filescanner.o library/filescanner_ffmpeg.o library/filescanner_playlist.o library/filescanner_smartpl.o library/filescanner_itunes.o library.o mdns_avahi.o remote_pairing.o avio_evbuffer.o httpd.o httpd_rsp.o httpd_daap.o httpd_dacp.o httpd_jsonapi.o httpd_streaming.o httpd_oauth.o http.o dmap_common.o transcode.o artwork.o misc.o misc_json.o rng.o rsp_query.o daap_query.o smartpl_query.o player.o worker.o input.o inputs/file_http.o inputs/pipe.o outputs.o outputs/raop.o outputs/raop_verification.o outputs/streaming.o outputs/dummy.o outputs/fifo.o outputs/alsa.o outputs/pulse.o outputs/cast.o outputs/cast_channel.pb-c.o evrtsp/rtsp.o lastfm.o mpd.o listener.o commands.o websocket.o RSPLexer.o RSPParser.o RSP2SQL.o DAAPLe xer.o DAAPParser.o DAAP2SQL.o SMARTPLLexer.o SMARTPLParser.o SMARTPL2SQL.o -lavformat -lavcodec -lswscale -lavutil -lavfilter -lgpg-error -lgcrypt -lantlr3c -ljson-c -levent -lmxml -lpthread -lconfuse -lz -lgnutls -lprotobuf-c -lavahi-common -lavahi-client -levent_pthreads -levent -lplist -lsodium -lwebsockets -lcurl -lpulse -lasound -lsqlite3 -lunistring -lpthread -lrt libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o forked-daapd main.o db.o db_init.o db_upgrade.o logger.o conffile.o cache.o library/filescanner.o library/filescanner_ffmpeg.o library/filescanner_playlist.o library/filescanner_smartpl.o library/filescanner_itunes.o library.o mdns_avahi.o remote_pairing.o avio_evbuffer.o httpd.o httpd_rsp.o httpd_daap.o httpd_dacp.o httpd_jsonapi.o httpd_streaming.o httpd_oauth.o http.o dmap_common.o transcode.o artwork.o misc.o misc_json.o rng.o rsp_query.o daap_query.o smartpl_query.o player.o worker.o input.o inputs/file_http.o inputs/pipe.o outputs.o outputs/raop.o outputs/raop_verification.o outputs/streaming.o outputs/dummy.o outputs/fifo.o outputs/alsa.o outputs/pulse.o outputs/cast.o outputs/cast_channel.pb-c.o evrtsp/rtsp.o lastfm.o mpd.o listener.o commands.o websocket.o RSPLexer.o RSPParser.o RSP2SQL.o DAAPLexer.o DAAPParser.o DAAP2SQ L.o SMARTPLLexer.o SMARTPLParser.o SMARTPL2SQL.o -lavformat -lavcodec -lswscale -lavutil -lavfilter /usr/lib/x86_64-linux-gnu/libgpg-error.so -lgcrypt -lantlr3c -ljson-c -lmxml -lconfuse -lz -lgnutls -lprotobuf-c -lavahi-common -lavahi-client -levent_pthreads -levent -lplist -lsodium -lwebsockets /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -lpulse -lasound /usr/lib/x86_64-linux-gnu/libsqlite3.so -lunistring -lpthread -lrt -pthread /usr/bin/ld: input.o:./src/input.h:140: multiple definition of `input_loop_break'; player.o:./src/input.h:140: first defined here /usr/bin/ld: inputs/file_http.o:./src/./input.h:140: multiple definition of `input_loop_break'; player.o:./src/input.h:140: first defined here /usr/bin/ld: inputs/pipe.o:./src/./input.h:140: multiple definition of `input_loop_break'; player.o:./src/input.h:140: first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:749: forked-daapd] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src' make[3]: *** [Makefile:602: all] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:625: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:467: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:16: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

