Package: src:nfs-utils Version: 1:1.3.4-2.5 Severity: normal Tags: sid bullseye User: debian-...@lists.debian.org 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/nfs-utils_1.3.4-2.5_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 [...] 51 | dtable_ent(mount_dump,1,void,mountlist), /* DUMP */ | ^~~~~~~~~~ ../../support/include/rpcmisc.h:41:3: warning: cast between incompatible function types from ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} to ‘bool_t (*)(XDR *, ...)’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} [-Wcast-function-type] 41 | (xdrproc_t)xdr_##res_type, sizeof(res_type), \ | ^ mount_dispatch.c:52:2: note: in expansion of macro ‘dtable_ent’ 52 | dtable_ent(mount_umnt,1,dirpath,void), /* UMNT */ | ^~~~~~~~~~ ../../support/include/rpcmisc.h:40:3: warning: cast between incompatible function types from ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} to ‘bool_t (*)(XDR *, ...)’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} [-Wcast-function-type] 40 | (xdrproc_t)xdr_##arg_type, sizeof(arg_type), \ | ^ mount_dispatch.c:53:2: note: in expansion of macro ‘dtable_ent’ 53 | dtable_ent(mount_umntall,1,void,void), /* UMNTALL */ | ^~~~~~~~~~ ../../support/include/rpcmisc.h:41:3: warning: cast between incompatible function types from ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} to ‘bool_t (*)(XDR *, ...)’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} [-Wcast-function-type] 41 | (xdrproc_t)xdr_##res_type, sizeof(res_type), \ | ^ mount_dispatch.c:53:2: note: in expansion of macro ‘dtable_ent’ 53 | dtable_ent(mount_umntall,1,void,void), /* UMNTALL */ | ^~~~~~~~~~ ../../support/include/rpcmisc.h:40:3: warning: cast between incompatible function types from ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} to ‘bool_t (*)(XDR *, ...)’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} [-Wcast-function-type] 40 | (xdrproc_t)xdr_##arg_type, sizeof(arg_type), \ | ^ mount_dispatch.c:54:2: note: in expansion of macro ‘dtable_ent’ 54 | dtable_ent(mount_export,1,void,exports), /* EXPORT */ | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I../../support/include -I../../support/export -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -c -o mountd-cache.o `test -f 'cache.c' || echo './'`cache.c gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I../../support/include -I../../support/export -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -c -o mountd-svc_run.o `test -f 'svc_run.c' || echo './'`svc_run.c gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I../../support/include -I../../support/export -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -c -o mountd-fsloc.o `test -f 'fsloc.c' || echo './'`fsloc.c gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I../../support/include -I../../support/export -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -c -o mountd-v4root.o `test -f 'v4root.c' || echo './'`v4root.c In file included from /usr/include/string.h:495, from ../../support/include/exportfs.h:13, from v4root.c:25: In function ‘strncpy’, inlined from ‘v4root_create’ at v4root.c:95:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/x86_64-linux-gnu/sys/un.h:37, from /usr/include/tirpc/rpc/clnt.h:46, from /usr/include/tirpc/rpc/rpc.h:49, from ../../support/include/rpcsvc/nfs_prot.h:9, from ../../support/include/nfslib.h:22, from cache.c:29: In function ‘strncpy’, inlined from ‘same_path’ at cache.c:419:2, inlined from ‘path_matches’ at cache.c:491:9, inlined from ‘export_matches’ at cache.c:499:9, inlined from ‘lookup_export’ at cache.c:937:9, inlined from ‘nfsd_export’ at cache.c:1334:10: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c: In function ‘nfsd_export’: cache.c:418:9: note: length computed here 418 | len = strlen(child); | ^~~~~~~~~~~~~ /bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -Wl,-z,relro -o mountd mountd-mountd.o mountd-mount_dispatch.o mountd-auth.o mountd-rmtab.o mountd-cache.o mountd-svc_run.o mountd-fsloc.o mountd-v4root.o ../../support/export/libexport.a ../../support/nfs/libnfs.a ../../support/misc/libmisc.a -lwrap -lblkid -ldl -ltirpc libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -g -Wall -DPIPEFS_DIR=\"/run/rpc_pipefs\" -DGSSD_PIPEFS_DIR=\"/run/rpc_pipefs\" -O2 -Wl,-z -Wl,relro -o mountd mountd-mountd.o mountd-mount_dispatch.o mountd-auth.o mountd-rmtab.o mountd-cache.o mountd-svc_run.o mountd-fsloc.o mountd-v4root.o ../../support/export/libexport.a ../../support/nfs/libnfs.a ../../support/misc/libmisc.a -lwrap -lblkid -ldl -ltirpc /usr/bin/ld: ../../support/export/libexport.a(xtab.o):(.bss+0x0): multiple definition of `v4root_needed'; mountd-v4root.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[3]: *** [Makefile:526: mountd] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/utils/mountd' make[2]: *** [Makefile:451: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/utils' make[1]: *** [Makefile:475: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:28: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2