Public bug reported:

libgdata fails to build on armhf with the strict pointer type matching
of gcc-14, because it internally mixes 64-bit time_t and 32-bit
GTimeVal.

../demos/calendar/calendar-cli.c: In function ‘tv_to_iso8601_date’:
../demos/calendar/calendar-cli.c:47:22: error: passing argument 1 of ‘gmtime’ 
from incompatible pointer type [-Wincompatible-pointer-types]
   47 |         tm = gmtime (&tv->tv_sec);
      |                      ^~~~~~~~~~~
      |                      |
      |                      glong * {aka long int *}
[...]
/usr/include/time.h:140:18: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘glong *’ {aka ‘long int *’}

https://launchpadlibrarian.net/749244194/buildlog_ubuntu-oracular-
armhf.libgdata_0.18.1-7_BUILDING.txt.gz

** Affects: libgdata (Ubuntu)
     Importance: Undecided
     Assignee: Alessandro Astone (aleasto)
         Status: In Progress

** Changed in: libgdata (Ubuntu)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Changed in: libgdata (Ubuntu)
       Status: New => In Progress

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

Title:
  libgdata: FTBFS with gcc-14 on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgdata/+bug/2083528/+subscriptions


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

Reply via email to