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

Bug 707526

Summary: net-libs/gsoap-2.8.93 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: kajanos, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=763948
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:gsoap-2.8.93:20200130-201437.log
temp.tbz2
Fix for 2.8.93

Description Toralf Förster gentoo-dev 2020-01-30 21:27:13 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -DWITH_BISON -DWITH_FLEX  -DSOAPCPP2_IMPORT_PATH="\"/usr/share/gsoap/import\"" -DLINUX -O2 -pipe -march=native -fno-common -c -o soapcpp2-init2.o `test -f 'init2.c' || echo './'`init2.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -DWITH_BISON -DWITH_FLEX  -DSOAPCPP2_IMPORT_PATH="\"/usr/share/gsoap/import\"" -DLINUX -O2 -pipe -march=native -fno-common -c -o soapcpp2-soapcpp2.o `test -f 'soapcpp2.c' || echo './'`soapcpp2.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -DWITH_BISON -DWITH_FLEX  -DSOAPCPP2_IMPORT_PATH="\"/usr/share/gsoap/import\"" -DLINUX -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o soapcpp2 soapcpp2-soapcpp2_yacc.o soapcpp2-soapcpp2_lex.o soapcpp2-symbol2.o soapcpp2-error2.o soapcpp2-init2.o soapcpp2-soapcpp2.o  -lfl 
libtool: link: x86_64-pc-linux-gnu-gcc -DWITH_BISON -DWITH_FLEX -DSOAPCPP2_IMPORT_PATH=\"/usr/share/gsoap/import\" -DLINUX -O2 -pipe -march=native -fno-common -Wl,-O1 -o soapcpp2 soapcpp2-soapcpp2_yacc.o soapcpp2-soapcpp2_lex.o soapcpp2-symbol2.o soapcpp2-error2.o soapcpp2-init2.o soapcpp2-soapcpp2.o  -Wl,--as-needed -lfl
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: soapcpp2-soapcpp2_lex.o:(.bss+0x20): multiple definition of `yylval'; soapcpp2-soapcpp2_yacc.o:(.bss+0x20): 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 <==
Thu, 30 Jan 2020 19:46:24 +0000

emerge -qpvO net-libs/gsoap
[ebuild  N    ] net-libs/gsoap-2.8.93  USE="ipv6 ssl -debug -doc -examples -gnutls -libressl"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 21:27:16 UTC
Created attachment 609402 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 21:27:19 UTC
Created attachment 609404 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 21:27:22 UTC
Created attachment 609406 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 21:27:25 UTC
Created attachment 609408 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 21:27:27 UTC
Created attachment 609410 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 21:27:30 UTC
Created attachment 609412 [details]
net-libs:gsoap-2.8.93:20200130-201437.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 21:27:33 UTC
Created attachment 609414 [details]
temp.tbz2
Comment 8 Luis Cáceres 2020-06-07 19:48:03 UTC
Created attachment 643858 [details, diff]
Fix for 2.8.93

This issue seems to be fixed upstream, at least as of the latest release (2.8.103). In the meantime, I'm using this trivial patch.
Comment 9 Michal Jakubowski 2020-06-09 09:01:10 UTC
Patch working for me.
Comment 10 Larry the Git Cow gentoo-dev 2020-08-19 14:13:31 UTC
The bug has been closed via the following commit(s):

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

commit a1d5372f3d73b3ef7061cfc567ef59c3a6fd4886
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-19 14:06:00 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-19 14:12:35 +0000

    net-libs/gsoap: bump to v2.8.105
    
    Closes: https://bugs.gentoo.org/707526
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-libs/gsoap/Manifest             |  1 +
 net-libs/gsoap/gsoap-2.8.105.ebuild | 83 +++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)