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

Bug Watch Updater 2055349 at bugs.launchpad.net
Tue Apr 9 13:24:07 UTC 2024


** Changed in: nfs-utils (Debian)
       Status: Unknown => 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
Status in nfs-utils package in Debian:
  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