% emerge dpkg -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-arch/dpkg-1.15.6 [1.15.5.6-r1] USE="bzip2 -nls -test unicode zlib" LINGUAS="-de -es -fr -hu -ja -pl (-pt_BR%) -ru -sv" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB It fails with make[3]: Entering directory `/mnt/scratch/portage/app-arch/dpkg-1.15.6/work/dpkg-1.15.6/dselect' i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -O2 -march=prescott -pipe -fomit-frame-pointer -MT basecmds.o -MD -MP -MF .deps/basecmds.Tpo -c -o basecmds.o basecmds.cc i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -O2 -march=prescott -pipe -fomit-frame-pointer -MT baselist.o -MD -MP -MF .deps/baselist.Tpo -c -o baselist.o baselist.cc i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../lib/compat -iquote . -I.. -I../lib -O2 -march=prescott -pipe -fomit-frame-pointer -MT basetop.o -MD -MP -MF .deps/basetop.Tpo -c -o basetop.o basetop.cc basecmds.cc: In member function 'void baselist::kd_bottom()': basecmds.cc:75: error: 'min' was not declared in this scope make[3]: *** [basecmds.o] Error 1 make[3]: *** Waiting for unfinished jobs.... With USE="nls" everything builds, after pulling in a load of extra deps. % emerge --info \=app-arch/dpkg-1.15.6 Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-tuxonice-r5_2 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-tuxonice-r5_2-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 24 Mar 2010 15:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p2-r1 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5, 3.1.2 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.4, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs 2" FEATURES="assume-digests buildpkg distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" LANG="en_GB" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j3" PKGDIR="/mnt/portage/packages/grunthos" 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="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/layman/lxde /mnt/portage/layman/wolf31o2 /mnt/portage/layman/kde /mnt/portage/layman/kde-sunset /mnt/portage/layman/cwiid /mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="X a52 aac aalib acpi alsa audiofile bluetooth branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr ebook encode exif fam ffmpeg flac gdbm gif gimp gnutls gpg gphoto2 gpm gtk hal iconv id3 imagemagick imap java jpeg jpeg2k kde laptop libnotify libwww lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musicbrainz ncurses nptl nptlonly nsplugin offensive ogg opengl openmp oss pcre pdf png pppd python qt3support qt4 quicktime rdesktop readline reflection scanner sdl semantic-desktop session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vorbis webkit wifi win32codecs x264 x86 xcomposite xml xorg xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon nikon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 225139 [details] build log
Created attachment 225141 [details] build environment
Looks like dselect can't be built without NLS. Luckily, configure has a --without-dselect switch so we can turn that into a USE flag.
I have introduced USE=dselect which controls whether dselect is built/installed. This is automatically disabled with USE=-nls and an elog message warns about that. Please reopen if that isn't satisfactory.
That fixed it, thank you very much.