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

Bug 707438

Summary: sys-fs/owfs-3.2_p2-r2 : 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 OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16131
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 735502    
Deadline: 2020-10-09   
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-fs:owfs-3.2_p2-r2:20200130-052024.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:13:33 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include  -I/usr/include/libusb-1.0   -I../include -I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -O2 -pipe -march=native -fno-common -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -c -o md5.o md5.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../../src/include  -I/usr/include/libusb-1.0   -I../include -I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -O2 -pipe -march=native -fno-common -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -c -o ping.o ping.c
/bin/sh ../../../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I../include -I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -O2 -pipe -march=native -fno-common -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE  -Wl,-O1 -Wl,--as-needed -o owexternal owserver.o from_client.o to_client.o read.o write.o dir.o dirall.o dirallslash.o data.o error.o handler.o loop.o md5.o ping.o -low    
libtool: link: x86_64-pc-linux-gnu-gcc -I../include -I../../../owlib/src/include -fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wredundant-decls -pthread -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -O2 -pipe -march=native -fno-common -m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -Wl,-O1 -o .libs/owexternal owserver.o from_client.o to_client.o read.o write.o dir.o dirall.o dirallslash.o data.o error.o handler.o loop.o md5.o ping.o  -L../../../owlib/src/c -Wl,--as-needed /var/tmp/portage/sys-fs/owfs-3.2_p2-r2/work/owfs-3.2p2/module/owlib/src/c/.libs/libow.so -lusb-1.0 -lm -lrt -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: from_client.o:(.bss+0x0): multiple definition of `persistence_mutex'; owserver.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: to_client.o:(.bss+0x0): multiple definition of `persistence_mutex'; owserver.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 03:26:22 +0000

emerge -qpvO sys-fs/owfs
[ebuild  N    ] sys-fs/owfs-3.2_p2-r2  USE="usb -debug -ftdi -ftpd -fuse -httpd -parport -perl -python -tcl -zeroconf" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:13:36 UTC
Created attachment 608916 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:13:39 UTC
Created attachment 608918 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:13:42 UTC
Created attachment 608920 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:13:45 UTC
Created attachment 608922 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:13:48 UTC
Created attachment 608924 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:13:51 UTC
Created attachment 608926 [details]
sys-fs:owfs-3.2_p2-r2:20200130-052024.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:13:54 UTC
Created attachment 608928 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-02 22:46:01 UTC
The bug has been referenced in the following commit(s):

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

commit e3b64b016c7240f71bca3de6f4ba6fc14d1cfa86
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2020-08-02 22:43:35 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-08-02 22:43:35 +0000

    package.mask: last-rite app-metrics/collectd sys-fs/owfs
    
    Bug: https://bugs.gentoo.org/735502
    Bug: https://bugs.gentoo.org/707438
    Bug: https://bugs.gentoo.org/701254
    Bug: https://bugs.gentoo.org/730514
    Bug: https://bugs.gentoo.org/687830
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 07:24:31 UTC
Package removed.