When emerging transcode-0.6.12-r1 on AMD64, the process failed immediately after ./configure step with a '/tmp/.*** Bad file descriptor' error. Reproducible: Always Steps to Reproduce: 1. emerge -v transcode 2. 3. Actual Results: Emerge failed. See error message: --------------------------------- Calculating world dependencies ...done! >>> emerge (1 of 1) media-video/transcode-0.6.12-r1 to / >>> md5 src_uri ;-) transcode-0.6.12.tar.gz >>> Unpacking source... >>> Unpacking transcode-0.6.12.tar.gz to /var/tmp/portage/transcode-0.6.12-r1/work * Applying transcode-gcc34.patch ... [ ok ] * Applying transcode-0.6.12-gcc-3.4.patch ... [ ok ] * New netbpm (>9.12)... >>> Source unpacked. * Patching ${S}/autotools/ltmain.sh ... * Applying portage-1.4.1.patch ... * Applying max_cmd_len-1.5.0.patch ... * Applying sed-1.4.3.patch ... * Applying tmp-1.3.5.patch ... * Applying uClibc/libtool patches ... * econf: updating /var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/autotools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating /var/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/autotools/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=//usr/lib CFLAGS=-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer -DDCT_YUV_PRECISION=1 --disable-sse --disable-3dnow --disable-altivec --without-avifile-mods --disable-avifile6 --enable-lame --disable-libmpeg3 --without-ogg --without-vorbis --without-theora --enable-x --with-dvdread --with-libpostproc-builddir=//usr/lib configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. ... <snipped> ... config.status: creating config.h config.status: executing depfiles commands ---------------------------------------------------------- Summary for transcode 0.6.12 features: *-*-*-*-*-*-* Core *-*-*-*-*-*-* static AV-frame buffering yes support for network (sockets) streams yes DVD navigation support with libdvdread yes link against local lame library (>=3.89) | ver yes | 396 pvm3 support no *-*-*-*-*-*-* Codec *-*-*-*-*-*-* nasm dependent modules (bbmpeg) no mjpegtools dependent modules yes libdv dependent modules yes Ogg support | Vorbis support | Theora support no | no | no Default xvid export module xvid2 liba52 audio plugin (>=0.7.3) | default decoder yes | yes avifile API support no ImageMagick dependent modules (>=5.4.3) yes libjpeg dependent modules | mmx accel yes | no liblzo dependent modules yes libxml2 dependent modules yes experimental v4l support yes experimental lve support no libmpeg3 dependent modules no libfame video encoding plugin yes quicktime dependent modules no *-*-*-*-*-*-* Filter *-*-*-*-*-*-* X11 dependent filter plugins yes freetype2 dependent filter (text, subtitler) yes ---------------------------------------------------------- /tmp/ed.66WyP6: Bad file descriptor !!! ERROR: media-video/transcode-0.6.12-r1 failed. !!! Function econf, Line 449, Exitcode 2 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. ------------------------------ Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64) ================================================================= System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r2 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://beethoven:8027/ http://mozart:8027/ http://planetmirror.com/pub/gentoo/ http://ftp.gentoo.or.kr/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://beethoven/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr cjk cross crypt cups dga dvd dvdr emul-linux-x86 encode f77 fam flash fortran gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib ipv6 jp2 jpeg libwww lzw lzw-tiff moznocompose moznoirc moznomail moznoxmlterm multilib ncurses nls nptl opengl pam perl png pnp ppds python readline samba sdl spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xinerama xml2 xmms xpm xrandr xv zlib"
I can't confirm the above problem. Try with FEATURES="-sandbox" and report whether the problem still persists
The problem persists. However, someone mentioned in http://forums.gentoo.org/viewtopic.php?t=277600&sid=2fab8a83ec415f87f891c34c636ef708 that a new 'emerge --sync' might help, since he/she can't reproduce the error. I can't do that now (the AMD64 is behind corporate firewall). I will have to bring my laptop back home today to sync the lastest portage tree, so I can only report back tomorrow.
Nope, the problem persist. Nobody else has this problem?
An upgrade of sys-app/ed from 2.0-r5 to 2.0-r6 solves the problem.
Opps, sorry, typo, it should be: "An upgrade of sys-app/ed from 0.2-r5 to 0.2-r6 solves the problem".