<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>99500</bug_id>
          
          <creation_ts>2005-07-19 02:41 0000</creation_ts>
          <short_desc>attempted to merge terminatorx, emerge crashed during early stages of compililation due to an unresolvable compile error</short_desc>
          <delta_ts>2007-02-15 07:47:25 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nboughton@cambridge.org</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>gentoo@cconstruct.de</cc>
    
    <cc>jer@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>nboughton@cambridge.org</who>
            <bug_when>2005-07-19 02:41:12 0000</bug_when>
            <thetext>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=\&quot;/usr/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\&quot;
-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 &quot;.deps/tX_prelis.Tpo&quot; -c -o
tX_prelis.o tX_prelis.cc; \
then mv -f &quot;.deps/tX_prelis.Tpo&quot; &quot;.deps/tX_prelis.Po&quot;; else rm -f
&quot;.deps/tX_prelis.Tpo&quot;; exit 1; fi
tX_prelis.cc: In function `void prelis_start(char*)&apos;:
tX_prelis.cc:92: error: `usempg123&apos; 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&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82/src&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/terminatorx-3.82/work/terminatorX-3.82&apos;
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;                  
PKGDIR=&quot;/usr/portage/packages&quot;  
PORTAGE_TMPDIR=&quot;/var/tmp&quot;       
PORTDIR=&quot;/usr/portage&quot;          
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Vasudeva.Martin@gmx.de</who>
            <bug_when>2005-08-31 08:16:04 0000</bug_when>
            <thetext>I had the same problem. The workaroud is to &quot;emerge mpg123&quot;. 
After this terminatorx compiled on my system without any problems. 
The solution would be to add &quot;media-sound/mpg123&quot; to the depend list in the ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2006-04-30 07:50:39 0000</bug_when>
            <thetext>The problem is not on the mpg123 dependance, as it doesn&apos;t need mpg123.

Making it simple, the problem is that when using the &quot;sox&quot; 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&apos;ve submited a bug report upstream.

I supose it should be closed?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-07-30 07:00:56 0000</bug_when>
            <thetext>*** Bug 142180 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@cconstruct.de</who>
            <bug_when>2006-08-16 00:45:10 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2006-11-21 20:05:52 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2007-02-15 07:47:25 0000</bug_when>
            <thetext>depend to mpg123 or mpg321 added when using sox, thanks for reporting.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>