[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1067829: marked as done (nfs-utils: FTBFS on arm{el,hf}: 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=])



Your message dated Sun, 07 Apr 2024 05:21:43 +0000
with message-id <E1rtKyN-005umv-AG@fasolo.debian.org>
and subject line Bug#1067829: fixed in nfs-utils 1:2.6.4-4
has caused the Debian Bug report #1067829,
regarding nfs-utils: FTBFS on arm{el,hf}: 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=]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1067829: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067829
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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: sramacher@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

--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:2.6.4-4
Done: Salvatore Bonaccorso <carnil@debian.org>

We believe that the bug you reported is fixed in the latest version of
nfs-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1067829@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated nfs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Apr 2024 07:01:47 +0200
Source: nfs-utils
Architecture: source
Version: 1:2.6.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 1067829
Changes:
 nfs-utils (1:2.6.4-4) unstable; urgency=medium
 .
   * junction: export-cache: cast to a type with a known size to ensure sprintf
     works (Closes: #1067829)
Checksums-Sha1: 
 6c27b5a389ac39e5ab05619b148365d2d1cf05eb 2567 nfs-utils_2.6.4-4.dsc
 f2e665ebb02b790479d195353bf40646b7556b5b 49932 nfs-utils_2.6.4-4.debian.tar.xz
Checksums-Sha256: 
 518f6b368e01353fbf2b9df4493e33e94a4ca0e2474e6ffe8c5175b06850332b 2567 nfs-utils_2.6.4-4.dsc
 4938a426ce8723a189a513ddd3918b0b15c1e56799bf3e8bdb58e60fd226457a 49932 nfs-utils_2.6.4-4.debian.tar.xz
Files: 
 c9640412822ef8ea95cdac9a213dfa83 2567 net optional nfs-utils_2.6.4-4.dsc
 8bcbcf18b7af6864acdc02b7a2c3f90d 49932 net optional nfs-utils_2.6.4-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmYSKYRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89E1jYP/RFI9VequmcE3hcl7vwvnJXkrLC50R5M
AtsHYDkAO6ztIbVteTCP3XzMZxkP1r8o5dgxi0FVHHXc7I90LnhUY4LoML/6kCvx
APdONLNmfhiPjp5R6I1T7qv5yNOImSmFdZ0LpscIe2c9mmOQ9I800B5Jn+mSYL48
MT/+AND80x8xz2j70L4rFb6bSlr5EM9d9Bsz5d28/4FMmK5zgnKx7GwOMaAVdctV
w1hI7dGOYcXClJ+f5ROlsZ6CjkRSU2Am4re6aSz/bPFHNMo2IQvi+k+EEVQTpgcr
Yauy8lS70C1/moGWZA+Yj9sr53HKGwHjL1+y9ECLtYEytoF+drjT4WLfV1/Tvr4G
sW7dyZKDe3ycgG2U7OlEgJq1pUmDvEquKUBoHdfJ/j7m4KjM5MM0bwlsHSjQgDwM
lSSvwH796RgaHmOv+dDILFKoJdF4DkSPE7B+eyWpDv24XjuUazFTNz0I0o0f4Q2a
QR85zZp5W9xKzs6ZOWQKG1fGqPlUSRcs1qmH6i0ro9SHOZwYD8FOxiTA7eWDdraT
TF3lWhvxeZ2SmMnQ3B8uKX617T+xgy0Oz8c93Pc3wq3SdNmTfDt6sEC65La5wX9k
dRKHfo7hGM9VpeW3d/CrStoVHWCxPIWa8Bf81Erbm2Fu3mTTZYcb5KmSMZDJfZ+r
w0nd4iiButny
=Ia0j
-----END PGP SIGNATURE-----

Attachment: pgpn9gZ1fVFA5.pgp
Description: PGP signature


--- End Message ---

Reply to: