When i emerge transcode the work fails with this error af6_decore.cpp:34:32: avifile/avm_fourcc.h: No such file or directory I see ./configure use avifile-config program this is the output of my program # avifile-config --prefix --exec-prefix --libs --cflags --data-dir --version /usr /usr -I/usr/include/avifile-0.7 -Wl,-rpath,/usr/lib -laviplay /usr/share/avifile-0.7 0.7.38 I think is correct. I see my disk and the directory /usr/share/avifile-0.7 is ok and it's contains the file not found. During emerge the gcc include library i think is correct .... -I/usr/include/avifile-0.7 .... i search the file af6_decore.cpp and into i see this code #ifdef HAVE_AVIFILE #include <avifile/avm_fourcc.h> #include <avifile/avifile.h> #include <avifile/image.h> #include <avifile/aviplay.h> #include <avifile/cpuinfo.h> #include <avifile/utils.h> #include <avifile/version.h> #include <avifile/renderer.h> #include <avifile/creators.h> Whi avifile/... in /usr/include/avifile-0.7 I dont ave a subdir avifile I think this is correct #include <avm_fourcc.h> #include <avifile.h> ... #include <creators.h> Now i solved with a symlink ln /usr/include/avifile-0.7 /usr/include/avifile-0.7/avifile -s with this symlink the emerge work correctly, But i Think is this isen't a correct solution. Reproducible: Always Steps to Reproduce: emerge transcode (on my system gentoo ~x86, ask if need more necessary info) Actual Results: this error [megacut....] gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4 -DDCT_YUV_PRECISION=1 -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -MT import_imlist.lo -MD -MP -MF .deps/import_imlist.Tpo -c import_imlist.c -fPIC -DPIC -o import_imlist.lo /bin/sh ../libtool --mode=link gcc -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4 -DDCT_YUV_PRECISION=1 -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o import_imlist.la -rpath /usr/lib/transcode -module -avoid-version import_imlist.lo -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -lMagick -ljbig -llcms -ltiff -lfreetype -ljpeg -lpng -lexif -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lm -lpthread -ldl rm -fr .libs/import_imlist.la .libs/import_imlist.* .libs/import_imlist.* (cd . && ln -s import_imlist.lo import_imlist.o) gcc -shared import_imlist.lo -L/usr/lib -L/usr/X11R6/lib /usr/lib/libMagick.so -ljbig -llcms -ltiff /usr/lib/libfreetype.so /usr/lib/libjpeg.so -lpng /usr/lib/libexif.so /usr/lib/libwmflite.so /usr/lib/libdpstk.so /usr/lib/libdps.so -lXext -lSM -lICE -lX11 -lbz2 /usr/lib/libxml2.so -lz -lpthread -lm -lm -lpthread -ldl -Wl,-soname -Wl,import_imlist.so -o .libs/import_imlist.so creating import_imlist.la (cd .libs && rm -f import_imlist.la && ln -s ../import_imlist.la import_imlist.la) if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4 -MT af6_decore.lo -MD -MP -MF ".deps/af6_decore.Tpo" \ -c -o af6_decore.lo `test -f 'af6_decore.cpp' || echo './'`af6_decore.cpp; \ then mv ".deps/af6_decore.Tpo" ".deps/af6_decore.Plo"; \ else rm -f ".deps/af6_decore.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4 -MT af6_decore.lo -MD -MP -MF .deps/af6_decore.Tpo -c af6_decore.cpp -fPIC -DPIC -o af6_decore.lo af6_decore.cpp:34:32: avifile/avm_fourcc.h: No such file or directory af6_decore.cpp:35:29: avifile/avifile.h: No such file or directory af6_decore.cpp:36:27: avifile/image.h: No such file or directory af6_decore.cpp:37:29: avifile/aviplay.h: No such file or directory af6_decore.cpp:38:29: avifile/cpuinfo.h: No such file or directory af6_decore.cpp:39:27: avifile/utils.h: No such file or directory af6_decore.cpp:40:29: avifile/version.h: No such file or directory af6_decore.cpp:41:30: avifile/renderer.h: No such file or directory af6_decore.cpp:42:30: avifile/creators.h: No such file or directory af6_decore.cpp:47: namespace `Creators' undeclared af6_decore.cpp: In function `void af6_decore(info_t*)': af6_decore.cpp:66: `IAviReadStream' undeclared (first use this function) af6_decore.cpp:66: (Each undeclared identifier is reported only once for each function it appears in.) af6_decore.cpp:66: `vrs' undeclared (first use this function) [....megacut] i think the oter error isn't interesting for solve problem Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-pre7-aa1) ================================================================= System uname: 2.4.22-pre7-aa1 i686 AMD Athlon(tm) XP 2200+ GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.15/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.56.131/sites/www.ibiblio.org/gentoo/ http://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner aavm acpi acpi4linux afs apache2 athena atlas bindist cscope curl dga dnd doc dvd emacs ethereal evms2 faad fbcon fbdev firebird freetds gb gd gnomedb gtk2 gtkhtml imagemagick imap innodb ipalias jikes joystick junit justify kerberos krb4 lcms leim libgda ltsp maildir mcal md5sum mdb mng mpi mule music nocardbus nptl oav odbc offensive openal pda pic plotutils ppds prebuilt samba sasl slp snmp sqlite sse stroke tiff usb v4l videos vim-with-x wmf wxwindows Xaw3d xface xfs xinerama xml xosd xvid zeo" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache fixpackages cvs"
I have this too, anyone else have a solution?
For now i Know only my solutions. Is not a good solution, but work create this symbolic link ln /usr/include/avifile-0.7 /usr/include/avifile-0.7/avifile -s now emerge transcode work
I have the same problem, creating the link fixed it
I have solved the problem by creating the symlink in the ebuild I am using for transcode-0.6.9 (See bug # 27019). Basicaly I do the following: # workaround for including avifile haders, which are expected # in an directory named "avifile" use avi \ && avi_inc=$(avifile-config --cflags | sed -e "s|^-I||") \ && [ -d "$avi_inc" ] \ && [ "$(basename "$avi_inc")" != "avifile" ] \ && ln -s "$avi_inc" avifile make all || die in the src_compile() function.
I mean seeing the bug # 26462.
I can confirm this bug and confirm the solution, but I did the link as cerri@cerrito include $ file avifile avifile: symbolic link to `avifile-0.7/' cerri@cerrito include $ pwd /usr/include
*** Bug 29501 has been marked as a duplicate of this bug. ***
added depend (max version)
OK, now transcode 0.6.10 seems to compile well. Unfortunately that version is still masked and the unmasked version 0.6.6 still does not compile on my system (see Bug 29501). BTW, version 0.6.7 has the same bug and versions 0.6.8 and 0.6.9 require an older version of avifile which also refuses to compile so I could not check the transcode compile by now. If there are no strange things in transcode 0.6.10 I would suggest to unmask that version.
*** Bug 30011 has been marked as a duplicate of this bug. ***
*** Bug 30238 has been marked as a duplicate of this bug. ***