Bug#1065999: libnet-freedb-perl: FTBFS on arm{el, hf}: lib/linux.h:54:24: error: implicit declaration of function ‘read_toc’ [-Werror=implicit-function-declaration]

Sebastian Ramacher sramacher at debian.org
Sun Mar 10 22:14:46 GMT 2024


Source: libnet-freedb-perl
Version: 0.10-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=libnet-freedb-perl&arch=armhf&ver=0.10-4%2Bb2&stamp=1709815611&raw=0

arm-linux-gnueabihf-gcc -c  -Ilib -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC "-I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE"   FreeDB.c
In file included from lib/discid.h:37,
                 from FreeDB.xs:8:
lib/linux.h: In function ‘get_disc_id’:
lib/linux.h:54:24: error: implicit declaration of function ‘read_toc’ [-Werror=implicit-function-declaration]
   54 |     data.num_of_trks = read_toc(dev);
      |                        ^~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:340: FreeDB.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

Cheers
-- 
Sebastian Ramacher



More information about the pkg-perl-maintainers mailing list