Bug#916121: array-info FTBFS with glibc 2.28
Control: tags -1 + patch Thank you for the heads up. I had a look at the code, and this patch get the code building. diff --git a/include/array_info.h b/include/array_info.h index 70d6458..2566ee7 100644 --- a/include/array_info.h +++ b/include/array_info.h @@ -44,6 +44,7 @@ #define _ARRAY_INFO_H_ #include +#include #include #include #include I currently lack the hardware required to verify the new code work, but am quite sure I found the correct header to include. -- Happy hacking Petter Reinholdtsen
Bug#916121: array-info FTBFS with glibc 2.28
Source: array-info Version: 0.16-3 Severity: serious Tags: ftbfs https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/array-info.html ... array_utils.c: In function 'open_ctrl': array_utils.c:63:35: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] array_data->device_major.major = major(stat_buf.st_rdev); ^ array_utils.c:64:35: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] array_data->device_major.minor = minor(stat_buf.st_rdev); ^ ... /usr/bin/ld: array_utils.o: in function `open_ctrl': /build/1st/array-info-0.16/array_utils.c:63: undefined reference to `major' /usr/bin/ld: /build/1st/array-info-0.16/array_utils.c:64: undefined reference to `minor' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:41: array-info] Error 1