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

Bug 707244

Summary: app-crypt/trousers-0.3.14-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Christopher Byrne <salah.coronya>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15509
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-crypt:trousers-0.3.14-r2:20200129-140037.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:12:09 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rpc/tcstp/.libs/libtspi_la-rpc_context.o:(.bss+0x0): multiple definition of `tcsd_sa_int'; .libs/libtspi_la-tspi_context.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rpc/tcstp/.libs/libtspi_la-rpc_context.o:(.bss+0xa0): multiple definition of `tcsd_sa_chld'; .libs/libtspi_la-tspi_context.o:(.bss+0xa0): 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 <==
Wed, 29 Jan 2020 12:46:23 +0000

emerge -qpvO app-crypt/trousers
[ebuild  N    ] app-crypt/trousers-0.3.14-r2  USE="libressl -doc (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:12:12 UTC
Created attachment 608150 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:12:15 UTC
Created attachment 608152 [details]
app-crypt:trousers-0.3.14-r2:20200129-140037.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:12:18 UTC
Created attachment 608154 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:12:21 UTC
Created attachment 608156 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:12:24 UTC
Created attachment 608158 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:12:27 UTC
Created attachment 608160 [details]
logs.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-04-28 07:44:21 UTC
The bug has been closed via the following commit(s):

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

commit 31454f0e773a3d17201258e778b5e29ea9cd7217
Author:     Salah Coronya <salah.coronya@gmail.com>
AuthorDate: 2020-04-25 04:03:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-28 07:44:06 +0000

    app-crypt/trousers: Fix -fno-common/gcc10 compile error
    
    Closes: https://bugs.gentoo.org/707244
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15509
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/trousers-0.3.14-fno-common.patch         | 15 +++++++++
 app-crypt/trousers/trousers-0.3.14-r2.ebuild       | 39 ++--------------------
 2 files changed, 17 insertions(+), 37 deletions(-)