Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706964 - net-misc/ucarp-1.5.2-r5 : fails to build with -fno-common or gcc-10
Summary: net-misc/ucarp-1.5.2-r5 : 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 Cluster Team
URL: https://lists.yoctoproject.org/g/yoct...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:50 UTC by Toralf Förster
Modified: 2021-01-05 16:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2020-01-28 18:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,136.17 KB, text/plain)
2020-01-28 18:50 UTC, Toralf Förster
Details
environment (environment,10.77 KB, text/plain)
2020-01-28 18:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.56 KB, application/x-bzip)
2020-01-28 18:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.23 KB, application/x-bzip)
2020-01-28 18:50 UTC, Toralf Förster
Details
net-misc:ucarp-1.5.2-r5:20200128-144000.log (net-misc:ucarp-1.5.2-r5:20200128-144000.log,19.12 KB, text/plain)
2020-01-28 18:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.77 KB, application/x-bzip)
2020-01-28 18:50 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: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(-)