Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55923

Summary: emerge gst-plugins-mad-0.8.1 fails, almost same as #53045
Product: Gentoo Linux Reporter: gygas2000
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 55947    

Description gygas2000 2004-07-02 17:19:03 UTC
when trying to emerge gnome-2.6 or gst-plugins-mad-0.8.1 (dependency of gnome-2.6), the compilation fails with the following error:

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 -O2 -march=athlon-xp -pipe -MT libgstmad_la-gstid3tag.lo -MD -MP -MF .deps/libgstmad_la-gstid3tag.Tpo -c gstid3tag.c  -fPIC -DPIC -o .libs/libgstmad_la-gstid3tag.o
gstmad.c: In function `gst_mad_emphasis_get_type':
gstmad.c:248: error: `MAD_EMPHASIS_RESERVED' undeclared (first use in this function)
gstmad.c:248: error: (Each undeclared identifier is reported only once
gstmad.c:248: error: for each function it appears in.)
gstmad.c:248: error: initializer element is not constant
gstmad.c:248: error: (near initialization for `mad_emphasis[4].value')
gstmad.c:248: error: initializer element is not constant
gstmad.c:248: error: (near initialization for `mad_emphasis[4]')
gstmad.c:249: error: initializer element is not constant
gstmad.c:249: error: (near initialization for `mad_emphasis[5]')
make: *** [libgstmad_la-gstmad.lo] Error 1
make: *** Waiting for unfinished jobs....
gstid3tag.c: In function `tag_list_to_id3_tag_foreach':
gstid3tag.c:606: warning: implicit declaration of function `id3_frame_new'
gstid3tag.c:606: warning: assignment makes pointer from integer without a cast
gstid3tag.c:612: warning: implicit declaration of function `id3_frame_field'
gstid3tag.c:612: warning: assignment makes pointer from integer without a cast
gstid3tag.c:614: warning: assignment makes pointer from integer without a cast
gstid3tag.c: In function `gst_id3_tag_handle_event':
gstid3tag.c:769: warning: implicit declaration of function `id3_tag_options'

!!! ERROR: media-plugins/gst-plugins-mad-0.8.1 failed.
!!! Function gst-plugins_src_compile, Line 165, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
1. emerge gnome or emerge gst-plugins-mad after having synced for the morning of July 2nd, 2004.

Actual Results:  
the compilation failed

Expected Results:  
continued compilation, and hopefully, gnome 2.6.

bash-2.05b# emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com
http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++
libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"

bash-2.05b#
Comment 1 foser (RETIRED) gentoo-dev 2004-07-05 11:13:02 UTC
and you are sure it's not the same problem as in the mentioned bug ?
Comment 2 gygas2000 2004-07-05 17:06:34 UTC
no, but the solution given in the other bug doesn't seem to work.
Comment 3 gygas2000 2004-07-09 18:04:16 UTC
This is a bug with the >=gst-plugins-mad-0.8.1 ebuild; it depends on >=libmad-0.15.0 when it should depend on >=libmad-0.15.1. I updated libmad and now the compilation goes smoothly. this is NOT fixed!!
Comment 4 foser (RETIRED) gentoo-dev 2004-07-11 09:07:20 UTC
actually it 0.15.0b that is needed at minimum, so i fixed the dep to just that.

thanks for the report