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 545138 - brasero 0.8 ftbfs on alpha
brasero 0.8 ftbfs on alpha
Status: RESOLVED FIXED
Product: brasero
Classification: Applications
Component: general
0.8.0
Other Linux
: Normal normal
: 0.8
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-07-28 12:15 UTC by Pedro Fragoso
Modified: 2008-08-01 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Fragoso 2008-07-28 12:15:48 UTC
http://buildd.debian.org/fetch.cgi?pkg=brasero;ver=0.8.0-1;arch=alpha;stamp=1216663328

brasero-xfer.c: In function 'brasero_xfer':
brasero-xfer.c:111: warning: 'io' is used uninitialized in this function
cc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DBRASERO_LOCALE_DIR=\""/usr/share/locale"\" -DBRASERO_PREFIX=\"/usr\" -DBRASERO_SYSCONFDIR=\"/etc\" -DBRASERO_DATADIR=\"/usr/share/brasero\" -DBRASERO_LIBDIR=\"/usr/lib\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -g -O2 -g -Wall -O2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -g -O2 -g -Wall -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -g -Wall -O2 -DDBUS_API_SUBJECT_TO_CHANGE -DORBIT2=1 -pthread -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0   -g -O2 -g -Wall -O2 -I/usr/include/libbeagle -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -DORBIT2=1 -I/usr/include/totem-pl-parser/1/plparser -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/evolution-data-server-2.22 -I/usr/include/gtk-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2     -g -g -O2 -g -Wall -O2 -c burn-session.c
burn-session.c: In function 'brasero_burn_session_get_file_complement':
burn-session.c:521: warning: field precision should have type 'int', but argument 2 has type 'size_t'
burn-session.c:529: warning: field precision should have type 'int', but argument 2 has type 'size_t'
burn-session.c:537: warning: field precision should have type 'int', but argument 2 has type 'size_t'
burn-session.c: In function 'brasero_burn_session_logv':
burn-session.c:1441: error: used struct type value where scalar is required
make[4]: *** [burn-session.o] Error 1
make[4]: Leaving directory `/build/buildd/brasero-0.8.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/brasero-0.8.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/brasero-0.8.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/brasero-0.8.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

I don't know much about this but perhaps a missing include on stdarg.h?
Comment 1 Luis Medinas 2008-07-29 04:37:02 UTC
could be also a casting problem using newer gcc's i'll take a look.
thanks for reporting
Comment 2 Pedro Fragoso 2008-08-01 12:08:12 UTC
Any news on this?
Comment 3 Philippe Rouquier 2008-08-01 14:06:49 UTC
your version seems to be gcc-4.2 (right?) and I have 4.3 (fedora) which doesn't report such problem =(.
Comment 4 Luis Medinas 2008-08-01 15:10:27 UTC
I have gcc 4.2 and i can't reproduce the problem either but on other archs like alpha compilers are a little different (big/little endian) i can ask a friend with an alpha to help fix this bug.
Comment 5 Simon McVittie 2008-08-01 15:28:27 UTC
This is Debian bug <http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=493210>. va_list appears to be a struct, not a pointer, on Alpha.

brasero_burn_session_logv seems to try to detect whether there are additional arguments by treating the va_list as a pointer that will be non-NULL if there are additional arguments. This is doomed to failure - you can't assume anything about a va_list.

Can't you just call g_strdup_vprintf() unconditionally?
Comment 6 Philippe Rouquier 2008-08-01 19:30:39 UTC
Yes, Good idea. That should be fixed now in trunk.