Source: smp-utils
Version: 0.98-1
Severity: serious
Tags: ftbfs buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/smp-utils.html
...
smp_lin_bsg.c: In function 'open_lin_bsg_device':
smp_lin_bsg.c:230:21: warning: implicit declaration of function 'makedev'
[-Wimplicit-function-declaration]
makedev(maj, min));
^~~~~~~
...
smp_mptctl_io.c: In function 'chk_mpt_device':
smp_mptctl_io.c:66:52: warning: implicit declaration of function 'major'
[-Wimplicit-function-declaration]
if ((S_ISCHR(st.st_mode)) && (MPT_DEV_MAJOR == major(st.st_rdev))) {
^~~~~
smp_mptctl_io.c:67:31: warning: implicit declaration of function 'minor'; did
you mean 'mknod'? [-Wimplicit-function-declaration]
if ((MPT_DEV_MINOR == minor(st.st_rdev)) ||
^~~~~
...
smp_aac_io.c: In function 'chk_aac_device':
smp_aac_io.c:90:35: warning: implicit declaration of function 'makedev'
[-Wimplicit-function-declaration]
if(mknod(dev_name,S_IFCHR,makedev(aacDevMjr,aacDevMnr))) {
^~~~~~~
smp_aac_io.c:101:53: warning: implicit declaration of function 'major'
[-Wimplicit-function-declaration]
if ((S_ISCHR(st.st_mode)) && (aacDevMjr ==(int) major(st.st_rdev))) {
^~~~~
smp_aac_io.c:102:33: warning: implicit declaration of function 'minor'; did you
mean 'mknod'? [-Wimplicit-function-declaration]
if ((aacDevMnr == (int) minor(st.st_rdev)))
...
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I ../include
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2
-ffile-prefix-map=/build/1st/smp-utils-0.98=. -fstack-protector-strong -Wformat
-Werror=format-security -c -o smp_conf_general.o smp_conf_general.c
/bin/bash ../libtool --tag=CC --mode=link gcc -I ../include
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -g -O2
-ffile-prefix-map=/build/1st/smp-utils-0.98=. -fstack-protector-strong -Wformat
-Werror=format-security -Wl,-z,relro -Wl,-z,now -o smp_conf_general
smp_conf_general.o ../lib/libsmputils1.la
libtool: link: gcc -I ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -W -g -O2 -ffile-prefix-map=/build/1st/smp-utils-0.98=.
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro
-Wl,-z -Wl,now -o .libs/smp_conf_general smp_conf_general.o
../lib/.libs/libsmputils1.so
/usr/bin/ld: ../lib/.libs/libsmputils1.so: undefined reference to `minor'
/usr/bin/ld: ../lib/.libs/libsmputils1.so: undefined reference to `major'
/usr/bin/ld: ../lib/.libs/libsmputils1.so: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:564: smp_conf_general] Error 1