<?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>97936</bug_id>
          
          <creation_ts>2005-07-04 14:11 0000</creation_ts>
          <short_desc>mpeg4ip 1.3 won&apos;t compile with gcc 3.4</short_desc>
          <delta_ts>2005-11-19 09:12:38 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>All</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>jva-misc@cute.se</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>
    
    <cc>hetfield666@gmail.com</cc>
    
    <cc>spamlover@dahlen.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jva-misc@cute.se</who>
            <bug_when>2005-07-04 14:11:20 0000</bug_when>
            <thetext>When emerging mpeg4ip 1.3 on AMD64 the emerge stops giving me this error:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:121
6:   instantiated from `_OutIter std::num_put&lt;_CharT, _OutIter&gt;::do_put(_OutIter
, std::ios_base&amp;, _CharT, double) const [with _CharT = char, _OutIter = std::ost
reambuf_iterator&lt;char, std::char_traits&lt;char&gt; &gt;]&apos;
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.h:2349:
   instantiated from `_OutIter std::num_put&lt;_CharT, _OutIter&gt;::put(_OutIter, std
::ios_base&amp;, _CharT, double) const [with _CharT = char, _OutIter = std::ostreamb
uf_iterator&lt;char, std::char_traits&lt;char&gt; &gt;]&apos;
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:246:   in
stantiated from `std::basic_ostream&lt;_CharT, _Traits&gt;&amp; std::basic_ostream&lt;_CharT,
 _Traits&gt;::operator&lt;&lt;(double) [with _CharT = char, _Traits = std::char_traits&lt;ch
ar&gt;]&apos;
tools_entropy_huffman.cpp:246:   instantiated from here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/x86_64-pc-linux-gnu/bits/c
++locale.h:84: warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4/src&apos;
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4&apos;
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common &apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3&apos;
make: *** [all] Error 2

Emerging mpeg4ip 1.1 worked, but I need 1.3. This is my emerge info:
(I&apos;ve tried emerging with the CFLAGS turned off)

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11
x86_64)=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 22 2005, 23:06:56)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
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=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.gentoo.se http://mirror.pudas.net/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 3dnow 3dnowext 7zip X a52 acpi alsa bcmath berkdb bitmap-fonts bzlib
cdr crypt cups curl dvd dvdr eds esd fam flac font-server fortran ftp gdbm gif
gnome gnutls gpm gstreamer gtk imlib ipv6 jp2 jpeg jpeg2k libwww lzo lzw
lzw-tiff mad mmx mmxext mozilla mp3 multilib mysql ncurses network nls nptl ogg
oggvorbis opengl oss pam perl png python qt readline sdl slang sqlite sse sse2
ssl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales vorbis xinerama xml xml2 xmms xpm xrandr xv zlib
userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS=&quot;~amd64&quot; emerge mpeg4ip

I emerge with these USE-flags enabled:
a52 aac alsa esd ffmpeg id3 ipv6 lame mmx mpeg2 xvid

I&apos;ve tried to emerge without mmx, but it still failed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jva-misc@cute.se</who>
            <bug_when>2005-07-07 09:41:56 0000</bug_when>
            <thetext>Created an attachment (id=62851)
A patch that solves the emerge problem

Here is a patch we made that solves the compile problem. This have been tested
and mpeg4ip 1.3 now compiles on both gcc version 3.4.4. Only partly tested on
gcc 3.3.5-20050130, but seems to work just fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jva-misc@cute.se</who>
            <bug_when>2005-07-07 10:16:22 0000</bug_when>
            <thetext>I acted too fast. The patch does not work properly yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gilles.gagniard@gmail.com</who>
            <bug_when>2005-07-15 05:30:08 0000</bug_when>
            <thetext>I also have the exact same problem on a regular x86 machine (non-AMD64) 
though ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2005-08-08 11:02:32 0000</bug_when>
            <thetext>I also see this problem on a x86 machine. I&apos;ve used the same resolution that was
used in the ebuild for mpeg4ip 1.1: to remove the -Werror argument from CFLAGS.
With this removed the warning is still shown but at least compilation continues.
This obviously assumes that the warning is not fatal.

Check the 1.1 ebuild for the exact syntax.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fatty@gsklan.de</who>
            <bug_when>2005-09-28 14:31:07 0000</bug_when>
            <thetext>Sorry, Hans de Graaff, your solution didn&apos;t work for me. 
 
I put the following lines into the ebuild: 
---------------------------- 
src_unpack() { 
    unpack ${A} 
    cd ${S} 
    sed -i -e &apos;s/-Wmissing-prototypes//g&apos; -e &apos;s/-Werror//g&apos; configure 
} 
---------------------------- 
 
Unfortunately I just get the same error again. 
 
 
--------------------------- 
emerge info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4     CPU 
3.06GHz 
Gentoo Base System version 1.6.13 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.12 
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.6 
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;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/env.d&quot; 
CXXFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoconfig candy ccache distlocks sandbox sfperms strict&quot; 
GENTOO_MIRRORS=&quot;ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/&quot; 
LANG=&quot;de_DE.UTF-8&quot; 
LC_ALL=&quot;de_DE.UTF-8&quot; 
LINGUAS=&quot;de&quot; 
MAKEOPTS=&quot;-j2&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/gentoo-de&quot; 
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot; 
USE=&quot;x86 16bit S3TC X Xaw3d aac aalib acpi alsa amarok apache2 arts audiofile 
avi berkdb bitmap-fonts bmp bootsplash bzip2 ccache cdda cddb cdio cdparanoia 
cdr cdrom crypt cscope cups curl dba dga dhcp dio directfb divx4linux doc dpms 
dv dvd dvdr dvdread eds emboss emoticon encode ethereal expat fam fame fbcon 
fbsplash ffmpeg fftw flac font-server foomaticdb fortran freetype ftp gd gdbm 
gif gimp gimpprint gkrellm glade glibc glut gnome gnuplot gpm gs gstreamer gtk 
gtk2 gtkhtml guile hal html http httpd iconv icq id3 ieee1394 imagemagick 
imlib imlib2 ipv6 irc jabber java javascript jce jp2 jpeg jpeg2k junit kde 
kdeenablefinal lame lapack latex lcms ldap libg++ libwww live lm_sensors 
logitech-mouse logrotate lzo lzw mad mbox md5sum mikmod mime mimencode mixer 
mjpeg mmx mng motif mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses 
net network nls no-old-linux nojoystick nptl nptlonly nvidia objc octave ogg 
oggvorbis openal opengl openssh oss pam pcmcia pdflib perl php pic player 
plotutils png posix ppds print pwdb python qt quicktime quotes readline real 
rtc samba scanner sdl sftplogging sharedmem slang sndfile sockets socks5 
sounds sox speex spell sse sse2 ssl stream svg svga syslog sysvipc tcltk tcpd 
tetex threads tiff transcode truetype truetype-fonts type1 type1-fonts ucs2 
ucs4 unicode usb userlocales utf8 vcd vcdimager vim vim-with-x vorbis wifi 
win32codecs xine xinetd xml xml2 xosd xpm xprint xrandr xscreensaver xsl xv 
xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc&quot; 
Unset:  ASFLAGS, CTARGET, LDFLAGS </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugzillas@wzzrd.com</who>
            <bug_when>2005-11-03 23:48:59 0000</bug_when>
            <thetext>The new easytag 1.99.9 seems to have a dependency upon mpeg3ip 1.3. Sadly, the
b0rkage described above still isn&apos;t fixed. I&apos;ll also report this as bug for easytag.



(In reply to comment #5)
&gt; Sorry, Hans de Graaff, your solution didn&apos;t work for me. 
&gt;  
&gt; I put the following lines into the ebuild: 
&gt; ---------------------------- 
&gt; src_unpack() { 
&gt;     unpack ${A} 
&gt;     cd ${S} 
&gt;     sed -i -e &apos;s/-Wmissing-prototypes//g&apos; -e &apos;s/-Werror//g&apos; configure 
&gt; } 
&gt; ---------------------------- 
&gt;  
&gt; Unfortunately I just get the same error again. 
&gt;  
&gt;  
&gt; --------------------------- 
&gt; emerge info 
&gt; Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
&gt; 2.6.12-gentoo-r6 i686) 
&gt; ================================================================= 
&gt; System uname: 2.6.12-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4     CPU 
&gt; 3.06GHz 
&gt; Gentoo Base System version 1.6.13 
&gt; ccache version 2.3 [enabled] 
&gt; dev-lang/python:     2.3.5-r2 
&gt; sys-apps/sandbox:    1.2.12 
&gt; sys-devel/autoconf:  2.13, 2.59-r6 
&gt; sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
&gt; sys-devel/binutils:  2.15.92.0.2-r10 
&gt; sys-devel/libtool:   1.5.18-r1 
&gt; virtual/os-headers:  2.6.11-r2 
&gt; ACCEPT_KEYWORDS=&quot;x86&quot; 
&gt; AUTOCLEAN=&quot;yes&quot; 
&gt; CBUILD=&quot;i686-pc-linux-gnu&quot; 
&gt; CFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot; 
&gt; CHOST=&quot;i686-pc-linux-gnu&quot; 
&gt; CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /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/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control&quot; 
&gt; CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/env.d&quot; 
&gt; CXXFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer&quot; 
&gt; DISTDIR=&quot;/usr/portage/distfiles&quot; 
&gt; FEATURES=&quot;autoconfig candy ccache distlocks sandbox sfperms strict&quot; 
&gt; GENTOO_MIRRORS=&quot;ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
&gt; ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
&gt; ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/&quot; 
&gt; LANG=&quot;de_DE.UTF-8&quot; 
&gt; LC_ALL=&quot;de_DE.UTF-8&quot; 
&gt; LINGUAS=&quot;de&quot; 
&gt; MAKEOPTS=&quot;-j2&quot; 
&gt; PKGDIR=&quot;/usr/portage/packages&quot; 
&gt; PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
&gt; PORTDIR=&quot;/usr/portage&quot; 
&gt; PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/gentoo-de&quot; 
&gt; SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot; 
&gt; USE=&quot;x86 16bit S3TC X Xaw3d aac aalib acpi alsa amarok apache2 arts audiofile 
&gt; avi berkdb bitmap-fonts bmp bootsplash bzip2 ccache cdda cddb cdio cdparanoia 
&gt; cdr cdrom crypt cscope cups curl dba dga dhcp dio directfb divx4linux doc dpms 
&gt; dv dvd dvdr dvdread eds emboss emoticon encode ethereal expat fam fame fbcon 
&gt; fbsplash ffmpeg fftw flac font-server foomaticdb fortran freetype ftp gd gdbm 
&gt; gif gimp gimpprint gkrellm glade glibc glut gnome gnuplot gpm gs gstreamer gtk 
&gt; gtk2 gtkhtml guile hal html http httpd iconv icq id3 ieee1394 imagemagick 
&gt; imlib imlib2 ipv6 irc jabber java javascript jce jp2 jpeg jpeg2k junit kde 
&gt; kdeenablefinal lame lapack latex lcms ldap libg++ libwww live lm_sensors 
&gt; logitech-mouse logrotate lzo lzw mad mbox md5sum mikmod mime mimencode mixer 
&gt; mjpeg mmx mng motif mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses 
&gt; net network nls no-old-linux nojoystick nptl nptlonly nvidia objc octave ogg 
&gt; oggvorbis openal opengl openssh oss pam pcmcia pdflib perl php pic player 
&gt; plotutils png posix ppds print pwdb python qt quicktime quotes readline real 
&gt; rtc samba scanner sdl sftplogging sharedmem slang sndfile sockets socks5 
&gt; sounds sox speex spell sse sse2 ssl stream svg svga syslog sysvipc tcltk tcpd 
&gt; tetex threads tiff transcode truetype truetype-fonts type1 type1-fonts ucs2 
&gt; ucs4 unicode usb userlocales utf8 vcd vcdimager vim vim-with-x vorbis wifi 
&gt; win32codecs xine xinetd xml xml2 xosd xpm xprint xrandr xscreensaver xsl xv 
&gt; xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc&quot; 
&gt; Unset:  ASFLAGS, CTARGET, LDFLAGS 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spamlover@dahlen.org</who>
            <bug_when>2005-11-04 01:26:54 0000</bug_when>
            <thetext>Same her, ~x86, gcc-3.4.4
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2005-11-04 06:28:14 0000</bug_when>
            <thetext>*** Bug 111468 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kenyon@kenyonralph.com</who>
            <bug_when>2005-11-04 14:52:25 0000</bug_when>
            <thetext>I think I&apos;m having the same error, except I don&apos;t actually get any error
messages.  The last line is this:
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O3
-march=pentium4 -fomit-frame-pointer -pipe -DMPEG4IP -I/usr/include/SDL
-D_REENTRANT -MT tools_entropy_huffman.lo -MD -MP -MF
.deps/tools_entropy_huffman.Tpo -c tools_entropy_huffman.cpp  -fPIC -DPIC -o
.libs/tools_entropy_huffman.o

Then it just returns to the prompt.  Always stops at the same file.

emerge info:
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-archck1 i686)
=================================================================
System uname: 2.6.14-archck1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=pentium4 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=pentium4 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks fixpackages sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.mirrors.easynews.com/linux/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org
http://gentoo.mirrors.pair.com&quot;
LANG=&quot;en_US.utf8&quot;
LC_ALL=&quot;en_US.utf8&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 caps cdparanoia cdr crypt cups curl dbus dts dvd eds emboss
encode exif fam ffmpeg flac font-server foomaticdb fortran freetype gdbm gif
gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 java
jikes jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lm_sensors mad matroska
mmx mng mp3 mpeg ncurses network nls nptl nvidia offensive ogg oggvorbis opengl
pdflib perl pic png ppds python qt quicktime readline real ruby samba scanner
sdl slang sndfile snmp spell sse sse2 ssl svg svga tcpd tetex theora threads
tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf
wxwindows xine xml2 xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2005-11-05 00:31:22 0000</bug_when>
            <thetext>yes, infact there is no important error, just a warning, but the -Werror gcc flag make this   
return 1.   
   
i&apos;ve done this solution, it works:   
1) emerge mpeg4ip  
2) let configure do its job and start compilation, press ctrl+z to stop it.  
3) cd /var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common/video/iso-mpeg4/src  
4) sed -i -e &apos;s/-Wmissing-prototypes//g&apos; -e &apos;s/-Werror//g&apos; Makefile 
5) fg 
 
this works. 
mainteiner should check where -Werror flag is setted, 
i think in Makefile.in in the same directory. 
 
had no time to investigate, grep is your friend :) 
   
   </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2005-11-05 11:04:46 0000</bug_when>
            <thetext>Alright, I&apos;ve added a sed for the -Werror, can you test the lastest version?
(please wait a few hours for the CVS to reach the rsync tree)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2005-11-05 12:52:17 0000</bug_when>
            <thetext>the problem is with faad2, required by ffmpeg now :) </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2005-11-05 12:58:36 0000</bug_when>
            <thetext>(In reply to comment #12)
&gt; the problem is with faad2, required by ffmpeg now :) 

Which problem ? Are you refering to another bug ? This bug is the compilation
error of mpeg4ip.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2005-11-05 14:31:17 0000</bug_when>
            <thetext>yes i&apos;ll investigate and if needed fill another bug. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-11-17 06:50:39 0000</bug_when>
            <thetext>*** Bug 112799 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2005-11-17 06:51:18 0000</bug_when>
            <thetext>Reopen wrt Bug 112799, does not seem fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spamlover@dahlen.org</who>
            <bug_when>2005-11-17 10:08:18 0000</bug_when>
            <thetext>More output, as requested:

 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2
-march=athlon-xp -O3 -pipe -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT
tools_entropy_bitstrm.lo -MD -MP -MF .deps/tools_entropy_bitstrm.Tpo -c
tools_entropy_bitstrm.cpp -o tools_entropy_bitstrm.o &gt;/dev/null 2&gt;&amp;1
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I./../include   -D__TRACE_AND_STATS_
-D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror
-D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas
-Wno-deprecated -Wformat=2 -march=athlon-xp -O3 -pipe -DMPEG4IP
-I/usr/include/SDL -D_REENTRANT -MT tools_entropy_huffman.lo -MD -MP -MF
&quot;.deps/tools_entropy_huffman.Tpo&quot; -c -o tools_entropy_huffman.lo
tools_entropy_huffman.cpp; \
then mv -f &quot;.deps/tools_entropy_huffman.Tpo&quot; &quot;.deps/tools_entropy_huffman.Plo&quot;;
else rm -f &quot;.deps/tools_entropy_huffman.Tpo&quot;; exit 1; fi
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2
-march=athlon-xp -O3 -pipe -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT
tools_entropy_huffman.lo -MD -MP -MF .deps/tools_entropy_huffman.Tpo -c
tools_entropy_huffman.cpp  -fPIC -DPIC -o .libs/tools_entropy_huffman.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:
In function `int std::__convert_from_v(char*, int, const char*, _Tv,
__locale_struct* const&amp;, int) [with _Tv = double]&apos;:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:1072:
  instantiated from `_OutIter std::num_put&lt;_CharT,
_OutIter&gt;::_M_insert_float(_OutIter, std::ios_base&amp;, _CharT, char, _ValueT)
const [with _ValueT = double, _CharT = char, _OutIter =
std::ostreambuf_iterator&lt;char, std::char_traits&lt;char&gt; &gt;]&apos;
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:1216:
  instantiated from `_OutIter std::num_put&lt;_CharT, _OutIter&gt;::do_put(_OutIter,
std::ios_base&amp;, _CharT, double) const [with _CharT = char, _OutIter =
std::ostreambuf_iterator&lt;char, std::char_traits&lt;char&gt; &gt;]&apos;
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.h:2349: 
 instantiated from `_OutIter std::num_put&lt;_CharT, _OutIter&gt;::put(_OutIter,
std::ios_base&amp;, _CharT, double) const [with _CharT = char, _OutIter =
std::ostreambuf_iterator&lt;char, std::char_traits&lt;char&gt; &gt;]&apos;
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:246:  
instantiated from `std::basic_ostream&lt;_CharT, _Traits&gt;&amp;
std::basic_ostream&lt;_CharT, _Traits&gt;::operator&lt;&lt;(double) [with _CharT = char,
_Traits = std::char_traits&lt;char&gt;]&apos;
tools_entropy_huffman.cpp:245:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:84:
warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1
make[6]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4/src&apos;
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4&apos;
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1&apos;
make: *** [all] Error 2
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spamlover@dahlen.org</who>
            <bug_when>2005-11-17 13:30:56 0000</bug_when>
            <thetext>Hmm, my issue could be solved with comment #10
