nfs-utils fails to build on armhf due to time_t transition (format error)

Bug #2055349 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfs-utils (Debian)
Fix Released
Unknown
nfs-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

nfs-utils fails to build on armhf due to time_t format error:

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

see[1]

[1] https://launchpadlibrarian.net/716561911/buildlog_ubuntu-noble-armhf.nfs-utils_1%3A2.6.4-3ubuntu1_BUILDING.txt.gz

Tags: ftbfs

Related branches

Vladimir Petko (vpa1977)
tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nfs-utils - 1:2.6.4-3ubuntu3

---------------
nfs-utils (1:2.6.4-3ubuntu3) noble; urgency=medium

  * No-change rebuild against libtirpc3t64

 -- Steve Langasek <email address hidden> Thu, 29 Feb 2024 09:30:58 +0000

Changed in nfs-utils (Ubuntu):
status: New → Fix Released
Changed in nfs-utils (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.