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

Bug 707498

Summary: net-misc/omnisync-1.0_p20180614 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Brian Evans (RETIRED) <grknight>
Status: RESOLVED FIXED    
Severity: normal    
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
logs.tbz2
net-misc:omnisync-1.0_p20180614:20200130-163211.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:30:27 UTC
/usr/bin/x86_64-pc-linux-gnu-gcc -DVERSION=\"1.0\" -DWITH_GNUTLS   -DNDEBUG -O2 -pipe -march=native -fno-common   -Wall -o CMakeFiles/omnisync.dir/sntp.c.o -c /var/tmp/portage/net-misc/omnisync-1.0_p20180614/work/omnisync-1.0_p20180614/sntp.c
[100%] Linking C executable omnisync
/usr/bin/cmake -E cmake_link_script CMakeFiles/omnisync.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/omnisync.dir/error.c.o CMakeFiles/omnisync.dir/log.c.o CMakeFiles/omnisync.dir/utils.c.o CMakeFiles/omnisync.dir/utils2.c.o CMakeFiles/omnisync.dir/daytime.c.o CMakeFiles/omnisync.dir/time.c.o CMakeFiles/omnisync.dir/mssl_gnutls.c.o CMakeFiles/omnisync.dir/http.c.o CMakeFiles/omnisync.dir/snts.c.o CMakeFiles/omnisync.dir/irc.c.o CMakeFiles/omnisync.dir/icmp.c.o CMakeFiles/omnisync.dir/ntpd.c.o CMakeFiles/omnisync.dir/snmp.c.o CMakeFiles/omnisync.dir/simpleptp.c.o CMakeFiles/omnisync.dir/socks5sntp.c.o CMakeFiles/omnisync.dir/main.c.o CMakeFiles/omnisync.dir/sntp.c.o  -o omnisync  -lgnutls -L/usr/lib64 -lnetsnmp -lcrypto -lm -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/omnisync.dir/http.c.o:(.bss+0x0): multiple definition of `gnutls_session_data'; CMakeFiles/omnisync.dir/mssl_gnutls.c.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/omnisync.dir/http.c.o:(.bss+0x10): multiple definition of `gnutls_xcred'; CMakeFiles/omnisync.dir/mssl_gnutls.c.o:(.bss+0x20): first defined here

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

  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 15:46:24 +0000

emerge -qpvO net-misc/omnisync
[ebuild  N    ] net-misc/omnisync-1.0_p20180614
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:30:30 UTC
Created attachment 609304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:30:33 UTC
Created attachment 609306 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:30:36 UTC
Created attachment 609308 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:30:39 UTC
Created attachment 609310 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:30:42 UTC
Created attachment 609312 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:30:44 UTC
Created attachment 609314 [details]
net-misc:omnisync-1.0_p20180614:20200130-163211.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:30:47 UTC
Created attachment 609316 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-30 21:14:02 UTC
The bug has been closed via the following commit(s):

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

commit 6bb127d246d8c6fdc7f18c7f7e908b37e10ade55
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2020-01-30 20:11:44 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2020-01-30 21:13:54 +0000

    net-misc/omnisync: New snapshot to fix -fno-common
    
    Closes: https://bugs.gentoo.org/707498
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 net-misc/omnisync/Manifest                      |  1 +
 net-misc/omnisync/omnisync-1.0_p20200130.ebuild | 35 +++++++++++++++++++++++++
 2 files changed, 36 insertions(+)