Bug#916004: makefs FTBFS with glibc 2.28
Source: makefs
Version: 20100306-6
Severity: serious
Tags: ftbfs buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/makefs.html
...
/build/1st/makefs-20100306/builddir/usr.sbin/makefs/nbsrc/sbin/mknod/pack_dev.c: In function 'pack_native':
/build/1st/makefs-20100306/builddir/usr.sbin/makefs/nbsrc/sbin/mknod/pack_dev.c:72:9: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
dev = makedev(numbers[0], numbers[1]);
^~~~~~~
/build/1st/makefs-20100306/builddir/usr.sbin/makefs/nbsrc/sbin/mknod/pack_dev.c:73:15: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
if ((u_long)major(dev) != numbers[0])
^~~~~
...
cc -g -O2 -ffile-prefix-map=/build/1st/makefs-20100306=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wformat -Wno-unused-but-set-variable -Wno-unused-result -flto=jobserver -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o makefs cd9660.o ffs.o getid.o makefs.o misc.o pack_dev.o spec.o walk.o cd9660_strings.o cd9660_debug.o cd9660_eltorito.o cd9660_write.o cd9660_conversion.o iso9660_rrip.o cd9660_archimedes.o ffs_alloc.o ffs_balloc.o ffs_bswap.o ffs_subr.o ffs_tables.o ufs_bmap.o buf.o mkfs.o pwcache.o strsuftoll.o fparseln.o -lbsd
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find abbrev number 124
/tmp/ccuOSmWf.ltrans0.ltrans.o: in function `fparseln':
<artificial>:(.text+0xbfb7): warning: This function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008.
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find abbrev number 124
/tmp/ccuOSmWf.ltrans0.ltrans.o: in function `pack_native':
<artificial>:(.text+0x4bb1): undefined reference to `makedev'
/usr/bin/ld: <artificial>:(.text+0x4bbe): undefined reference to `major'
/usr/bin/ld: <artificial>:(.text+0x4be6): undefined reference to `minor'
collect2: error: ld returned 1 exit status
*** Error code 1
Reply to: