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

Bug 707236

Summary: app-backup/amanda-3.5.1-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: dustin, kripton, lists, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=763846
https://bugs.gentoo.org/show_bug.cgi?id=763924
https://bugs.gentoo.org/show_bug.cgi?id=756883
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-backup:amanda-3.5.1-r1:20200129-115608.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:09:57 UTC
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libtestutils.a
libtool: link: ( cd ".libs" && rm -f "libtestutils.la" && ln -s "../libtestutils.la" "libtestutils.la" )
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations -DAMANDA_FILE=\"`basename amflock-test.o`\" -O2 -pipe -march=native -fno-common -fno-strict-aliasing     -Wl,-O1 -Wl,--as-needed   -o amflock-test amflock-test.o libamanda.la libtestutils.la -lrt -lm -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0  -lnsl -lresolv -lssl -lcrypto   -lcrypto -lcrypto 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wparentheses -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-definition -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-deprecated-declarations -DAMANDA_FILE=\"amflock-test.o\" -O2 -pipe -march=native -fno-common -fno-strict-aliasing -Wl,-O1 -o .libs/amflock-test amflock-test.o -Wl,--export-dynamic -pthread  -Wl,--as-needed ./.libs/libamanda.so ./.libs/libtestutils.a -lrt -lm -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnsl -lresolv -lssl -lcrypto -pthread -Wl,-rpath -Wl,/usr/lib64/amanda
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libtestutils.a(testutils.o):(.bss+0x0): multiple definition of `tu_debugging_enabled'; amflock-test.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 11:06:48 +0000

emerge -qpvO app-backup/amanda
[ebuild  N    ] app-backup/amanda-3.5.1-r1  USE="ipv6 nls readline -curl -gnuplot -kerberos -minimal -ndmp -s3 -samba -systemd -xfs"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:10:00 UTC
Created attachment 608094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:10:02 UTC
Created attachment 608096 [details]
app-backup:amanda-3.5.1-r1:20200129-115608.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:10:07 UTC
Created attachment 608098 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:10:10 UTC
Created attachment 608100 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:10:14 UTC
Created attachment 608102 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:10:19 UTC
Created attachment 608104 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:10:24 UTC
Created attachment 608106 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-28 14:48:19 UTC
The bug has been closed via the following commit(s):

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

commit c8cc93c604b410649d703e5cfec9d54d30db6886
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:47:47 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:47:47 +0000

    app-backup/amanda: Port to EAPI 7 and GLEP 81
    
    Closes: https://bugs.gentoo.org/707236
    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>

 ...anda-3.5.1-r1.ebuild => amanda-3.5.1-r2.ebuild} | 94 +++++++++++-----------
 .../amanda/files/amanda-3.5.1-fno-common.patch     | 13 +++
 2 files changed, 59 insertions(+), 48 deletions(-)