After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769295 - Broken compilation on RPi with latest rawaudioparse changes
Broken compilation on RPi with latest rawaudioparse changes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-29 07:17 UTC by Petros
Modified: 2016-07-29 08:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Petros 2016-07-29 07:17:26 UTC
The following is thrown when trying to compile the latest master on the RPi :

gstrawaudioparse.c:970:7: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'guint64' [-Werror=format=]
       GST_DEBUG_OBJECT (raw_audio_parse,
       ^
gstrawaudioparse.c:977:7: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'guint64' [-Werror=format=]
       GST_ERROR_OBJECT (raw_audio_parse,

Seems like gcc is too strict in this case..
Comment 1 Sebastian Dröge (slomo) 2016-07-29 07:50:32 UTC
It's correct: long unsigned int is 32 bits on the RPi, while guint64 is 64 bits.

commit 1990d4337be47a4fcfe5eea01f7f1495ff0d4e1d
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Fri Jul 29 10:49:26 2016 +0300

    rawaudioparse: Use G_GINT64_MODIFIER for portability
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769295
Comment 2 Petros 2016-07-29 08:07:52 UTC
True, thanks for the quick response.