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

Bug 707310

Summary: sci-chemistry/prekin-6.51.081122-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-chemistry:prekin-6.51.081122-r1:20200129-200231.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 20:36:51 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include   -D NOGUI -I/usr/X11R6/include   -c -o PUXMOUTP.o PUXMOUTP.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include   -D NOGUI -I/usr/X11R6/include   -c -o PUXMTEXT.o PUXMTEXT.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/X11R6/include   -D NOGUI -I/usr/X11R6/include   -c -o PUXMLNX.o PUXMLNX.c
x86_64-pc-linux-gnu-gcc -o prekin -O2 -pipe -march=native -fno-common -I/usr/X11R6/include   -D NOGUI -I/usr/X11R6/include -Wl,-O1 -Wl,--as-needed PKINANGL.o PKINCRTL.o PKINCSBS.o PKINCSUB.o PKINCOUT.o PKINMENU.o PKINROTL.o PKINDLOG.o PKINFILE.o PKINHBND.o PKINHY36.o PKININPT.o PKININIT.o PKINRIBB.o PKINRNGE.o PKINRSUB.o PKINSCRT.o PKINSPOS.o PKINUTIL.o PUXMFILE.o PUXMMAIN.o PUXMINIT.o PUXMDLOG.o PUXMMENU.o PUXMOUTP.o PUXMTEXT.o PUXMLNX.o -L/usr/X11R6/lib -L/usr/lib64 -L/usr/X11R6/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -ldl -lm -pthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PUXMMAIN.o:(.bss+0x2789c): multiple definition of `Lribbonnew'; PKINRIBB.o:(.bss+0x38): 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-20200124-204141

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

  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:
*)	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 <==
Wed, 29 Jan 2020 18:52:13 +0000

emerge -qpvO sci-chemistry/prekin
[ebuild  N    ] sci-chemistry/prekin-6.51.081122-r1  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 20:36:53 UTC
Created attachment 608512 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 20:36:56 UTC
Created attachment 608514 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 20:36:59 UTC
Created attachment 608516 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 20:37:02 UTC
Created attachment 608518 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 20:37:04 UTC
Created attachment 608520 [details]
sci-chemistry:prekin-6.51.081122-r1:20200129-200231.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 20:37:07 UTC
Created attachment 608522 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-02-14 10:36:41 UTC
The bug has been closed via the following commit(s):

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

commit 783ac39b1124347dc84c558dffb8e8b3575a4f49
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-14 10:33:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 10:33:06 +0000

    sci-chemistry/prekin: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707310
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../prekin/files/6.51.081122-Makefile.patch        |  2 --
 .../prekin/files/6.51.081122-overflow.patch        |  2 --
 .../files/prekin-6.51.081122-fno-common.patch      | 34 ++++++++++++++++++++++
 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild  |  9 +++---
 4 files changed, 39 insertions(+), 8 deletions(-)