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

Bug 607376

Summary: sys-fs/duperemove-0.11_beta4 : dbfile.c:(.text+<snip>): undefined reference to `makedev'
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal CC: fturco, klaus818, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/markfasheh/duperemove/pull/169
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 575232    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-fs:duperemove-0.11_beta4:20170127-023400.log
duperemove-0.11.beta4-sysmacros.patch

Description Toralf Förster gentoo-dev 2017-01-27 08:37:35 UTC
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -Wall -Wall -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.11.beta4\"  -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  -lglib-2.0 -lsqlite3 -lm
dbfile.o: In function `__dbfile_get_config':
dbfile.c:(.text+0x8fd): undefined reference to `makedev'
dbfile.o: In function `__dbfile_sync_config':

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

  This is an unstable amd64 chroot image (named 13.0-no-multilib-libressl-unstable_20170122-225602) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-27 08:37:39 UTC
Created attachment 461582 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-27 08:37:42 UTC
Created attachment 461584 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-01-27 08:37:46 UTC
Created attachment 461586 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-01-27 08:37:50 UTC
Created attachment 461588 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-01-27 08:37:52 UTC
Created attachment 461590 [details]
sys-fs:duperemove-0.11_beta4:20170127-023400.log
Comment 6 Francesco Turco 2017-08-17 16:31:03 UTC
Created attachment 489450 [details, diff]
duperemove-0.11.beta4-sysmacros.patch

See https://github.com/markfasheh/duperemove/pull/169/commits/403e6d4027ae1c689298f6448401fcd7101dcd8f
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-09-02 09:20:54 UTC
commit 43a25b2ec519c451a224020b42ce96a45bf782c6
Author:     Francesco Turco <fturco@fastmail.fm>
AuthorDate: Thu Aug 17 18:50:46 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sat Sep 2 11:17:03 2017

    sys-fs/duperemove: fix sysmacros.h error w/ new sys-libs/glibc
    
    Taken from https://github.com/markfasheh/duperemove/pull/169
    
    Bug: https://bugs.gentoo.org/607376
    Closes: https://github.com/gentoo/gentoo/pull/5464