Source: lpr
Version: 1:2008.05.17.2
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lpr.html
...
lpr.c: In function 'main':
lpr.c:336:32: warning: implicit declaration of function 'makedev'
[-Wimplicit-function-declaration]
(unsigned long long int)makedev( major(statb.st_dev),
minor(statb.st_dev)), (int)statb.st_ino);
^~~~~~~
lpr.c:336:41: warning: implicit declaration of function 'major'
[-Wimplicit-function-declaration]
(unsigned long long int)makedev( major(statb.st_dev),
minor(statb.st_dev)), (int)statb.st_ino);
^~~~~
lpr.c:336:62: warning: implicit declaration of function 'minor'; did you mean
'mknod'? [-Wimplicit-function-declaration]
(unsigned long long int)makedev( major(statb.st_dev),
minor(statb.st_dev)), (int)statb.st_ino);
^~~~~
...
cc -o lpr lpr.o ../common_source/startdaemon.o ../common_source/common.o
../common_source/common_vars.o ../common_source/getcap.o
../common_source/strlcpy.o ../common_source/strlcat.o
/usr/bin/ld: lpr.o: in function `main':
/build/1st/lpr-2008.05.17.2/lpr/lpr.c:336: undefined reference to `minor'
/usr/bin/ld: /build/1st/lpr-2008.05.17.2/lpr/lpr.c:336: undefined reference to
`major'
/usr/bin/ld: /build/1st/lpr-2008.05.17.2/lpr/lpr.c:336: undefined reference to
`makedev'
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefile.in:8: lpr] Error 1