Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706696 - sys-fs/ufsutils-8.2_p3 : fails to build with -fno-common or gcc-10
Summary: sys-fs/ufsutils-8.2_p3 : 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 17:34 UTC by Toralf Förster
Modified: 2020-07-04 20:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.57 KB, text/plain)
2020-01-27 17:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.59 KB, text/plain)
2020-01-27 17:34 UTC, Toralf Förster
Details
environment (environment,73.52 KB, text/plain)
2020-01-27 17:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.47 KB, application/x-bzip)
2020-01-27 17:34 UTC, Toralf Förster
Details
sys-fs:ufsutils-8.2_p3:20200127-085615.log (sys-fs:ufsutils-8.2_p3:20200127-085615.log,172.32 KB, text/plain)
2020-01-27 17:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.98 KB, application/x-bzip)
2020-01-27 17:34 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-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(-)