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

Bug 706964

Summary: net-misc/ucarp-1.5.2-r5 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: davidweb
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.yoctoproject.org/g/yocto/message/50800
See Also: https://github.com/gentoo/gentoo/pull/18448
https://bugs.gentoo.org/show_bug.cgi?id=763663
https://bugs.gentoo.org/show_bug.cgi?id=762649
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:ucarp-1.5.2-r5:20200128-144000.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:50:11 UTC
      |         ^~~~~~~~~~
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o ucarp  ucarp.o carp.o crypto-sha1.o fillmac.o bsd-getopt_long.o garp.o spawn.o fakesnprintf.o mysnprintf.o log.o daemonize.o  -lpcap 
mkdir .libs
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o ucarp ucarp.o carp.o crypto-sha1.o fillmac.o bsd-getopt_long.o garp.o spawn.o fakesnprintf.o mysnprintf.o log.o daemonize.o  -lpcap  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: carp.o:(.bss+0x0): multiple definition of `__packed'; ucarp.o:(.bss+0x60): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto-sha1.o:(.bss+0x0): multiple definition of `__packed'; ucarp.o:(.bss+0x60): first defined here

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

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

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

  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.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 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 13:26:22 +0000

emerge -qpvO net-misc/ucarp
[ebuild  N    ] net-misc/ucarp-1.5.2-r5  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:50:14 UTC
Created attachment 606874 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:50:16 UTC
Created attachment 606876 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:50:19 UTC
Created attachment 606878 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:50:22 UTC
Created attachment 606880 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:50:25 UTC
Created attachment 606882 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:50:27 UTC
Created attachment 606884 [details]
net-misc:ucarp-1.5.2-r5:20200128-144000.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:50:30 UTC
Created attachment 606886 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-30 21:40:09 UTC
The bug has been closed via the following commit(s):

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

commit 22559fe330c7f6ff63d007b0f834b097dbe3a27b
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-30 21:39:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-30 21:39:51 +0000

    net-misc/ucarp: port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18448
    Closes: https://bugs.gentoo.org/524214
    Closes: https://bugs.gentoo.org/689188
    Closes: https://bugs.gentoo.org/706964
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-misc/ucarp/files/ucarp-1.5.2-fno-common.patch   |  8 ++++++++
 ...{ucarp-1.5.2-r5.ebuild => ucarp-1.5.2-r6.ebuild} | 21 ++++++++++++++-------
 2 files changed, 22 insertions(+), 7 deletions(-)