Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707624 - net-fs/nfs-utils-2.4.2-r1 : fails to build with -fno-common or gcc-10
Summary: net-fs/nfs-utils-2.4.2-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 726940 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 17:40 UTC by Toralf Förster
Modified: 2021-01-05 20:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,292.85 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
environment (environment,111.35 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.68 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.16 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
net-fs:nfs-utils-2.4.2-r1:20200131-054113.log (net-fs:nfs-utils-2.4.2-r1:20200131-054113.log,80.67 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.98 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-31 17:40:29 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -D_GNU_SOURCE -I../../support/include -I../../support/export -D_GNU_SOURCE -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common -c -o mountd-fsloc.o `test -f 'fsloc.c' || echo './'`fsloc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -D_GNU_SOURCE -I../../support/include -I../../support/export -D_GNU_SOURCE -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common -c -o mountd-v4root.o `test -f 'v4root.c' || echo './'`v4root.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -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.la ../../support/misc/libmisc.a   -lwrap  -lblkid -ltirpc  -lpthread -lresolv 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Werror=strict-prototypes -Wno-cast-function-type -fno-strict-aliasing -O2 -pipe -march=native -fno-common -Wl,-O1 -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  -Wl,--as-needed ../../support/export/libexport.a ../../support/nfs/.libs/libnfs.a ../../support/misc/libmisc.a -lwrap -lblkid -ltirpc -lpthread -lresolv
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/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

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 04:06:20 +0000

emerge -qpvO net-fs/nfs-utils
[ebuild  N    ] net-fs/nfs-utils-2.4.2-r1  USE="ipv6 ldap libmount nfsidmap nfsv4 tcpd uuid -caps -junction -kerberos -nfsdcld -nfsv41 (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:40:32 UTC
Created attachment 609746 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:40:35 UTC
Created attachment 609748 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:40:37 UTC
Created attachment 609750 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:40:40 UTC
Created attachment 609752 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:40:43 UTC
Created attachment 609754 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:40:46 UTC
Created attachment 609756 [details]
net-fs:nfs-utils-2.4.2-r1:20200131-054113.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:40:48 UTC
Created attachment 609758 [details]
temp.tbz2
Comment 8 Paul Jones 2020-05-10 09:11:45 UTC
Upstream patch https://www.spinics.net/lists/linux-nfs/msg76352.html
Comment 9 charles17 2020-05-12 07:39:42 UTC
net-fs/nfs-utils-2.4.3 works with gcc-10.1.0
Comment 10 Ben Kohler gentoo-dev 2020-06-03 14:19:44 UTC
*** Bug 726940 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-04 17:33:22 UTC
(In reply to charles17 from comment #9)
> net-fs/nfs-utils-2.4.3 works with gcc-10.1.0

Great, thank you!
Comment 12 Larry the Git Cow gentoo-dev 2021-01-05 20:06:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c5151236ba705c74ea0747852d63fc21961400

commit 76c5151236ba705c74ea0747852d63fc21961400
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 19:45:31 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 20:06:18 +0000

    net-fs/nfs-utils: Remove old
    
    Bug: https://bugs.gentoo.org/707624
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 net-fs/nfs-utils/Manifest                          |   2 -
 .../nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch |  39 ----
 .../files/nfs-utils-1.2.8-cross-build.patch        |  67 -------
 .../files/nfs-utils-2.3.4-no-werror.patch          |  67 -------
 ...include-order-between-config.h-and-stat.h.patch | 151 ---------------
 ....1-gssd-Look-in-lib32-for-gss-libs-aswell.patch |  39 ----
 net-fs/nfs-utils/files/nfs-utils-2.4.1-statx.patch |  31 ---
 ...2-mountd-Add-check-for-struct-file_handle.patch |  54 ------
 ...-mountd-Fix-compilation-for--disable-uuid.patch |  35 ----
 net-fs/nfs-utils/nfs-utils-2.4.1-r4.ebuild         | 211 ---------------------
 net-fs/nfs-utils/nfs-utils-2.4.3.ebuild            | 204 --------------------
 11 files changed, 900 deletions(-)