compiles of software in the stable tree simply should not crash. Reproducible: Always Steps to Reproduce: 1.emerge terminatorx 2.wait 3. Actual Results: if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2 -O2 -march=pentium4 -fomit-frame-pointer -DXML_MANUAL=\"/usr/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -O2 -march=pentium4 -fomit-frame-pointer -MT tX_prelis.o -MD -MP -MF ".deps/tX_prelis.Tpo" -c -o tX_prelis.o tX_prelis.cc; \ then mv -f ".deps/tX_prelis.Tpo" ".deps/tX_prelis.Po"; else rm -f ".deps/tX_prelis.Tpo"; exit 1; fi tX_prelis.cc: In function `void prelis_start(char*)': tX_prelis.cc:92: error: `usempg123' undeclared (first use this function) tX_prelis.cc:92: error: (Each undeclared identifier is reported only once for each function it appears in.) make[4]: *** [tX_prelis.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82' make: *** [all] Error 2 !!! ERROR: media-sound/terminatorx-3.82 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! make failed Expected Results: well it should have compiled without fail. Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 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="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dga dio divx4linux dv dvd emboss encode esd ffmpeg fftw flac foomaticdb fortran ftp gcj gd gdbm ggi gif gpm gtk gtk2 ieee1394 imlib ipv6 jpeg ladcca libg++ libwww mad matroska matrox mikmod mime mp3 mpeg mysql ncurses nls offensive ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png python quicktime readline sdl sndfile sox speex spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb vcd videos vorbis xine xml xml2 xmms xosd xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I had the same problem. The workaroud is to "emerge mpg123". After this terminatorx compiled on my system without any problems. The solution would be to add "media-sound/mpg123" to the depend list in the ebuild.
The problem is not on the mpg123 dependance, as it doesn't need mpg123. Making it simple, the problem is that when using the "sox" use flag the makefile assumes that mpg123 is avaliable. The problem is in one of the source files and has nothing to do with the ebuild. I've submited a bug report upstream. I supose it should be closed?
*** Bug 142180 has been marked as a duplicate of this bug. ***
I still do not understand the problem adding mpg123 to DEPEND if compiled with sox-useflag until they fix it upstream. As Nick said, i would suppose stable ebuilds to compile what ever i use for my useflags. For the moment mpg123 _is_ a dependency.
http://www.terminatorx.org/download.html clearly lists mpg123 (or 321 actually) as a dependency. It seems upstream knows what terminatorx needs to build: To enhance audio file support I strongly recommend installing: * libaudiofile for loading wav, aiff and au files and sox for pre-listening and loading of file formats not supported by libaudiofile. * libvorbis for loading of OGG Vorbis (.ogg) streams and ogg123 for pre- listening to them. * The mad (MPEG Audio Decoder) library for loading mp3 streams and mpg123 or mpg321 for pre-listening of these.
depend to mpg123 or mpg321 added when using sox, thanks for reporting.