$ emerge zphoto <snip> loader.cpp:34:29: avifile/avifile.h: No such file or directory loader.cpp:35:32: avifile/avm_output.h: No such file or directory loader.cpp:38: syntax error before `::' token loader.cpp:39: syntax error before `::' token loader.cpp:48: `avm' was not declared in this scope loader.cpp:48: syntax error before `::' token loader.cpp: In function `int avifile_count_nframes(...)': loader.cpp:52: `stream' undeclared (first use this function) loader.cpp:52: (Each undeclared identifier is reported only once for each function it appears in.) loader.cpp: In function `Avifile* avifile_new(const char*)': loader.cpp:66: `avm' undeclared (first use this function) loader.cpp:66: syntax error before `::' token loader.cpp:70: `struct Avifile' has no member named `file' loader.cpp:70: syntax error before `::' token loader.cpp:71: `struct Avifile' has no member named `file' loader.cpp:73: `struct Avifile' has no member named `stream' loader.cpp:73: `struct Avifile' has no member named `file' loader.cpp:73: syntax error before `::' token loader.cpp:74: `struct Avifile' has no member named `stream' loader.cpp:77: `BITMAPINFOHEADER' undeclared (first use this function) loader.cpp:77: syntax error before `;' token loader.cpp:78: `struct Avifile' has no member named `stream' loader.cpp:78: `bih' undeclared (first use this function) loader.cpp:79: `struct Avifile' has no member named `stream' loader.cpp:85: `struct Avifile' has no member named `stream' loader.cpp:87: `struct Avifile' has no member named `stream' loader.cpp:91: `struct Avifile' has no member named `stream' loader.cpp: In function `int avifile_seek(Avifile*, int)': loader.cpp:113: `struct Avifile' has no member named `stream' loader.cpp:116: `struct Avifile' has no member named `stream' loader.cpp: At global scope: loader.cpp:126: type specifier omitted for parameter `CImage' loader.cpp:126: syntax error before `*' token loader.cpp: In function `void* avifile_convert_to_imlib_image(...)': loader.cpp:128: `BitmapInfo' undeclared (first use this function) loader.cpp:128: syntax error before `(' token loader.cpp:129: `CImage' undeclared (first use this function) loader.cpp:129: `new_cimage' undeclared (first use this function) loader.cpp:129: syntax error before `(' token loader.cpp:130: `cimage' undeclared (first use this function) loader.cpp:132: `avifile' undeclared (first use this function) loader.cpp:139: `uint8_t' undeclared (first use this function) loader.cpp:139: `data' undeclared (first use this function) loader.cpp: In function `void* avifile_get_frame(Avifile*, int)': loader.cpp:154: `image' undeclared (first use this function) loader.cpp:154: `struct Avifile' has no member named `stream' loader.cpp: In function `void avifile_destroy(Avifile*)': loader.cpp:164: `struct Avifile' has no member named `stream' loader.cpp:165: `struct Avifile' has no member named `file' make[2]: *** [loader.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/zphoto-0.6/work/zphoto-0.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/zphoto-0.6/work/zphoto-0.6' make: *** [all] Error 2 !!! ERROR: media-gfx/zphoto-0.6 failed. !!! Function src_compile, Line 377, Exitcode 2 !!! emake failed $ emerge info Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test4-bk3) ================================================================= System uname: 2.6.0-test4-bk3 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs buildpkg" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss avi crypt encode foomaticdb gif jpeg mad mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa berkdb slang readline aalib bonobo svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl mozilla cdr acpi acpi4linux apache2 dvd faad fax fbcon fbdev gd gmtsuppl imagemagick imap kerberos lcd maildir md5sum nptl offensive openal parse-clocks pcmcia php pnp ppds S3TC sse tiff transcode usb xml xosd -apm -arts -cups -kde -gnome -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm -guile -esd"
quick workaround # 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.
After adding quick work around to src_compile() function in zphoto ebuild: $ emerge -v zphoto <snip> >>> emerge (4 of 4) media-gfx/zphoto-0.6 to / >>> md5 src_uri ;-) zphoto-0.6.tar.gz >>> Unpacking source... >>> Unpacking zphoto-0.6.tar.gz to /var/tmp/portage/zphoto-0.6/work >>> Source unpacked. avi make: *** No rule to make target `all'. Stop. !!! ERROR: media-gfx/zphoto-0.6 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message)
It seems also that media-video/avifile-0.7.38.20030710 is really screwed since errors in zphoto emerge were about avifile and secondly because even though I got the following message after avifile emerge: * In order to use certain video modes, you must be root * chmod +s /usr/bin/aviplay to suid root * As this is considered a security risk on multiuser ... there is no /usr/bin/aviplay binary on my system at all after completion of install.
Adding vapier to CC as author in header of avifile.
There is also this error which occurs on nearly every single emerge but with different package names: bzip2: /usr/portage/packages/All/avifile-0.7.38.20030710.tbz2: trailing garbage after EOF ignored
could you reemerge avifile and try again ?
It sounds like a problem with avifile-0.7.38.20030710.ebuild .... But I'll try to make a patch for it.
Hi. I confirmed avifile-0.7.38.20030710.ebuild has the problem and made a patch to fix it. I tested the patch with both avifile-0.7.37.20030522-r2.ebuild and avifile-0.7.38.20030710.ebuild, but please `emerge sync` and report back whether it will solve the problem or not.
i am able to emerge zphoto-0.6 with avifile-0.7.38.20030710
All is well. Thanks everyone.
All right, I close this bug. Thanks for testing.
I think I closed this bug... Probably Bugzilla lost the status with server migration. Closing again.