Just doing a fresh gentoo install on a new machine. Portmap just wont compile. I'm temporarily on xandros until this is resolved. I also tried again under xandros in a chroot, and surely enough, everything compiles except for portmap and I tried both stage1 and stage3 installs. Reproducible: Always Steps to Reproduce: 1. emerge portmap 2. 3. Actual Results: multimedia root # emerge -v portmap Calculating dependencies ...done! >>> emerge (1 of 1) net-nds/portmap-5b-r9 to / >>> md5 src_uri ;-) portmap_5beta.tar.gz >>> Unpacking source... >>> Unpacking portmap_5beta.tar.gz to /var/tmp/portage/portmap-5b-r9/work * Applying portmap_5beta.dif ... [ ok ] * Applying portmap-4.0-malloc.patch ... [ ok ] * Applying portmap-4.0-cleanup.patch ... [ ok ] * Applying portmap-4.0-rpc_user.patch ... [ ok ] * Applying portmap-4.0-sigpipe.patch ... [ ok ] * Applying portmap-5b-include-errno_h.patch ... [ ok ] * Applying portmap-5b-loopback-only.patch ... [ ok ] * Applying portmap-5b-optional-tcpd.patch ... [ ok ] >>> Source unpacked. i686-pc-linux-gnu-gcc -Dperror=xperror -DCHECK_PORT readline ncurses python perl xml gpm nptl userlocales zlib symlink berkdb gdbm crypt -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -march=athlon-xp -O3 -pipe -fomit-frame-pointer -DHOSTS_ACCESS -c -o portmap.o portmap.c i686-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations make: *** [portmap.o] Error 1 !!! ERROR: net-nds/portmap-5b-r9 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. multimedia root # emerge info Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-mm2 i686) ================================================================= System uname: 2.6.10-mm2 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 13:35:48)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms" GENTOO_MIRRORS="http://194.117.143.70 http://194.117.143.72 ftp://mirrors1.netvisao.pt/gentoo/ http://194.117.143.69 http://212.219.56.131/sites/www.ibiblio.org/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X acl alsa aotuv arts audiofile avi berkdb bitmap-fonts cdparanoia crypt cups encode flac font-server gd gdbm gif gimpprint gphoto2 gpm gtk2 ipv6 jack jpeg kdeenablefinal kdexdeltas mad mmx mmx2 mysql ncurses nptl nvidia oggvorbis opengl pam pdflib perl php png ppds python quicktime readline real rtc scanner slp spell sqlite sse ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts userlocales v4l xml xprint xv xvid xvmc zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
oh crap. I specified use flag groups in make.conf, but used a name that overwritten a variable used by portmap. Added a U_ prefix now: U_SYSTEM="readline ncurses python perl xml gpm nptl userlocales zlib symlink berkdb gdbm crypt" U_CPU="3dnow 3dnowex mmx mmx2 sse" U_NET="acl ipv6 pam ssl tcpd" U_FONT="truetype bitmap-fonts truetype-fonts type1-fonts font-server" U_DESK="X gtk2 scanner spell gphoto2 v4l kdexdeltas kdeenablefinal" U_PRINT="xprint cups ppds slp gimpprint" U_SOUND="jack alsa arts audiofile oggvorbis mad flac" U_VID="rtc real theora xv xvmc avi quicktime" U_GFX="gif jpeg png tiff svg" U_DESIGN="povray opengl" U_ENCODE="cdparanoia encode xvid" U_LOCALE="unicode nls -userlocales" U_THEATER="dts dvd dvdread lirc" U_PVR="mythtv v4l v4l2" U_FRAMEBUFFER="directfb fbcon ggi svga gpm" U_COMPAT="live matroska xanim mng wmf mikmod openexr tga speex" U_MSCOMPAT="samba" U_FINANCE="ofx quotes" U_LAPTOP="pcmcia" U_DEV="debug doc" U_MISC="opengl nvidia aotuv mysql sqlite php pdflib gd" # xinerama, java, 3dfx, matrox, joystick, dvb, sdl, # nas (network audio sound), cjk (japanese, chinese, korean) # Choose from the above groups USE="-* $U_SYSTEM $U_CPU $U_NET $U_FONT $U_DESK $U_PRINT $U_SOUND $U_VID \ $U_GFX $U_ENCODE $U_MISC"
See here for fix proposal and patch: http://bugs.gentoo.org/show_bug.cgi?id=83000
Fixed in portage, can this be marked as CLOSEDFIXED?
Well, I'll close it.