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

Bug 707792

Summary: sys-fs/duperemove-0.11.1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: fturco
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/markfasheh/duperemove/commit/58dd49fb429339b7104c23224f45aa99c5d160a0
See Also: https://github.com/markfasheh/duperemove/issues/254
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-fs:duperemove-0.11.1:20200201-181931.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-01 19:19:46 UTC
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11.1\"  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -rdynamic  -Wl,-O1 -Wl,--as-needed -c csum-xxhash.c -o csum-xxhash.o -Wl,--as-needed -latomic -lm  -lglib-2.0  -lsqlite3 
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11.1\"  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -rdynamic  -Wl,-O1 -Wl,--as-needed -c xxhash.c -o xxhash.o -Wl,--as-needed -latomic -lm  -lglib-2.0  -lsqlite3 
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11.1\"  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -rdynamic  -Wl,-O1 -Wl,--as-needed -c csum-murmur3.c -o csum-murmur3.o -Wl,--as-needed -latomic -lm  -lglib-2.0  -lsqlite3 
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11.1\"  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -rdynamic  -Wl,-O1 -Wl,--as-needed duperemove.o hash-tree.o results-tree.o rbtree.o dedupe.o filerec.o btrfs-util.o util.o memstats.o file_scan.o find_dupes.o run_dedupe.o csum.o dbfile.o interval_tree.o list_sort.o stats.o debug.o csum-xxhash.o xxhash.o csum-murmur3.o -o duperemove -Wl,--as-needed -latomic -lm  -lglib-2.0  -lsqlite3 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: results-tree.o:(.bss+0x30): multiple definition of `alloc__mutex'; hash-tree.o:(.bss+0x30): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filerec.o:(.bss+0x20): multiple definition of `alloc__mutex'; hash-tree.o:(.bss+0x30): first defined here

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

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

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

  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.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 <==
Sat, 01 Feb 2020 14:48:30 +0000

emerge -qpvO sys-fs/duperemove
[ebuild  N    ] sys-fs/duperemove-0.11.1
Comment 1 Toralf Förster gentoo-dev 2020-02-01 19:19:49 UTC
Created attachment 610566 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-01 19:19:52 UTC
Created attachment 610568 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-01 19:19:55 UTC
Created attachment 610570 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-01 19:19:58 UTC
Created attachment 610572 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-01 19:20:00 UTC
Created attachment 610574 [details]
sys-fs:duperemove-0.11.1:20200201-181931.log
Comment 6 Toralf Förster gentoo-dev 2020-02-01 19:20:03 UTC
Created attachment 610576 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-11-03 08:24:10 UTC
The bug has been closed via the following commit(s):

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

commit e32ef6e70e3121038cb3c22acdb4180421c41c05
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-03 08:15:33 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-03 08:24:06 +0000

    sys-fs/duperemove: Bump to 0.11.2
    
    Closes: https://bugs.gentoo.org/707792
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-fs/duperemove/Manifest                 |  1 +
 sys-fs/duperemove/duperemove-0.11.2.ebuild | 35 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)