Source: m4api
Version: 0.3~0.9646fd-2.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=m4api&arch=armel&ver=0.3%7E0.9646fd-2.1&stamp=1709541630&raw=0

[ 33%] Building C object CMakeFiles/m4api-static.dir/m4api.c.o
/usr/bin/cc   -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 -MD -MT 
CMakeFiles/m4api-static.dir/m4api.c.o -MF 
CMakeFiles/m4api-static.dir/m4api.c.o.d -o 
CMakeFiles/m4api-static.dir/m4api.c.o -c "/<<PKGBUILDDIR>>/m4api.c"
/<<PKGBUILDDIR>>/m4api.c: In function ‘m4GetVal’:
/<<PKGBUILDDIR>>/m4api.c:280:39: warning: format ‘%lu’ expects argument of type 
‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} 
[-Wformat=]
  280 |       printf("ERROR: typeLen(%d) == %lu!\n", type, m4TypeLengths[type]);
      |                                     ~~^            ~~~~~~~~~~~~~~~~~~~
      |                                       |                         |
      |                                       long unsigned int         size_t 
{aka unsigned int}
      |                                     %u
/<<PKGBUILDDIR>>/m4api.c: In function ‘m4SetFloat’:
/<<PKGBUILDDIR>>/m4api.c:413:10: error: implicit declaration of function 
‘m4SetBinary’ [-Werror=implicit-function-declaration]
  413 |   return m4SetBinary(dev, field, binary);
      |          ^~~~~~~~~~~
/<<PKGBUILDDIR>>/m4api.c: In function ‘m4GetVal’:
/<<PKGBUILDDIR>>/m4api.c:280:39: warning: format ‘%lu’ expects argument of type 
‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} 
[-Wformat=]
  280 |       printf("ERROR: typeLen(%d) == %lu!\n", type, m4TypeLengths[type]);
      |                                     ~~^            ~~~~~~~~~~~~~~~~~~~
      |                                       |                         |
      |                                       long unsigned int         size_t 
{aka unsigned int}
      |                                     %u
/<<PKGBUILDDIR>>/m4api.c: In function ‘m4SetFloat’:
/<<PKGBUILDDIR>>/m4api.c:413:10: error: implicit declaration of function 
‘m4SetBinary’ [-Werror=implicit-function-declaration]
  413 |   return m4SetBinary(dev, field, binary);
      |          ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [CMakeFiles/m4api.dir/build.make:79: 
CMakeFiles/m4api.dir/m4api.c.o] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to