Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706458 - net-misc/wget-1.20.3-r3 : fails to build with -fno-common or gcc-10
Summary: net-misc/wget-1.20.3-r3 : 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: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 15:12 UTC by Toralf Förster
Modified: 2020-05-02 18:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.22 KB, text/plain)
2020-01-26 15:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,3.92 KB, text/plain)
2020-01-26 15:12 UTC, Toralf Förster
Details
environment (environment,101.73 KB, text/plain)
2020-01-26 15:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.47 KB, application/x-bzip)
2020-01-26 15:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,50.46 KB, application/x-bzip)
2020-01-26 15:12 UTC, Toralf Förster
Details
net-misc:wget-1.20.3-r3:20200126-150133.log (net-misc:wget-1.20.3-r3:20200126-150133.log,128.70 KB, text/plain)
2020-01-26 15:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.59 KB, application/x-bzip)
2020-01-26 15:12 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-26 15:12:27 UTC
make[4]: Entering directory '/var/tmp/portage/net-misc/wget-1.20.3-r3/work/wget-1.20.3/src'
make[4]: 'libunittest.a' is up to date.
make[4]: Leaving directory '/var/tmp/portage/net-misc/wget-1.20.3-r3/work/wget-1.20.3/src'
x86_64-pc-linux-gnu-gcc  -DHAVE_LIBSSL  -DNDEBUG -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o unit-tests unit-tests.o ../src/libunittest.a ../lib/libgnu.a               -lpcre2-8  -lssl -lcrypto  -lz  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/libunittest.a(libunittest_a-main.o):(.bss+0x18): multiple definition of `program_name'; unit-tests.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/libunittest.a(libunittest_a-main.o):(.bss+0x10): multiple definition of `program_argstring'; unit-tests.o:(.data.rel.local+0x0): 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 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 14:26:11 +0000

emerge -qpvO net-misc/wget
[ebuild     U ] net-misc/wget-1.20.3-r3 [1.20.3-r1] USE="ipv6 libressl* nls pcre ssl test* zlib -cookie_check% -debug -gnutls -idn -metalink% -ntlm -static -uuid"
Comment 1 Toralf Förster gentoo-dev 2020-01-26 15:12:30 UTC
Created attachment 604684 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 15:12:33 UTC
Created attachment 604686 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 15:12:37 UTC
Created attachment 604688 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 15:12:40 UTC
Created attachment 604690 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 15:12:42 UTC
Created attachment 604692 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 15:12:45 UTC
Created attachment 604694 [details]
net-misc:wget-1.20.3-r3:20200126-150133.log
Comment 7 Toralf Förster gentoo-dev 2020-01-26 15:12:48 UTC
Created attachment 604696 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-05-02 18:12:38 UTC
The bug has been closed via the following commit(s):

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

commit 285b5666060df4ae4d66af4ae9623aa8009f27cb
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-05-02 18:08:31 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-05-02 18:10:59 +0000

    net-misc/wget: fix building with gcc-10
    
    Closes: https://bugs.gentoo.org/706458
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../wget/files/wget-1.20.3-gcc10-fno-common.patch  | 32 ++++++++++++++++++++++
 net-misc/wget/wget-1.20.3-r3.ebuild                |  2 ++
 2 files changed, 34 insertions(+)