First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45597
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Minges <athemis@ish.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
4015-gst-plugins-0.8.0-r1.log Build log for gst-plugins-0.8.0-r1 text/plain Alexander Minges 2004-03-24 09:08 0000 460.97 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45597 depends on: Show dependency tree
Bug 45597 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-24 06:09 0000
I get the following error when I try to compile gst-plugins-0.8.0-r1.
There's a (quite dirty?) workaround:

Add 

cp ${S}/ext/vorbis/vorbisenc.h ${S}/ext/ivorbis/vorbisenc.h

at the bottom of the src_unpack() fucntion in the ebuild.


Reproducible: Always
Steps to Reproduce:
1. emerge gst-plugins
2.
3.

Actual Results:  
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   
-I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread
-I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2   -DGST_DISABLE_DEPRECATED  -Wall -Wno-sign-compare 
-march=athlon-tbird -O2 -pipe -MT libgstivorbis_la-vorbisfile.lo -MD -MP -MF
".deps/libgstivorbis_la-vorbisfile.Tpo" \
  -c -o libgstivorbis_la-vorbisfile.lo `test -f 'vorbisfile.c' || echo
'./'`vorbisfile.c; \
then mv -f ".deps/libgstivorbis_la-vorbisfile.Tpo"
".deps/libgstivorbis_la-vorbisfile.Plo"; \
else rm -f ".deps/libgstivorbis_la-vorbisfile.Tpo"; exit 1; \
fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -march=athlon-tbird -O2 -pipe
-MT libgstivorbis_la-vorbis.lo -MD -MP -MF .deps/libgstivorbis_la-vorbis.Tpo -c
vorbis.c  -fPIC -DPIC -o .libs/libgstivorbis_la-vorbis.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -Wall -Wno-sign-compare -march=athlon-tbird -O2 -pipe
-MT libgstivorbis_la-vorbisfile.lo -MD -MP -MF
.deps/libgstivorbis_la-vorbisfile.Tpo -c vorbisfile.c  -fPIC -DPIC -o
.libs/libgstivorbis_la-vorbisfile.o
vorbis.c:24:23: vorbisenc.h: No such file or directory
vorbis.c:26: error: syntax error before "ivorbisfile_get_type"
vorbis.c:26: warning: type defaults to `int' in declaration of
`ivorbisfile_get_type'
vorbis.c:26: warning: data definition has no type or storage class
vorbis.c:30: error: syntax error before "plugin_init"
vorbis.c:30: error: syntax error before '*' token
vorbis.c:31: warning: return type defaults to `int'
vorbis.c: In function `plugin_init':
vorbis.c:32: warning: implicit declaration of function `gst_library_load'
vorbis.c:33: error: `FALSE' undeclared (first use in this function)
vorbis.c:33: error: (Each undeclared identifier is reported only once
vorbis.c:33: error: for each function it appears in.)
vorbis.c:35: warning: implicit declaration of function `gst_element_register'
vorbis.c:35: error: `plugin' undeclared (first use in this function)
vorbis.c:35: error: `GST_RANK_PRIMARY' undeclared (first use in this function)
vorbis.c:39: error: `TRUE' undeclared (first use in this function)
vorbis.c: At top level:
vorbis.c:44: error: syntax error before string constant
make[3]: *** [libgstivorbis_la-vorbis.lo] Fehler 1
make[3]: *** Waiting for unterminated processes...
make[3]: Leaving directory
`/var/tmp/portage/gst-plugins-0.8.0-r1/work/gst-plugins-0.8.0/ext/ivorbis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gst-plugins-0.8.0-r1/work/gst-plugins-0.8.0/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gst-plugins-0.8.0-r1/work/gst-plugins-0.8.0'
make: *** [all] Error 2
 
!!! ERROR: media-libs/gst-plugins-0.8.0-r1 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)


Expected Results:  
Should have compiled cleanly.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-rc1-love1)
=================================================================
System uname: 2.6.5-rc1-love1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bonobo breakme caps cdr
composite crypt cups dga directfb divx dri dvd dvdr encode esd evms2 faad fbcon
flac foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml imap
imlib ipv6 jack jack-caps java jikes joystick jpeg kde libg++ libwww mad mikmod
mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pda
pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell
ssl svga tcltk tcpd threads tiff truetype usb wmf x86 xface xfs xinerama xml
xml2 xmms xv xxvid zlib"

------- Comment #1 From foser (RETIRED) 2004-03-24 07:28:00 0000 -------
gst-plugins ebuild shouldn't be trying to build these plugins, so you i don't
see how this could happen.

Could you attac the full build log ?

------- Comment #2 From Alexander Minges 2004-03-24 09:08:54 0000 -------
Created an attachment (id=27929) [details]
Build log for gst-plugins-0.8.0-r1

Here's the build log

------- Comment #3 From foser (RETIRED) 2004-03-24 15:46:12 0000 -------
well.. what i expected, it is trying to build plugins which aren't supposed to
build, but no clue why really.

Can you check your setup is up-to-date ? Is
/usr/portage/eclass/gst-plugins.eclass @ version 1.9 ? (check header)

What sort of shell are you using ?

------- Comment #4 From Alexander Minges 2004-03-25 04:16:25 0000 -------
Actually my eclass was dated somewhen in December last year (V1.1 or so). No
idea why. I deleted it, did an 'emerge sync' and now everything is fine.

Too strange...

First Last Prev Next    No search results available      Search page      Enter new bug