Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706822 - app-misc/fdutils-5.5.20060227-r1 : fails to build with -fno-common or gcc-10
Summary: app-misc/fdutils-5.5.20060227-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: Robin Johnson
URL: https://sources.debian.org/patches/fd...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:16 UTC by Toralf Förster
Modified: 2021-01-01 10:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.87 KB, text/plain)
2020-01-28 18:16 UTC, Toralf Förster
Details
app-misc:fdutils-5.5.20060227-r1:20200127-220122.log (app-misc:fdutils-5.5.20060227-r1:20200127-220122.log,12.32 KB, text/plain)
2020-01-28 18:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.72 KB, text/plain)
2020-01-28 18:16 UTC, Toralf Förster
Details
environment (environment,73.67 KB, text/plain)
2020-01-28 18:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.15 KB, application/x-bzip)
2020-01-28 18:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.46 KB, application/x-bzip)
2020-01-28 18:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.31 KB, application/x-bzip)
2020-01-28 18:16 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-28 18:16:01 UTC
superformat.c:124:6: warning: variable ‘retries’ set but not used [-Wunused-but-set-variable]
  124 |  int retries;
      |      ^~~~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o superformat superformat.o -L. -lfdutils 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libfdutils.a(calc-format.o):(.bss+0x4): multiple definition of `header_size'; superformat.o:(.data+0x190): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libfdutils.a(calc-format.o):(.bss+0x0): multiple definition of `index_size'; superformat.o:(.data+0x18c): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

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

emerge -qpvO app-misc/fdutils
[ebuild  N    ] app-misc/fdutils-5.5.20060227-r1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:16:03 UTC
Created attachment 605938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:16:06 UTC
Created attachment 605940 [details]
app-misc:fdutils-5.5.20060227-r1:20200127-220122.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:16:09 UTC
Created attachment 605942 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:16:12 UTC
Created attachment 605944 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:16:14 UTC
Created attachment 605946 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:16:17 UTC
Created attachment 605948 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:16:21 UTC
Created attachment 605950 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2021-01-01 10:28:52 UTC
The bug has been closed via the following commit(s):

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

commit e47ebc6c160cad1de9f7484eabb0bd750d00d0e1
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-01 10:28:10 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-01 10:28:38 +0000

    app-misc/fdutils: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/706822
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 app-misc/fdutils/fdutils-5.5.20060227-r1.ebuild      |  4 +++-
 app-misc/fdutils/fdutils-5.5.20060227.ebuild         |  4 +++-
 .../fdutils/files/fdutils-5.5.20060227-gcc10.patch   | 20 ++++++++++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)