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

Bug 707156

Summary: sys-apps/ucspi-ssl-0.99e : 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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19093
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:ucspi-ssl-0.99e:20200129-004048.log

Description Toralf Förster gentoo-dev 2020-01-29 17:44:06 UTC
./load sslserver auto_cafile.o auto_ccafile.o auto_cadir.o auto_dhfile.o \
auto_certchainfile.o auto_certfile.o auto_keyfile.o auto_ciphers.o \
rules.o ip4_bit.o remoteinfo6.o timeoutconn6.o cdb.a ucspissl.a unix.a dns.a \
`cat socket.lib` `cat ssl.lib`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ip4_bit.o:(.bss+0x0): multiple definition of `strnum'; sslserver.o:(.bss+0x220): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: unix.a(ip6_bit.o):(.bss+0x0): multiple definition of `strnum'; sslserver.o:(.bss+0x220): first defined here

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

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

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

  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 23:46:22 +0000

emerge -qpvO sys-apps/ucspi-ssl
[ebuild  N    ] sys-apps/ucspi-ssl-0.99e  USE="libressl -bindist -perl"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:44:09 UTC
Created attachment 607566 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:44:12 UTC
Created attachment 607568 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:44:15 UTC
Created attachment 607570 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:44:18 UTC
Created attachment 607572 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:44:20 UTC
Created attachment 607574 [details]
sys-apps:ucspi-ssl-0.99e:20200129-004048.log
Comment 6 Alex Efros 2020-01-29 18:04:14 UTC
I doubt author will fix this, because there are two newer versions was released after this one. I've opened few PRs on github to update it several months ago, but they're still waiting there.
Comment 7 Larry the Git Cow gentoo-dev 2021-01-18 10:14:48 UTC
The bug has been closed via the following commit(s):

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

commit 9459e79a96970d383c534aac07d00aaaa67a238f
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-18 10:13:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-18 10:13:50 +0000

    sys-apps/ucspi-ssl: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707156
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/ucspi-ssl-0.99e-fno-common.patch         | 56 ++++++++++++++++++++++
 sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild          | 10 ++--
 2 files changed, 62 insertions(+), 4 deletions(-)