(http://bugs.gentoo.org/show_bug.cgi?id=97936#c10) from above. How come, that is
still unresolved with Version 1.4.1?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eythork@gmail.com</who>
            <bug_when>2005-11-18 11:16:20 0000</bug_when>
            <thetext>I got the same error as above
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:84:
warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1

solution was in the forums:
http://forums.gentoo.org/viewtopic-t-388157-highlight-mpeg4ip.html

Turned out to be an -O3 problem.  Works fine for me with -O2 in CXXFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2005-11-19 09:12:38 0000</bug_when>
            <thetext>stripped the -Werror 
in CVS</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62851</attachid>
            <date>2005-07-07 09:41 0000</date>
            <desc>A patch that solves the emerge problem</desc>
            <filename>mpeg4ip-1.3.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBtcGVnNGlwLTEuMy9jb21tb24vdmlkZW8vaXNvLW1wZWc0L2luY2x1ZGUvaHVm
Zm1hbi5ocHAgbXBlZzRpcC0xLjMtcGF0Y2gvY29tbW9uL3ZpZGVvL2lzby1tcGVnNC9pbmNsdWRl
L2h1ZmZtYW4uaHBwCi0tLSBtcGVnNGlwLTEuMy9jb21tb24vdmlkZW8vaXNvLW1wZWc0L2luY2x1
ZGUvaHVmZm1hbi5ocHAJMjAwNS0wNS0wNCAyMTo1NTo1OC4wMDAwMDAwMDAgKzAyMDAKKysrIG1w
ZWc0aXAtMS4zLXBhdGNoL2NvbW1vbi92aWRlby9pc28tbXBlZzQvaW5jbHVkZS9odWZmbWFuLmhw
cAkyMDA1LTA3LTA3IDE4OjMzOjIyLjAwMDAwMDAwMCArMDIwMApAQCAtODEsNyArODEsNyBAQAog
CQlEb3VibGUgJmROT2ZCaXRzCiAJKTsKICAgICBWb2lkIHN0YXRpc3RpY3MgKEludCAmbFRvdGFs
RnJlcXVlbmN5LCBEb3VibGUgJmRFbnRyb3B5KTsKLSAgICBWb2lkIHByaW50U3RhdGlzdGljcyAo
RG91YmxlIGRFbnRyb3B5LCBEb3VibGUgZE5PZkJpdHMsIG9zdHJlYW0gJnN0cmVhbSk7CisgICAg
Vm9pZCBwcmludFN0YXRpc3RpY3MgKERvdWJsZSBkRW50cm9weSwgRG91YmxlIGROT2ZCaXRzLCBv
c3RyZWFtICZTdHJlYW0pOwogfTsKIAogY2xhc3MgQ0h1ZmZtYW5Db0RlYwpkaWZmIC1OYXVyIG1w
ZWc0aXAtMS4zL2NvbW1vbi92aWRlby9pc28tbXBlZzQvc3JjL3Rvb2xzX2VudHJvcHlfaHVmZm1h
bi5jcHAgbXBlZzRpcC0xLjMtcGF0Y2gvY29tbW9uL3ZpZGVvL2lzby1tcGVnNC9zcmMvdG9vbHNf
ZW50cm9weV9odWZmbWFuLmNwcAotLS0gbXBlZzRpcC0xLjMvY29tbW9uL3ZpZGVvL2lzby1tcGVn
NC9zcmMvdG9vbHNfZW50cm9weV9odWZmbWFuLmNwcAkyMDA1LTA1LTA0IDIxOjU2OjAwLjAwMDAw
MDAwMCArMDIwMAorKysgbXBlZzRpcC0xLjMtcGF0Y2gvY29tbW9uL3ZpZGVvL2lzby1tcGVnNC9z
cmMvdG9vbHNfZW50cm9weV9odWZmbWFuLmNwcAkyMDA1LTA3LTA3IDE4OjM0OjI0LjAwMDAwMDAw
MCArMDIwMApAQCAtMjQwLDEyICsyNDAsMTIgQEAKICAgICB9OwogfQogCi1Wb2lkIENIdWZmbWFu
VHJlZTo6cHJpbnRTdGF0aXN0aWNzIChEb3VibGUgZEVudHJvcHksIERvdWJsZSBkTk9mQml0cywg
b3N0cmVhbSAmc3RyZWFtKQorVm9pZCBDSHVmZm1hblRyZWU6OnByaW50U3RhdGlzdGljcyAoRG91
YmxlIGRFbnRyb3B5LCBEb3VibGUgZE5PZkJpdHMsIG9zdHJlYW0gJlN0cmVhbSkKIHsKLSAgICBz
dHJlYW08PGVuZGw8PGVuZGw7Ci0gICAgc3RyZWFtPDwiLy9FbnRyb3B5IFBlciBTeW1ib2wgOiAi
PDxkRW50cm9weTw8ZW5kbDsKLSAgICBzdHJlYW08PCIvL0JpdHMgUGVyIFN5bWJvbCAgICA6ICI8
PGROT2ZCaXRzPDxlbmRsOwotICAgIHN0cmVhbTw8Ii8vVGFibGUgRWZmaWNpZW5jeSAgIDogIjw8
ZEVudHJvcHkvZE5PZkJpdHM8PGVuZGw7CisgICAgU3RyZWFtPDxlbmRsPDxlbmRsOworICAgIFN0
cmVhbTw8Ii8vRW50cm9weSBQZXIgU3ltYm9sIDogIjw8ZEVudHJvcHk8PGVuZGw7CisgICAgU3Ry
ZWFtPDwiLy9CaXRzIFBlciBTeW1ib2wgICAgOiAiPDxkTk9mQml0czw8ZW5kbDsKKyAgICBTdHJl
YW08PCIvL1RhYmxlIEVmZmljaWVuY3kgICA6ICI8PGRFbnRyb3B5L2ROT2ZCaXRzPDxlbmRsOwog
fQogCiBJbnQgQ0h1ZmZtYW5Db0RlYzo6bWFrZUluZGV4RnJvbVN5bWJvbEluVGFibGUoaXN0cmVh
bSAmaHVmZm1hblRhYmxlKSAgCg==
</data>        

          </attachment>
    </bug>

</bugzilla>