the only thing i could find that uses pkg_info() right now is mythtv which i don't have installed. anyways, here's an example with glibc but it happens with any installed package. # emerge --info glibc running emerge --info glibc Portage 2.1.4_rc2 (default-linux/x86/2007.0, gcc-4.2.3-pre20071113, glibc-2.7-r0, 2.6.23.8 i686) ================================================================= System Settings ================================================================= System uname: 2.6.23.8 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Unknown ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc6 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1, 2.18.50.0.2, 2.18.50.0.3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -g -march=prescott -fomit-frame-pointer -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -g -march=prescott -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests ccache collision-protect cvs digest distlocks fixpackages parallel-fetch sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" http://gentoo.chem.wisc.edu/gentoo http://gentoo.osuosl.org http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1,--hash-style=gnu" LINGUAS="en en_GB en_US" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay /home/dirtyepic/svn/dirtyepic" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa audiofile avahi bash-completion berkdb branding bzip2 cairo calendar caps cddb cdr cpudetection cracklib crypt cscope curl cxx dbus dri dts dvd dvdr dvdread encode exif expat fam ffmpeg fftw firefox flac gdbm gif gmp gnutls graphviz gstreamer gtk hal imagemagick imap imlib java jikes jpeg kde kdeenablefinal kdehiddenvisibility libnotify libsamplerate logrotate mad maildir mailwrapper mmap mmx mng mp3 mpeg mplayer ncurses nntp nptl nsplugin odbc ogg opengl oss pam pcmcia pcre pdf perl pic png python qt3 quicktime readline ruby sasl sdl session sndfile spell sqlite sqlite3 sse sse2 ssl startup-notification svg tcl tcpd test theora threads truetype unicode urandom usb vcd vim-syntax vorbis win32codecs wxwindows x264 x86 xcb xine xml xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" ELIBC="glibc" INPUT_DEVICES="joystick mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-libs/glibc-2.7 was built with the following: CFLAGS="-O2 -fno-strict-aliasing -g -march=prescott -pipe" CXXFLAGS="-O2 -fno-strict-aliasing -g -march=prescott -pipe" >>> Attempting to run pkg_info() for 'sys-libs/glibc-2.7' * pkg_info() is not defined: 'glibc-2.7.ebuild' /usr/lib/portage/bin/ebuild.sh: line 1709: continue: only meaningful in a `for', `while', or `until' loop /usr/lib/portage/bin/ebuild.sh: line 35: pkg_info: command not found
Created attachment 136934 [details, diff] properly bail out when the pkg_info() function doesn't exist Thanks, this is fixed in svn r8648.
This has been released in portage-2.1.4_rc4.