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
Touch seeded packages, which is subscribed to libgdata in Ubuntu.
https://bugs.launchpad.net/bugs/2083528

Title:
  libgdata: FTBFS with gcc-14 on armhf

Status in libgdata package in Ubuntu:
  In Progress

Bug description:
  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

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to