[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957608: marked as done (nfs-utils: ftbfs with GCC-10)



Your message dated Sun, 26 Jul 2020 12:18:33 +0000
with message-id <E1jzfbt-000IHV-0m@fasolo.debian.org>
and subject line Bug#957608: fixed in nfs-utils 1:1.3.4-4
has caused the Debian Bug report #957608,
regarding nfs-utils: ftbfs with GCC-10
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
957608: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957608
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:nfs-utils
Version: 1:1.3.4-2.5
Severity: normal
Tags: sid bullseye
User: debian-gcc@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

--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.3.4-4
Done: Salvatore Bonaccorso <carnil@debian.org>

We believe that the bug you reported is fixed in the latest version of
nfs-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 957608@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated nfs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 26 Jul 2020 14:02:00 +0200
Source: nfs-utils
Architecture: source
Version: 1:1.3.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 957608
Changes:
 nfs-utils (1:1.3.4-4) unstable; urgency=medium
 .
   * Allow compilation to succeed with -fno-common (Closes: #957608)
Checksums-Sha1: 
 d89061c50bdbc1634e96593d56c71486ca72a9d3 2448 nfs-utils_1.3.4-4.dsc
 af16ed46578ca78c0399dd78b9130b2c9d268f01 51136 nfs-utils_1.3.4-4.debian.tar.xz
Checksums-Sha256: 
 7f9959f56383f244274d1109151349b72930b14a26aec0c6e2b8acc4308ccb80 2448 nfs-utils_1.3.4-4.dsc
 2f572d48fd8a3165743aeac4b23beffd3dbe863aaa460925b95ff1af47e1c6fe 51136 nfs-utils_1.3.4-4.debian.tar.xz
Files: 
 09a8fc0d406dd7a7488a74dbf714209e 2448 net optional nfs-utils_1.3.4-4.dsc
 57cd11d484b23e24c83334c68df5f77e 51136 net optional nfs-utils_1.3.4-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAl8dcdVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EgH4P/31DOErIObU7MBcncdNcEmO/eXeyXKL2
/sYPWujSFJdp7QkgnfE8YESk+DjpYJBUS3lqgIOm0MU+QwR1ybKu+lFJJ7kCGZdr
Q+LvnR4amTqHWy7SzAK0BLIHy8oDy/PCnLYFDBQIdILot0misUsyljd/DBuITJa2
Rpuk0TImAxpKzQrMIRTRZ1KQwUWHwNXZW6M5gLDLYFdwezsaNQO7YCoj5AnHS5qo
QWhaQkmEUkFzooLvtqHm8P6EjuCiwxfcxkBk8CdHk93bVZqJawCm1qLwKRzXvHvf
UYYwsvVNM6lDs5fav5xp/3W2NM1Qh48q4tUAw20E//HIrHCUeU6wFUs4yFV4dide
+vtReuFT+jkHZsluzguJFqYJKfP7GYyqwViQR5U1mcCa7JGGrZWdDI0kRJhHbPj5
EFs+8E+xSA7/yZBDe2BDzhJuplpMRPEKorAepfneYxC9zdepmZj6mbtCmhthpWmZ
rMS+plQVQ4rhEEhcib6Ijai6Dvw/wIFWq+PuY8i590WreYiQzfwGM4t1aCoOqYSN
UvN1aTrYf1JKpoEb1SWvFofj6BC6F86XYuiB0vocVQ9xAm9v0x/Gxyr6UrgHNwUZ
arDiTdvXWWHZCDrFU4C+7unljpPmt38GZ/oLD3pFs4GKezaHt0liTmrG6dmFdHuQ
n203E9FT8ANn
=9XlB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: