Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95822 - media-video/transcode aud_aux dies in compile
Summary: media-video/transcode aud_aux dies in compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 19:08 UTC by ivo welch
Modified: 2005-12-14 13:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivo welch 2005-06-11 19:08:06 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../libac3 -I../avilib
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2
-I/usr/X11R6/include -I/usr/include -I../libvo -I../libioaux -I../libxio
-I/usr/include -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -march=athlon64 -pipe -O2 -DDCT_YUV_PRECISION=1 -MT
aud_aux.lo -MD -MP -MF.deps/aud_aux.Tpo -c aud_aux.c  -fPIC -DPIC -o .libs/aud_aux.o
aud_aux.c: In function `audio_init_lame':
aud_aux.c:286: error: `MEDIUM_FAST' undeclared (first use in this function)
aud_aux.c:286: error: (Each undeclared identifier is reported only once
aud_aux.c:286: error: for each function it appears in.)
aud_aux.c:286: error: `MEDIUM' undeclared (first use in this function)
make[2]: *** [aud_aux.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14/export'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/transcode-0.6.14-r2/work/transcode-0.6.14'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.14-r2 failed.
!!! Function src_compile, Line 132, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 14 2005, 11:04:30)]
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.5, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/p ub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 arts berkdb bitmap-fonts bonobo bzip2 calendar cdr
crypt cups curl directfb dv dvd dvdr eds emacs encode esd f77 fam fbcon flac
font-server foomaticdb fortran ftp g77 gd gdbm ggi gif gnome gphoto2 gpm
gstreamer gtk gtkhtml guile ieee1394 imagemagick imlib ipv6 java javascript jp2
jpeg junit kde kdeenablefinal ldap libedit libwww lm_sensors lzw lzw-tiff mad
mbox mikmod mime motif mozilla mp3 mpeg mval mysql nas ncurses nls ogg opengl
oss pam pcre pdflib perl png postgres ppds python qt readline ruby samba scanner
sdl session slang snmp soap spell ssl symlink tcltk tcpd tetex tidy tiff
truetype truetype-fonts type1-fonts ungif usb userlocales vorbis xine xinerama
xml xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 ivo welch 2005-07-31 18:54:58 UTC
Same bug here.  Any ways to avoid this?  it stops my "emerge --update world'
early on.


Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12 x86_64)
=================================================================
System uname: 2.6.12 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr//lib/mozilla/defaults/pref /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/p ub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LC_ALL="POSIX"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd64 arts avi berkdb bitmap-fonts bonobo bzip2 calendar
cdr crypt cups curl directfb dv dvd dvdr eds emacs encode esd f77 fam fbcon flac
foomaticdb fortran ftp g77 gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile ieee1394 imagemagick imlib ipv6 java javascript jpeg junit kde
kdeenablefinal ldap libedit libwww lm_sensors lzw lzw-tiff mad mbox mikmod mime
motif mozilla mp3 mpeg mval mysql nas ncurses nls ogg opengl pam pcre pdflib
perl png postgres ppds python qt quicktime readline ruby samba scanner sdl
session slang snmp soap spell ssl symlink tcltk tcpd tetex tidy tiff truetype
truetype-fonts type1-fonts ungif usb userlocales vorbis xine xinerama xml xml2
xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Comment 2 ivo welch 2005-07-31 19:13:42 UTC
forgot---

emerge /usr/portage/media-video/transcode/transcode-1.0.0.ebuild

gets the same error.

/iaw
Comment 3 ivo welch 2005-08-06 12:49:35 UTC
to keep this threat alive...
   USE="-lame" emerge transcode
also does not work.

the only fix that I can see:

put into /etc/portage/package.mask
>media-video/transcode-0.6.11
>app-cdr/k3b-0.10

actually, only the latter is critical for me, because it is the only cause of
transcode's emergence.

/iaw
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-07 04:41:53 UTC
Latest stable k3b should not depend on transcode. And in case it should just  
for +encode. 
Comment 5 ivo welch 2005-08-10 17:50:29 UTC
(In reply to comment #4)
> Latest stable k3b should not depend on transcode. And in case it should just  
> for +encode. 

I think it is correct that transcode is needed only for "+encode".  but, k3b's
ebuild file does require transcode if "encode" is set---assuming I read the
portage file correctly.  (the segment is below.)  should this transcode
dependency be the case?

In any case, I now understand that the better way to get me going again is to do a

USE"-encode" emerge k3b

regards,

/iaw


[of course, the real culpit here is transcode, not k3b.]


RDEPEND="${DEPEND}
	virtual/cdrtools
	>=app-cdr/cdrdao-1.1.7-r3
	media-sound/normalize
	dvdr? ( app-cdr/dvd+rw-tools )
	css? ( media-libs/libdvdcss )
	encode? ( media-sound/lame
		  media-sound/sox
		  media-video/transcode
		  media-video/vcdimager )"

Comment 6 ivo welch 2005-12-14 10:25:19 UTC
still broken for me.  this is becoming relevant again, because I cannot emerge
k3b-0.12.8, and my regular "emerge --update world" fails.

/iaw
Comment 7 ivo welch 2005-12-14 13:25:40 UTC
apparently, my problems were caused by the fact that there was an old version of
lame hanging around the /usr/local/ directory.  interestingly, the include file
was picked off the /usr/include path, and failed to have the needed definitions.

removing all the lame related files in /usr/local/* fixed the problem.

/iaw