[Bug 2055349] Re: nfs-utils fails to build on armhf due to time_t transition (format error)

Launchpad Bug Tracker 2055349 at bugs.launchpad.net
Thu Mar 28 08:03:41 UTC 2024


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 <steve.langasek at ubuntu.com>  Thu, 29 Feb 2024
09:30:58 +0000

** Changed in: nfs-utils (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/2055349

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

Status in nfs-utils package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2055349/+subscriptions




More information about the foundations-bugs mailing list