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

Bug 710090

Summary: sys-fs/lessfs-1.7.0-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: sandino, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-fs:lessfs-1.7.0-r1:20200218-052500.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-18 18:54:45 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dx86_64 -D SYSLOG -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o lessfs-lib_repl.o `test -f 'lib_repl.c' || echo './'`lib_repl.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dx86_64 -D SYSLOG -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o lessfs-lib_bdb.o `test -f 'lib_bdb.c' || echo './'`lib_bdb.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dx86_64 -D SYSLOG -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common -c -o lessfs-lib_snappy.o `test -f 'lib_snappy.c' || echo './'`lib_snappy.c
x86_64-pc-linux-gnu-gcc -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dx86_64 -D SYSLOG -I/usr/include/fuse -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o lessfs lessfs-lib_hamster.o lessfs-lib_qlz15.o lessfs-lib_common.o lessfs-lib_lzo.o lessfs-lessfs.o lessfs-lib_crypto.o lessfs-lib_safe.o lessfs-lib_tc.o lessfs-file_io.o lessfs-lib_cfg.o lessfs-lib_str.o lessfs-lib_net.o lessfs-lib_qlz.o lessfs-lib_repl.o lessfs-lib_bdb.o lessfs-lib_snappy.o  -lssl -lmhash -ltokyocabinet -lfuse -pthread -lssl -lcrypto     
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lessfs-lessfs.o:(.bss+0x18): multiple definition of `config'; lessfs-lib_common.o:(.bss+0xc8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lessfs-lib_crypto.o:(.bss+0x0): multiple definition of `config'; lessfs-lib_common.o:(.bss+0xc8): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 04:08:24 +0000

emerge -qpvO sys-fs/lessfs
[ebuild  N    ] sys-fs/lessfs-1.7.0-r1  USE="crypt -berkdb -debug -filelog -lzo -memtrace -snappy"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:54:48 UTC
Created attachment 614304 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:54:51 UTC
Created attachment 614306 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:54:54 UTC
Created attachment 614308 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:54:57 UTC
Created attachment 614310 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:55:00 UTC
Created attachment 614312 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:55:03 UTC
Created attachment 614314 [details]
sys-fs:lessfs-1.7.0-r1:20200218-052500.log
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:55:06 UTC
Created attachment 614316 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-12 13:44:59 UTC
The bug has been closed via the following commit(s):

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

commit c5cd45796e50d587680c6c7e60a1cee3c67e25ae
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-11 20:19:45 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-12 13:44:41 +0000

    sys-fs/lessfs: Apply gcc-10 workaround
    
    * Dead upstream
    
    Closes: https://bugs.gentoo.org/710090
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-fs/lessfs/lessfs-1.7.0-r1.ebuild | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)