Public bug reported:

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

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Tags added: ftbfs

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to