[gstreamer-bugs] [Bug 598114] New: build overwrites interfaces/interfaces-enumtypes.h with wrong enumtypes
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Oct 11 14:00:53 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=598114
GStreamer | gst-plugins-base | git
Summary: build overwrites interfaces/interfaces-enumtypes.h
with wrong enumtypes
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ensonic at sonicpulse.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
cd gst-plugins-base/gst-libs/gst
make clean all
ls -alt */*enumtypes.h
-rw-r--r-- 1 ensonic users 916 11. Okt 23:01 audio/audio-enumtypes.h
-rw-r--r-- 1 ensonic users 1786 11. Okt 23:00 interfaces/interfaces-enumtypes.h
-rw-r--r-- 1 ensonic users 373 11. Okt 22:54 video/video-enumtypes.h
-rw-r--r-- 1 ensonic users 1194 11. Okt 22:53 rtsp/gstrtsp-enumtypes.h
-rw-r--r-- 1 ensonic users 419 11. Okt 22:53 pbutils/pbutils-enumtypes.h
touch audio/gstringbuffer.h
make 2>&1 >make.log V=1
ls -alt */*enumtypes.h
-rw-r--r-- 1 ensonic users 916 11. Okt 23:03 interfaces/interfaces-enumtypes.h
-rw-r--r-- 1 ensonic users 916 11. Okt 23:03 audio/audio-enumtypes.h
-rw-r--r-- 1 ensonic users 373 11. Okt 22:54 video/video-enumtypes.h
-rw-r--r-- 1 ensonic users 1194 11. Okt 22:53 rtsp/gstrtsp-enumtypes.h
-rw-r--r-- 1 ensonic users 419 11. Okt 22:53 pbutils/pbutils-enumtypes.h
as you can see interfaces/interfaces-enumtypes.h contains the same stuff as
audio/audio-enumtypes.h
To temporarily fix it run:
cd interfaces/ && make clean all && cd ..
The problem seems to be that building audio/mixerutils.c references
gst/interfaces/mixer.h which in turn references
gst/interfaces/interfaces-enumtypes.h.
This triggers the rule in common/glib-gen.mak
%-enumtypes.h: $(glib_enum_headers)
glib-mkenums ...
unfortunately it is triggered for the wrong headers :/ I added an echo to the
rule:
glib-mkenums ../../../gst-libs/gst/interfaces/interfaces-enumtypes.h :
multichannel.h gstringbuffer.h
Is there any other way than removing the pattern rule and using e.g.
glib_enum_basename=audio
in Makefile.am and
$(glib_enum_basename)-enumtypes.h: $(glib_enum_headers)
glib-mkenums ...
$(glib_enum_basename)-enumtypes.c: $(glib_enum_headers)
glib-mkenums ...
in common/glib-gen.mak?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list