Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713640 - dev-util/trinity-1.9 : fails to build with -fno-common or gcc-10
Summary: dev-util/trinity-1.9 : 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: Andrew Savchenko
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-20 14:56 UTC by Toralf Förster
Modified: 2020-06-04 16:52 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.57 KB, text/plain)
2020-03-20 14:56 UTC, Toralf Förster
Details
dev-util:trinity-1.9:20200320-100942.log (dev-util:trinity-1.9:20200320-100942.log,250.27 KB, text/plain)
2020-03-20 14:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.04 KB, text/plain)
2020-03-20 14:56 UTC, Toralf Förster
Details
environment (environment,51.09 KB, text/plain)
2020-03-20 14:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.88 KB, application/x-bzip)
2020-03-20 14:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.66 KB, application/x-bzip)
2020-03-20 14:57 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-03-20 14:56:44 UTC
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: debug.o:(.bss+0x0): multiple definition of mainlogfile; child.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: log-files.o:(.bss+0x0): multiple definition of mainlogfile; child.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-util/trinity
[ebuild  N    ] dev-util/trinity-1.9  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 14:56:47 UTC
Created attachment 623226 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 14:56:49 UTC
Created attachment 623228 [details]
dev-util:trinity-1.9:20200320-100942.log
Comment 3 Toralf Förster gentoo-dev 2020-03-20 14:56:52 UTC
Created attachment 623230 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-20 14:56:55 UTC
Created attachment 623232 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-20 14:56:57 UTC
Created attachment 623234 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 14:57:00 UTC
Created attachment 623236 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-06-04 16:52:16 UTC
The bug has been closed via the following commit(s):

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

commit 60c15141b67ade8a68f93d322e884dc5bd5677c3
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-05-29 18:52:19 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-06-04 16:51:59 +0000

    dev-util/trinity: upstream patches
    
    Added upstream patches that fixes compilation of package.
    Closes: https://bugs.gentoo.org/691890
    Closes: https://bugs.gentoo.org/713640
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16007
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-util/trinity/files/trinity-1.9-gcc10_fix.patch | 34 ++++++++++++++++++++++
 .../files/trinity-1.9-include_types_h.patch        | 33 +++++++++++++++++++++
 dev-util/trinity/trinity-1.9.ebuild                |  7 ++++-
 3 files changed, 73 insertions(+), 1 deletion(-)