Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706696

Summary: sys-fs/ufsutils-8.2_p3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-fs:ufsutils-8.2_p3:20200127-085615.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 17:34:30 UTC
main.c:604:2: warning: #warning "FIXME: use linux mount call" [-Wcpp]
  604 | #warning "FIXME: use linux mount call"
      |  ^~~~~~~
x86_64-pc-linux-gnu-gcc -o fsck.ufs -Wl,-O1 -Wl,--as-needed main.o -L../../lib/port -lport -L. -lfsck.ufs -L../../lib/libufs -lufs -lbsd
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libfsck.ufs.a(fsutil.o):(.bss+0x234): multiple definition of `debug'; main.o:(.bss+0x1f4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libfsck.ufs.a(fsutil.o):(.bss+0x1f0): multiple definition of `maxino'; main.o:(.bss+0x1b0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200125-183534

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

  Please see the tracker bug for details.

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


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 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 07:26:40 +0000

emerge -qpvO sys-fs/ufsutils
[ebuild  N    ] sys-fs/ufsutils-8.2_p3
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:34:33 UTC
Created attachment 605406 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:34:36 UTC
Created attachment 605408 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:34:39 UTC
Created attachment 605410 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:34:42 UTC
Created attachment 605412 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:34:45 UTC
Created attachment 605414 [details]
sys-fs:ufsutils-8.2_p3:20200127-085615.log
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:34:48 UTC
Created attachment 605416 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-07-04 20:29:40 UTC
The bug has been closed via the following commit(s):

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

commit fea1183314e45249d36cbd81d547701da06b31d5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-04 20:29:24 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-04 20:29:35 +0000

    sys-fs/ufsutils: add -fcommon workaround
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706696
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-fs/ufsutils/ufsutils-8.2_p3.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)