libgdata: FTBFS with gcc-14 on armhf

Bug #2083528 reported by Alessandro Astone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgdata (Ubuntu)
Fix Released
Undecided
Alessandro Astone

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

Tags: ftbfs oracular
Changed in libgdata (Ubuntu):
assignee: nobody → Alessandro Astone (aleasto)
status: New → In Progress
Jeremy Bícha (jbicha)
tags: added: ftbfs oracular
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgdata - 0.18.1-8

---------------
libgdata (0.18.1-8) unstable; urgency=medium

  * Team upload
  * Backport patch to drop GTimeVal usage (LP: #2083528)
  * Add proposed patch to fix build on 32-bit time_t architectures
  * Add Build-Depends: ca-certificates for tests (Closes: #1064744)

 -- Alessandro Astone <email address hidden> Wed, 02 Oct 2024 11:42:59 -0400

Changed in libgdata (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.