emerge --info: Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.15-gentoo-r8 i686) ================================================================= System uname: 2.6.15-gentoo-r8 i686 AMD Duron(tm) processor Gentoo Base System version 1.6.15 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -fweb -ftracer -fforce-addr -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=athlon-4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -fweb -ftracer -fforce-addr -w -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl" LANG="pl_PL" LC_ALL="pl_PL.UTF-8" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/src/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X a52 aac acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bzip2 cairo cli crypt css cups dlloader dri dts dvd dvdr emboss encode fam ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms libg++ libwww mad mikmod mmx mmxext modplug mp3 mp4 mpeg musepack musicbrainz mysql ncurses nls nptl nptlonly ogg openal opengl pam pcre pdflib perl png postgres pppd python qt qt3 quicktime readline real reflection samba sdl session slang sndfile speex spl sse ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vcd vidix vorbis win32codecs wma xcomposite xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
emerge libgphoto2-2.2.0 dies with: Making all in generic make[3]: Entering directory `/var/tmp/portage/libgphoto2-2.2.0/work/libgphoto2-2.2.0/packaging/generic' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgphoto2_port/libgphoto2_port -I../../libgphoto2_port -I../../libgphoto2 -I../../libgphoto2 -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/libgphoto2/2.2.0\" -Wall -Wmissing-declarations -Wmissing-prototypes -g -O2 -march=athlon-4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -fweb -ftracer -fforce-addr -w -MT print-camera-list.o -MD -MP -MF ".deps/print-camera-list.Tpo" -c -o print-camera-list.o print-camera-list.c; \ then mv -f ".deps/print-camera-list.Tpo" ".deps/print-camera-list.Po"; else rm -f ".deps/print-camera-list.Tpo"; exit 1; fi print-camera-list.c:51:36: error: gphoto2/gphoto2-camera.h: Nie ma takiego pliku ani katalogu print-camera-list.c:52:38: error: gphoto2/gphoto2-port-log.h: Nie ma takiego pliku ani katalogu print-camera-list.c:73: error: expected
emerge libgphoto2-2.2.0 dies with: Making all in generic make[3]: Entering directory `/var/tmp/portage/libgphoto2-2.2.0/work/libgphoto2-2.2.0/packaging/generic' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgphoto2_port/libgphoto2_port -I../../libgphoto2_port -I../../libgphoto2 -I../../libgphoto2 -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/libgphoto2/2.2.0\" -Wall -Wmissing-declarations -Wmissing-prototypes -g -O2 -march=athlon-4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -fno-ident -fweb -ftracer -fforce-addr -w -MT print-camera-list.o -MD -MP -MF ".deps/print-camera-list.Tpo" -c -o print-camera-list.o print-camera-list.c; \ then mv -f ".deps/print-camera-list.Tpo" ".deps/print-camera-list.Po"; else rm -f ".deps/print-camera-list.Tpo"; exit 1; fi print-camera-list.c:51:36: error: gphoto2/gphoto2-camera.h: Nie ma takiego pliku ani katalogu print-camera-list.c:52:38: error: gphoto2/gphoto2-port-log.h: Nie ma takiego pliku ani katalogu print-camera-list.c:73: error: expected ;, , or ) before * token print-camera-list.c:121: error: expected ;, , or ) before * token print-camera-list.c: In function basename: print-camera-list.c:224: error: gp_system_dir_delim undeclared (first use in this function) print-camera-list.c:224: error: (Each undeclared identifier is reported only once print-camera-list.c:224: error: for each function it appears in.) print-camera-list.c: At top level: print-camera-list.c:236: error: expected ;, , or ) before * token print-camera-list.c:252: error: expected ;, , or ) before * token print-camera-list.c:285: error: expected ;, , or ) before * token print-camera-list.c:381: error: expected ;, , or ) before * token print-camera-list.c:484: error: expected ;, , or ) before * token print-camera-list.c:550: error: expected ) before level print-camera-list.c:570: error: expected specifier-qualifier-list before camera_func_t print-camera-list.c: In function iterate_camera_list: print-camera-list.c:581: error: CameraAbilitiesList undeclared (first use in this function) print-camera-list.c:581: error: al undeclared (first use in this function) print-camera-list.c:582: error: CameraAbilities undeclared (first use in this function) print-camera-list.c:582: error: expected ; before a print-camera-list.c:597: error: output_format_t has no member named camera_func print-camera-list.c:600: error: a undeclared (first use in this function) print-camera-list.c:601: error: output_format_t has no member named camera_func print-camera-list.c:605: error: output_format_t has no member named end_func print-camera-list.c:606: error: output_format_t has no member named end_func print-camera-list.c: At top level: print-camera-list.c:622: error: unknown field camera_func specified in initializer print-camera-list.c:622: error: human_camera_func undeclared here (not in a function) print-camera-list.c:623: error: unknown field end_func specified in initializer print-camera-list.c:631: error: unknown field camera_func specified in initializer print-camera-list.c:631: error: hotplug_camera_func undeclared here (not in a function) print-camera-list.c:632: error: unknown field end_func specified in initializer print-camera-list.c:639: error: unknown field camera_func specified in initializer print-camera-list.c:639: error: fdi_camera_func undeclared here (not in a function) print-camera-list.c:640: error: unknown field end_func specified in initializer print-camera-list.c:647: error: unknown field camera_func specified in initializer print-camera-list.c:647: error: fdi_device_camera_func undeclared here (not in a function) print-camera-list.c:648: error: unknown field end_func specified in initializer print-camera-list.c:655: error: unknown field camera_func specified in initializer print-camera-list.c:655: error: udev_camera_func undeclared here (not in a function) print-camera-list.c:656: error: unknown field end_func specified in initializer print-camera-list.c:663: error: unknown field camera_func specified in initializer print-camera-list.c:663: error: idlist_camera_func undeclared here (not in a function) print-camera-list.c:664: error: unknown field end_func specified in initializer print-camera-list.c: In function main: print-camera-list.c:741: error: GP_LOG_ALL undeclared (first use in this function) print-camera-list.c:741: error: debug_func undeclared (first use in this function) make[3]: *** [print-camera-list.o] Błąd 1 make[3]: Leaving directory `/var/tmp/portage/libgphoto2-2.2.0/work/libgphoto2-2.2.0/packaging/generic' make[2]: *** [all-recursive] Błąd 1 make[2]: Leaving directory `/var/tmp/portage/libgphoto2-2.2.0/work/libgphoto2-2.2.0/packaging' make[1]: *** [all-recursive] Błąd 1 make[1]: Leaving directory `/var/tmp/portage/libgphoto2-2.2.0/work/libgphoto2-2.2.0' make: *** [all] Błąd 2 !!! ERROR: media-libs/libgphoto2-2.2.0 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile libgphoto2-2.2.0.ebuild, line 84: Called die
Created attachment 91102 [details, diff] Patch to fix the above problem.
Created attachment 91103 [details] Ebuild applying this patch.
Already fixed portage for both 2.2.0 and 2.2.1