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

Bug 756901

Summary: www-servers/gatling-0.15 : fails to build with -fno-common or gcc-10, caused by <dev-libs/libowfat-0.32-r2
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sping
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
www-servers:gatling-0.15:20201126-182137.log

Description Toralf Förster gentoo-dev 2020-11-26 18:34:00 UTC
if  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -I/usr/include/libowfat -o trycrypt trycrypt.c -lcrypt >/dev/null 2>&1; then echo "-lcrypt"; \
fi; fi > libcrypt
rm -f trycrypt
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz `cat libsocket libiconv libcrypt` `cat md5lib`
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+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-libressl_science-20201116-220441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Rust versions:
  [1]   rust-bin-1.47.0
  [2]   rust-1.47.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Nov 26 06:05:36 PM UTC 2020
/var/db/repos/libressl	Wed Nov 25 11:11:45 PM UTC 2020

emerge -qpvO www-servers/gatling
[ebuild  N    ] www-servers/gatling-0.15  USE="libressl ssl -diet"
Comment 1 Toralf Förster gentoo-dev 2020-11-26 18:34:01 UTC
this seems to be either still an issue or a similarity to the one reported in bug 706396
Comment 2 Toralf Förster gentoo-dev 2020-11-26 18:34:02 UTC
Created attachment 675154 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-26 18:34:05 UTC
Created attachment 675157 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-11-26 18:34:06 UTC
Created attachment 675160 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-11-26 18:34:08 UTC
Created attachment 675163 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-26 18:34:09 UTC
Created attachment 675166 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-11-26 18:34:11 UTC
Created attachment 675169 [details]
www-servers:gatling-0.15:20201126-182137.log
Comment 8 Sebastian Pipping gentoo-dev 2020-11-26 18:39:52 UTC

*** This bug has been marked as a duplicate of bug 756847 ***
Comment 9 Toralf Förster gentoo-dev 2020-11-26 19:08:32 UTC
(In reply to Sebastian Pipping from comment #8)
> 
> *** This bug has been marked as a duplicate of bug 756847 ***

still an issue
Comment 10 Sebastian Pipping gentoo-dev 2020-11-26 19:29:04 UTC
(In reply to Toralf Förster from comment #9)
> (In reply to Sebastian Pipping from comment #8)
> > 
> > *** This bug has been marked as a duplicate of bug 756847 ***
> 
> still an issue

Do you have dev-libs/libowfat-0.32-r2 installed?  That has the fix.