Source: nfs-utils
Version: 1:2.6.4-3
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=nfs-utils&arch=armel&ver=1%3A2.6.4-3%2Bb2&stamp=1711452552&raw=0

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../support/include 
-I/usr/include/tirpc -I/usr/include/libxml2 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
-D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes 
-Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 
-Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 
-Werror=init-self -Werror=implicit-function-declaration -Werror=return-type 
-Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return 
-Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 
-Werror=int-conversion -Werror=incompatible-pointer-types 
-Werror=misleading-indentation -Wno-cast-function-type -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -c xml.c  -fPIC -DPIC -o .libs/xml.o
export-cache.c: In function ‘junction_flush_exports_cache’:
export-cache.c:110:51: error: format ‘%ld’ expects argument of type ‘long int’, 
but argument 4 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=]
  110 |         snprintf(flushtime, sizeof(flushtime), "%ld\n", now);
      |                                                 ~~^     ~~~
      |                                                   |     |
      |                                                   |     time_t {aka 
long long int}
      |                                                   long int
      |                                                 %lld
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../support/include 
-I/usr/include/tirpc -I/usr/include/libxml2 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
-D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes 
-Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 
-Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 
-Werror=init-self -Werror=implicit-function-declaration -Werror=return-type 
-Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return 
-Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 
-Werror=int-conversion -Werror=incompatible-pointer-types 
-Werror=misleading-indentation -Wno-cast-function-type -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -c display.c -o display.o >/dev/null 2>&1
cc1: some warnings being treated as errors
make[3]: *** [Makefile:489: export-cache.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Cheers
-- 
Sebastian Ramacher

Reply via email to