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 151421 - [PATCH] playback/test3.c build failure on x86_64
[PATCH] playback/test3.c build failure on x86_64
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-30 13:04 UTC by Nathan Robertson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Correct patch (624 bytes, patch)
2004-08-30 18:50 UTC, Ronald Bultje
none Details | Review

Description Nathan Robertson 2004-08-30 13:04:12 UTC
Another -Werror / jhbuild on x86_64. This time:

if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../gst-libs -I../../gst-libs
-pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/nathanr/bin/gnome2-cvs/include/glib-2.0
-I/home/nathanr/bin/gnome2-cvs/lib64/glib-2.0/include
-I/home/nathanr/bin/gnome2-cvs/include/libxml2
-I/home/nathanr/bin/gnome2-cvs/include/gstreamer-0.8   -DGST_DISABLE_DEPRECATED
 -Wall -Werror -g -O2 -MT test3-test3.o -MD -MP -MF ".deps/test3-test3.Tpo" -c
-o test3-test3.o `test -f 'test3.c' || echo './'`test3.c; \
then mv -f ".deps/test3-test3.Tpo" ".deps/test3-test3.Po"; else rm -f
".deps/test3-test3.Tpo"; exit 1; fi
test3.c: In function `update_scale':
test3.c:33: warning: long long int format, guint64 arg (arg 2)
test3.c:33: warning: long long int format, guint64 arg (arg 3)
make[3]: *** [test3-test3.o] Error 1
make[3]: Leaving directory
`/home/nathanr/download/gnome-cvs/gst-plugins/gst/playback'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins'
make: *** [all] Error 2
*** error during stage build of gst-plugins: could not build module *** [70/91]

fixed by:

--- test3.c.~1.1.~      2004-07-08 02:53:55.000000000 +1000
+++ test3.c     2004-08-30 23:00:53.528264752 +1000
@@ -30,7 +30,7 @@
   gst_element_query (element, GST_QUERY_TOTAL, &format, &duration);
   gst_element_query (element, GST_QUERY_POSITION, &format, &position);
  
-  g_print ("%lld %lld\n", duration, position);
+  g_print ("%lld %lld\n", (long long int)duration, (long long int)position);
  
   return TRUE;
 }
Comment 1 Ronald Bultje 2004-08-30 18:50:46 UTC
Created attachment 31098 [details] [review]
Correct patch
Comment 2 Ronald Bultje 2004-08-31 14:13:10 UTC
Fixed.