Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710440 - net-libs/libisds-0.11 : fails to build with -fno-common or gcc-10
Summary: net-libs/libisds-0.11 : 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: Petr Pisar
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-21 21:46 UTC by Toralf Förster
Modified: 2021-01-05 12:25 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2020-02-21 21:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,225.66 KB, text/plain)
2020-02-21 21:46 UTC, Toralf Förster
Details
environment (environment,21.79 KB, text/plain)
2020-02-21 21:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.32 KB, application/x-bzip)
2020-02-21 21:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.84 KB, application/x-bzip)
2020-02-21 21:46 UTC, Toralf Förster
Details
net-libs:libisds-0.11:20200221-213831.log (net-libs:libisds-0.11:20200221-213831.log,18.62 KB, text/plain)
2020-02-21 21:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.64 KB, application/x-bzip)
2020-02-21 21:46 UTC, Toralf Förster
Details
0.11.1 ebuild (0001-net-libs-libisds-0.11.1-bump.patch,3.73 KB, patch)
2020-08-16 10:22 UTC, Petr Pisar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-21 21:46:04 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src -DSRCDIR=\"../..\" -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\"   -O2 -pipe -march=native -fno-common -std=c99 -Wall -c prepare_environment.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src -DSRCDIR=\"../..\" -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\"   -O2 -pipe -march=native -fno-common -std=c99 -Wall -c -o test.o `test -f '../test.c' || echo './'`../test.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -std=c99 -Wall  -Wl,-O1 -Wl,--as-needed -o prepare_environment prepare_environment.o test.o -lxml2 -lz -lm -ldl -lcurl -lssl -lcrypto -lssl -lcrypto -lldap -llber -lz -lgcrypt -lgpg-error -L/usr/lib64 -lgpgme -lassuan -lgpg-error -lexpat  
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -std=c99 -Wall -Wl,-O1 -Wl,--as-needed -o prepare_environment prepare_environment.o test.o  -lxml2 -lm -ldl -lcurl -lssl -lcrypto -lldap -llber -lz -lgcrypt -L/usr/lib64 -lgpgme -lassuan -lgpg-error -lexpat
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test.o:(.bss+0x0): multiple definition of `test_destructor_function'; prepare_environment.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test.o:(.bss+0x8): multiple definition of `reason'; prepare_environment.o:(.bss+0x20): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-test-20200215-161616

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

  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 Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:

ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 21 Feb 2020 20:37:40 +0000

emerge -qpvO net-libs/libisds
[ebuild  N    ] net-libs/libisds-0.11  USE="curl nls test -debug -doc -openssl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-02-21 21:46:07 UTC
Created attachment 614978 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-21 21:46:10 UTC
Created attachment 614980 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-21 21:46:14 UTC
Created attachment 614982 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-21 21:46:18 UTC
Created attachment 614984 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-21 21:46:20 UTC
Created attachment 614986 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-21 21:46:23 UTC
Created attachment 614988 [details]
net-libs:libisds-0.11:20200221-213831.log
Comment 7 Toralf Förster gentoo-dev 2020-02-21 21:46:26 UTC
Created attachment 614990 [details]
temp.tbz2
Comment 8 Petr Pisar 2020-08-16 10:22:27 UTC
Created attachment 654934 [details, diff]
0.11.1 ebuild

A new 0.11.1 upstream release fixes this issue. A commit with the ebuild is attached.
Comment 9 Larry the Git Cow gentoo-dev 2020-12-28 14:15:53 UTC
The bug has been closed via the following commit(s):

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

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

    net-libs/libisds: Bump to 0.11.1
    
    Closes: https://bugs.gentoo.org/710440
    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-libs/libisds/Manifest              |  1 +
 net-libs/libisds/libisds-0.11.1.ebuild | 55 ++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)