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

Bug 711902

Summary: dev-lang/c-intercal-31.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Ulrich Müller <ulm>
Status: RESOLVED FIXED    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.com/esr/intercal/-/issues/4
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
dev-lang:c-intercal-31.0:20200308-200155.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-08 21:03:45 UTC
oilout0f.c
x86_64-pc-linux-gnu-ar cru libidiot.a oilout*.o
x86_64-pc-linux-gnu-ranlib libidiot.a
x86_64-pc-linux-gnu-gcc '-DICKINCLUDEDIR="/usr/include/ick-0.31"' '-DICKDATADIR="/usr/share/ick-0.31"' '-DICKBINDIR="/usr/bin"' '-DICKLIBDIR="/usr/lib64"' -DYYDEBUG -DICK_HAVE_STDINT_H=1 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -o ick src/feh2.o src/dekludge.o src/ick_lose.o src/fiddle.o src/perpet.o src/uncommon.o parser.o lexer.o libidiot.a 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: parser.o:(.bss+0x14): multiple definition of `yydebug'; src/perpet.o:(.bss+0x88): 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_no-multilib-20200304-213403

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
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 *
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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 08 Mar 2020 18:37:35 +0000

emerge -qpvO dev-lang/c-intercal
[ebuild  N    ] dev-lang/c-intercal-31.0  USE="-emacs -examples"
Comment 1 Toralf Förster gentoo-dev 2020-03-08 21:03:47 UTC
Created attachment 617540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-08 21:03:50 UTC
Created attachment 617542 [details]
dev-lang:c-intercal-31.0:20200308-200155.log
Comment 3 Toralf Förster gentoo-dev 2020-03-08 21:03:53 UTC
Created attachment 617544 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-08 21:03:56 UTC
Created attachment 617546 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-08 21:03:58 UTC
Created attachment 617548 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-08 21:04:03 UTC
Created attachment 617550 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-08 21:04:06 UTC
Created attachment 617552 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-09 10:15:07 UTC
The bug has been closed via the following commit(s):

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

commit a110a98b4de6f280d770ba3cc92a4612326205a3
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-03-09 10:11:39 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-03-09 10:14:43 +0000

    dev-lang/c-intercal: Fix build with -fno-common.
    
    Closes: https://bugs.gentoo.org/711902
    Package-Manager: Portage-2.3.93, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 dev-lang/c-intercal/c-intercal-31.0.ebuild                |  3 ++-
 dev-lang/c-intercal/files/c-intercal-31.0-no-common.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)