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

Bug 708830

Summary: net-p2p/opendchub-0.8.2 : 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 CC: treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-p2p:opendchub-0.8.2:20200209-111237.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-09 12:14:57 UTC
   61 |    while((buf[i] != c) && (buf[i] != (char)NULL))
      |                                      ^
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=native -fno-common -c -o xs_functions.o xs_functions.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o opendchub commands.o fileio.o main.o network.o perl_utils.o userlist.o utils.o xs_functions.o  -lcap -lcrypto -lcrypt -lnsl 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: fileio.o:(.bss+0x20): multiple definition of `working_dir'; commands.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: fileio.o:(.bss+0x1a0): multiple definition of `config_dir'; commands.o:(.bss+0x1a0): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 09 Feb 2020 10:27:16 +0000

emerge -qpvO net-p2p/opendchub
[ebuild  N    ] net-p2p/opendchub-0.8.2  USE="-perl"
Comment 1 Toralf Förster gentoo-dev 2020-02-09 12:15:00 UTC
Created attachment 613052 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-09 12:15:03 UTC
Created attachment 613054 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-09 12:15:06 UTC
Created attachment 613056 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-09 12:15:09 UTC
Created attachment 613058 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-09 12:15:12 UTC
Created attachment 613060 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-09 12:15:15 UTC
Created attachment 613062 [details]
net-p2p:opendchub-0.8.2:20200209-111237.log
Comment 7 Toralf Förster gentoo-dev 2020-02-09 12:15:18 UTC
Created attachment 613064 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-06 23:23:06 UTC
The bug has been closed via the following commit(s):

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

commit 092963c1ea957d0a99bd9dba335fdafd3f0e941f
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-06 23:08:29 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-06 23:22:48 +0000

    net-p2p/opendchub: Apply gcc-10 workaround
    
    Closes: https://bugs.gentoo.org/708830
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 net-p2p/opendchub/opendchub-0.8.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)