! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo fails to build on amd64 (using HAL)
Status:
CLOSED: FIXED

Comments

Description Gauvain Pocentek 2007-01-15 13:13:55 CET
Here is the end of the build log:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -DEXO_API_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN=\"exo-hal\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DHAVE_GNUC_VISIBILITY -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -Wall -Werror -DG_ENABLE_DEBUG -O0 -g3 -MT libexo_hal_0_3_la-exo-hal.lo -MD -MP -MF .deps/libexo_hal_0_3_la-exo-hal.Tpo -c exo-hal.c  -fPIC -DPIC -o .libs/libexo_hal_0_3_la-exo-hal.o
cc1: warnings being treated as errors
exo-hal.c: In function 'exo_hal_volume_compute_display_name':
exo-hal.c:795: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'guint64'
make[2]: *** [libexo_hal_0_3_la-exo-hal.lo] Erreur 1
make[2]: quittant le répertoire « /tmp/trunk/exo-hal »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /tmp/trunk »
make: *** [all] Erreur 2

This happens using the current svn, with glib 2.12.7 and hal 0.5.8.1 (ubuntu feisty).
Comment 1 Benedikt Meurer editbugs 2007-01-15 13:28:54 CET
Locate glibconfig.h on your system (probably under /usr/include/ or /usr/lib) and post the output of grep G_GUINT64_FORMAT glibconfig.h here.
Comment 2 Gauvain Pocentek 2007-01-15 13:32:39 CET
gauvain@joe:~$ grep G_GUINT64_FORMAT /usr/lib/glib-2.0/include/glibconfig.h
#define G_GUINT64_FORMAT "lu"

So is this something I need to fix on my side?
Comment 3 Benedikt Meurer editbugs 2007-01-15 14:27:15 CET
Nope, I'm going to fix that.
Comment 4 Benedikt Meurer editbugs 2007-01-15 14:29:41 CET
Fixed with revision 24481.

2007-01-15      Benedikt Meurer <benny@xfce.org>

        * exo-hal/exo-hal.c(exo_hal_volume_compute_display_name): Fix
          compilation on adm64, using G_GUINT64_FORMAT instead of assuming
          it's llu. Bug #2758.

Bug #2758

Reported by:
Gauvain Pocentek
Reported on: 2007-01-15
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
0.3.1.13svn

Attachments

Additional information