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 444499 - build of fresh CVS is failing in ext/sdl
build of fresh CVS is failing in ext/sdl
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-05 20:40 UTC by Fabien Tassin
Modified: 2007-06-06 16:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Fabien Tassin 2007-06-05 20:40:29 UTC
Here is a patch fixing the build issue in CVS (gst-plugins-bad):

=======
--- ext/sdl/Makefile.am.orig    2007-04-29 15:53:16.000000000 +0200
+++ ext/sdl/Makefile.am 2007-06-05 18:48:57.000000000 +0200
@@ -5,7 +5,7 @@
        sdlvideosink.c \
        sdlaudiosink.c
 
-libgstsdl_la_CFLAGS =  $(GST_PLUGINS_BASE_CFLAGS) $(SDL_CFLAGS)
+libgstsdl_la_CFLAGS =  $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(SDL_CFLAGS)
 libgstsdl_la_LIBADD =  $(GST_PLUGINS_BASE_LIBS) \
                                -lgstvideo-$(GST_MAJORMINOR) \
                                -lgstaudio-$(GST_MAJORMINOR) \
========
Comment 1 Tim-Philipp Müller 2007-06-06 08:09:00 UTC
Thanks, committed:

 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/sdl/Makefile.am:
        * ext/sdl/sdlvideosink.c: (gst_sdlv_process_events):
          Add GST_CFLAGS, which apparently somehow fixes the build somewhere
          (#444499); initialise variable to avoid false compiler warning.

Would be great if next time you could mention how the build breaks exactly, and on what kind of system, since it seems that none of us or any of the build bots noticed a problem here so far :)
Comment 2 Fabien Tassin 2007-06-06 14:35:22 UTC
This was under Ubuntu Gutsy (pre 7.10) using a local buildbot producing debs. Used to work, just -bad broken for the last few days.

Too bad I haven't kept the logs (just reorganized my stuff).

It failed at #include <gst/interfaces/x> because -I/usr/include/gstreamer-0.10 was missing from the cc line. No idea why this was different from other dirs.

I confirm it's okay now.

I have more failures caused by -Werror, should I open a case or just ignore those ?
Comment 3 Sebastian Dröge (slomo) 2007-06-06 15:00:11 UTC
Are those debs published somewhere public? :)
Comment 4 Fabien Tassin 2007-06-06 15:11:09 UTC
> Are those debs published somewhere public? :)

you mean the deb sources or a repo directly usable ?

Comment 5 Sebastian Dröge (slomo) 2007-06-06 16:37:09 UTC
A repository (and the sources are probably the plain Ubuntu ones with minimal changes?)
Comment 6 Tim-Philipp Müller 2007-06-06 16:40:51 UTC
> I have more failures caused by -Werror, should I open a case or just ignore
> those ?

No, please do file bugs for those, so we can fix them (assuming you're compiling CVS).

Preferably one bug per module, with each bug containing the warnings for the entire module build. You can get that with something like

 gst-plugins-foo $ make clean
 gst-plugins-foo $ make ERROR_CFLAGS='-Wall' 2> warnings.log

I think. Thanks!