Source: xnbd
Version: 0.3.0-2
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/xnbd.html

...
io.c: In function 'get_disksize':
io.c:155:7: warning: implicit declaration of function 'major' 
[-Wimplicit-function-declaration]
   if (major(st.st_rdev) == 259)
       ^~~~~
...
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 
-ffile-prefix-map=/build/1st/xnbd-0.3.0=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
-Wformat=2 -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith 
-Wswitch-enum -fstack-protector -fstack-check -lgthread-2.0 -pthread -lglib-2.0 
-Wl,-z,relro -o xnbd-cachestatdump xnbd_cachestatdump.o libxnbd_internal.la 
libtool: link: gcc -g -O2 -ffile-prefix-map=/build/1st/xnbd-0.3.0=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat=2 -Wcast-align -Wwrite-strings 
-Wfloat-equal -Wpointer-arith -Wswitch-enum -fstack-protector -fstack-check 
-pthread -Wl,-z -Wl,relro -o .libs/xnbd-cachestatdump xnbd_cachestatdump.o  
-lgthread-2.0 -lglib-2.0 ./.libs/libxnbd_internal.so -pthread -Wl,-rpath 
-Wl,/usr/lib/xnbd
/usr/bin/ld: ./.libs/libxnbd_internal.so: undefined reference to `major'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:639: xnbd-cachestatdump] Error 1

Reply via email to