My dummy scanelf frontend returns: dev-lang/python-2.6.2-r1 dev-libs/expat-2.0.1-r1 sys-libs/glibc-2.9_p20081201-r2 sys-libs/ncurses-5.6-r2 sys-libs/readline-5.2_p13 sys-libs/zlib-1.2.3-r1 Indeed, this gdb release installs some python modules. Missing deps would be python and expat (and possibly zlib - this one is pulled implicitly somewhere for sure). (I know it's 'live' snapshot ebuild, it's just me being picky) [ebuild R ] sys-devel/gdb-6.8.50.20090302.8.11 USE="-multitarget -nls -test -vanilla" 0 kB emerge --info Portage 2.2_rc35 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 04 Aug 2009 16:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -msse3 -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -msse3 -ftree-vectorize" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--deep --changelog --with-bdeps y" FEATURES="assume-digests ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/reavertm /usr/local/portage/kde-testing /usr/local/portage/qting-edge" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac accessibility ace acpi additions alsa amd64 apache2 archive autoipd bash-completion bittorrent branding bzip2 cdaudio cddb chm cli clucene colordiff consolekit cracklib crypt cups curl dbus designer-plugin dirac divx dri dv dvd dvdr dvdread dynamic encode exif exiv2 ffmpeg flac fontconfig ftp gadu gd gif git glibc-omitfp gnokii gphoto2 hal history iconv inotify isdnlog java6 javascript jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas kickoff libgadu lm_sensors lzma lzo mad mbox mng mp3 mplayer mudflap multilib ncurses no-net2 nolvm1 nonfsv4 nptl nptlonly ogg openal openexr opengl openmp pam pch pcre pdf pg-intdatetime plasma png policykit pppd qt3support qt4 quicktime rar rdesktop readline reiserfs rtc semantic-desktop session sha512 sms sndfile sockets spell spl srt sse sse2 ssl svg symlink sysfs theora threads threadsonly tiff toolkit-scroll-bars truetype unicode urandom usb utempter vhosts vnc voice vorbis webkit x264 xattr xcomposite xorg xpm xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
all versions of gdb support expat, but only the snap supports python http://sources.gentoo.org/sys-devel/gdb/gdb-6.8-r2.ebuild?r1=1.1&r2=1.2
Hmm, there's still automagic for expat, just adding IUSE and optional dep won't solve it. configure.ac in gdb/ subdirectory of source tree however seems to provide --with-expat option (defaulting to autodetect) and passing --without-expat to toplevel ./configure fixes automagic (not sure about loss of functionality here). Maybe it's safer just to hard-depend on expat?
Hmm, apparently explicitly passing --without-${iuse} in ebuild is no longer needed, so it's really fixed.
Ah no, actually sys-devel/gdb-6.8-r2 is still affected - missing $(use_with expat)
yeah, i added it to the newer ebuild, but forgot to copy it back to current one http://sources.gentoo.org/sys-devel/gdb/gdb-6.8-r2.ebuild?r1=1.2&r2=1.3
Thanks. Which shows that attaching cvs revision to bug is very good practice indeed.