Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67675 - Drip will not compile (neither 0.9.0 nor 0.8.1-r5)
Summary: Drip will not compile (neither 0.9.0 nor 0.8.1-r5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 09:09 UTC by Holly Bostick
Modified: 2005-03-30 13:05 UTC (History)
2 users (show)

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 Holly Bostick 2004-10-15 09:09:50 UTC
Very long and complex, but...

Starting conditions:
To install drip, aviplay and xvid are required. When I first attempted to install drip-0.9.0, I had aviplay-0.7.41.20041001 and xvid-1.02 installed.

drip emerge failed with the following error:

mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Os -march=athlon-xp -fomit-frame-pointer -pipe -DARCH_X86 -Wall -Wunused -D_REENTRANT -g -ggdb -Wno-deprecated -Wl,-O1 -I/usr/include/avifile-0.7 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Os -march=athlon-xp -fomit-frame-pointer -pipe -DARCH_X86 -Wall -Wunused -D_REENTRANT -g -ggdb -Wno-deprecated -Wl,-O1 -I/usr/include/avifile-0.7 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -Os -march=athlon-xp -fomit-frame-pointer -pipe -DARCH_X86 -MT libencoder_la-external.lo -MD -MP -MF .deps/libencoder_la-external.Tpo -c external.cpp  -fPIC -DPIC -DPIC -o libencoder_la-external.o
In file included from external.cpp:46:
/usr/include/avifile-0.7/creators.h:4:2: warning: #warning Use #include "avm_creators.h" instead
external.cpp: In function `void encoder_start(const char*, glong)':
external.cpp:58: warning: unused variable 'result'
external.cpp: In function `codecS** encoder_codecs()':
external.cpp:225: error: using typedef-name `codecT' after `enum'
external.cpp:251: error: using typedef-name `codecT' after `enum'
make[2]: *** [libencoder_la-external.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/drip-0.9.0/work/drip-0.9.0/encoder'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/drip-0.9.0/work/drip-0.9.0'
make: *** [all] Error 2

!!! ERROR: media-video/drip-0.9.0 failed.

I then went to the homepage and found a mini-HOWTO (http://drip.sourceforge.net/xvid_avifile_howto.txt) which stated in part that

In order get have Drip create avi's properly , you need avifile 0.7.34 and xvid-0.9.2 : 
avifile >>  http://drip.sourceforge.net/files/avifile-0.7.34-20030319.tgz
xvid    >>  http://drip.sourceforge.net/files/xvidcore-0.9.2.tar.gz

(Older versions might work, but are not tested. Newer avifile versions will not
compile or not support multiple chunk avi creation, newer versions of xvid
will not compile. I've put a copy of both tested versions here on the Drip
site to ensure their availability.)

So I headed over to the CVS Attic and got the ebuilds for the older versions of avifile and xvid.

To make a very long story shorter, though I was able to compile and install the older version of Xvid, no amount of tweaking will enable me to install the older version of avifile, so it seems (I tried emerging it against libmad; I retrieved the old version of mad and reverted to that; I've hacked USE flags till I'm crosseyed; it just won't compile. But that's another, possibly irrelevant, story).

I then edited the avifile-7.41 ebuild to use the older version of xvid and reemerged that from /usr/local/portage. That emerged fine as well, but drip itself still won't emerge, with the same error. I then tried the stable version (0.8.1-r5) and that failed with the same error as the unstable version.

I'm out of ideas as to why this will not compile (unless it really won't compile against any other version of avifile other than 7.34, which I also cannot compile, or it's an SDL problem, which is out of my league). Here's my info:

Portage 2.0.51_rc9 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.8.1-ck9 i686)
=================================================================
System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirror.ac.uk/mirror/www.ibiblio.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aalib aim alsa apm artworkextra audiofile avi berkdb bidi bindist bitmap-fonts bonobo bzlib cdb cdparanoia cdr crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvb dvd dvdr dvdread edl emacs emacs-w3 encode esd f77 fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gimpprint gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 icc iconv icq imagemagick imap imlib immqt immqt-bc inifile ithreads jabber jack java jbig jikes joystick jpeg lcms ldap le libcaca libedit libg++ libgda libwww lzo lzw-tiff mad mikmod mime ming mmap mmx mmx2 mmxext mng motif mozilla moznoirc moznomail mozsvg mpeg mpi msn mule mythtv nas ncurses network nls nocd nomac nptl nvidia offensive oggvorbis ooo-kde openal opengl oscar oss pam pcntl pcre pdflib perl pic pie png python qt quicktime readline rtc ruby samba sasl scanner sdl session shared sharedmem simplexml slang slp snmp sockets socks5 spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tidy tiff tokenizer truetype unicode usb userlocales v4l v4l2 videos vim-with-x wmf x86 xml xml2 xmms xosd xprint xv xvid xvmc yahoo zlib linguas_en linguas_nl"

I also have LDFLAGS="-Wl,-O1" in make.conf, but that doesn't seem to be mentioned above, so I do, in case it's important.
Comment 1 Dan Elder 2004-10-17 08:53:18 UTC
I have the same problem here:

Portage 2.0.51_rc9 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.7-gentoo-r14 i686)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fstack-protector -fPIC -DPIC -march=pentium4 -O2 -pipe -falign-jumps -freorder-blocks -fno-trapping-math -fno-thread-jumps -fsched-spec -maccumulate-outgoing-args -fcse-follow-jumps -fno-crossjumping -falign-labels -fpeephole2 -frename-registers -fno-signaling-nans -fcse-skip-blocks -foptimize-sibling-calls -fno-omit-frame-pointer -ffinite-math-only -frerun-cse-after-loop -fmove-all-movables -frerun-loop-opt -fcaller-saves -minline-all-stringops -mno-push-args"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fstack-protector -fPIC -DPIC -march=pentium4 -O2 -pipe -falign-jumps -freorder-blocks -fno-trapping-math -fno-thread-jumps -fsched-spec -maccumulate-outgoing-args -fcse-follow-jumps -fno-crossjumping -falign-labels -fpeephole2 -frename-registers -fno-signaling-nans -fcse-skip-blocks -foptimize-sibling-calls -fno-omit-frame-pointer -ffinite-math-only -frerun-cse-after-loop -fmove-all-movables -frerun-loop-opt -fcaller-saves -minline-all-stringops -mno-push-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks prelink sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.llarian.net/ http://gentoo.binarycompass.org"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X X509 aac aalib acl acpi acpi4linux adns aim alsa antlr apache2 apm avi berkdb bitmap-fonts bluetooth bonobo bootsplash bzlib cairo calendar cap caps cddb cdinstall cdparanoia cdr cdrom chroot codecs cpdflib crypt ctype cups curl curlwrappers dba dbase dbm dbx devmap dga dio directfb divx4linux dmx dnd droproot dv dvd dvdread edl eds emoticon encode erandom esd ethereal evms2 evo exif extensions f77 faac faad fam fbcon festival ffmpeg flac flash flexresp foomaticdb freetds freetype ftp gb gcj gd gdbm geoip gif gimp gimpprint gkrellm glade glut gnome gnomedb gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hal hardened hardenedphp hbci icq idea ieee1394 image imagekits imagemagick imap imlib imlib2 informix ingres innodb ipv6 irda irmc j2ee jabber jack jack-tmpfs java javacomm javamail javascript jce jp2 jpeg jpeg2k junit kerberos krb4 lcms ldap libg++ libgda libwww live log4j lzo lzw lzw-tiff mad mailbox maildir mailwrapper makecheck mbox mcal md5sum mdb memlimit messages mhash mikmod ming mixer mmap mmx mmx2 mng monkey mono motif mozdevelop mozilla mozinterfaceinfo moznoirc mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn mssql music mysql nas native ncurses net network neural nls nntp nocd nptl nptlonly ntlm nvidia oci8 odbc offensive ofx oggvorbis openal opengl opie optional-tasks oracle oscar oss pam pcap pcmcia pcre pda pdflib perl php pic pie plotutils png pnp portaudio posix postgres postgresql ppds prelude propolice pthreads python qt quicktime quotes readline regexp rhino rtc samba sasl scanner sdl serial session shared sharedmem skey slang slp smartcard smime sms sndfile snmp soap sockets sox spamassassin speex spell sqlite sse sse2 ssl svg svga sysvipc tcltk tcpd theora threads tiff transcode truetype unicode usb videos vim vim-with-x vnc wifi wmf wxwin wxwindows x86 xine xinerama xml xml2 xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zlib"
Comment 2 Kent Martin 2005-01-13 16:59:45 UTC
Just to confirm, I have the same problem.  Is this ebuild broken for everybody?  If so, it should be masked until fixed.
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-30 13:05:30 UTC
added a patch for version 0.9.0 to enable successful gcc3.4.x compilation. fixed in cvs, thanks for reporting!