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

Salvatore Bonaccorso 2055349 at bugs.launchpad.net
Sun Apr 7 06:43:26 UTC 2024


** Bug watch added: Debian Bug tracker #1067829
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067829

** Also affects: nfs-utils (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067829
   Importance: Unknown
       Status: Unknown

-- 
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:
  Unknown

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