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

Bug 706932

Summary: app-text/tabler-2-r1 : 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 CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-text:tabler-2-r1:20200128-113630.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:42:27 UTC
make -j1 
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tabler\" -DPACKAGE_TARNAME=\"tabler\" -DPACKAGE_VERSION=\"2\" -DPACKAGE_STRING=\"tabler\ 2\" -DPACKAGE_BUGREPORT=\"Heath\ Caldwell\ \<hncaldwell@csupomona.edu\>\" -DPACKAGE=\"tabler\" -DVERSION=\"2\" -DSTDC_HEADERS=1 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 -DHAVE_REGERROR=1 -I.     -O2 -pipe -march=native -fno-common -c tabler.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tabler\" -DPACKAGE_TARNAME=\"tabler\" -DPACKAGE_VERSION=\"2\" -DPACKAGE_STRING=\"tabler\ 2\" -DPACKAGE_BUGREPORT=\"Heath\ Caldwell\ \<hncaldwell@csupomona.edu\>\" -DPACKAGE=\"tabler\" -DVERSION=\"2\" -DSTDC_HEADERS=1 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_REGCOMP=1 -DHAVE_REGEXEC=1 -DHAVE_REGERROR=1 -I.     -O2 -pipe -march=native -fno-common -c util.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o tabler tabler.o util.o  -lm -lc 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:(.bss+0x0): multiple definition of `_strregtok_previous_end'; tabler.o:(.bss+0x0): 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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 10:46:23 +0000

emerge -qpvO app-text/tabler
[ebuild  N    ] app-text/tabler-2-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:42:30 UTC
Created attachment 606660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:42:33 UTC
Created attachment 606662 [details]
app-text:tabler-2-r1:20200128-113630.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:42:35 UTC
Created attachment 606664 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:42:38 UTC
Created attachment 606666 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:42:41 UTC
Created attachment 606668 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:42:44 UTC
Created attachment 606670 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:42:46 UTC
Created attachment 606672 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-17 12:27:56 UTC
The bug has been closed via the following commit(s):

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

commit 7e549ea5c9ac67bd3d7f0620ed36501a2e1fda44
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-17 12:26:47 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-17 12:27:53 +0000

    app-text/tabler: Fix building with CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/706932
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-text/tabler/files/tabler-2-fno-common.patch | 22 ++++++++++++++++++++++
 app-text/tabler/tabler-2-r1.ebuild              | 16 ++++++++--------
 2 files changed, 30 insertions(+), 8 deletions(-)