can't emerge flex-2.5.35 Reproducible: Always Actual Results: >>> Emerging (1 of 1) sys-devel/flex-2.5.35 * flex-2.5.35.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking flex-2.5.35.tar.bz2 to /var/tmp/portage/sys-devel/flex-2.5.35/work * Applying flex-2.5.34-isatty.patch ... [ ok ] * Applying flex-2.5.33-pic.patch ... [ ok ] * Applying flex-2.5.35-gcc44.patch ... [ ok ] touch: setting times of `/var/tmp/portage/sys-devel/flex-2.5.35/.unpacked': No such file or directory * * ERROR: sys-devel/flex-2.5.35 failed. * Call stack: * ebuild.sh, line 2104: Called ebuild_main * ebuild.sh, line 2002: Called dyn_unpack * ebuild.sh, line 687: Called die * The specific snippet of code: * touch "${PORTAGE_BUILDDIR}/.unpacked" || die "IO Failure -- Failed 'touch .unpacked' in ${PORTAGE_BUILDDIR}" * The die message: * IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/sys-devel/flex-2.5.35 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-devel:flex-2.5.35:20090510-182841.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/flex-2.5.35/temp/environment'. * >>> Failed to emerge sys-devel/flex-2.5.35, Log file: >>> '/var/log/portage/sys-devel:flex-2.5.35:20090510-182841.log' * Messages for package sys-devel/flex-2.5.35: * * ERROR: sys-devel/flex-2.5.35 failed. * Call stack: * ebuild.sh, line 2104: Called ebuild_main * ebuild.sh, line 2002: Called dyn_unpack * ebuild.sh, line 687: Called die * The specific snippet of code: * touch "${PORTAGE_BUILDDIR}/.unpacked" || die "IO Failure -- Failed 'touch .unpacked' in ${PORTAGE_BUILDDIR}" * The die message: * IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/sys-devel/flex-2.5.35 * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-devel:flex-2.5.35:20090510-182841.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/flex-2.5.35/temp/environment'.
Please attach emerge --info. Does this happen only for flex or some/all other packages.
(In reply to comment #1) > Please attach emerge --info. Does this happen only for flex or some/all other > packages. > Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-3.4.4, glibc-2.4-r3, 2.6.16.28-xen x86_64) ================================================================= System uname: Linux-2.6.16.28-xen-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_1210-with-glibc2.2.5 Timestamp of tree: Sat, 09 May 2009 14:15:02 +0000 app-shells/bash: 3.1_p16 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.61 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.16.1-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe -fexceptions" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /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" CXXFLAGS="-march=opteron -O2 -pipe -fexceptions" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.web4u.cz/" LDFLAGS="-Wl,-O1" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv imap ipv6 isdnlog maildir midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode vhosts x86 xorg zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY found it only for flex
Please remove /var/tmp/portage/sys-devel/flex-2.5.35 and try again.
(In reply to comment #3) > Please remove /var/tmp/portage/sys-devel/flex-2.5.35 and try again. > got same error message
Not sure if this is related to your problem, but you have ACCEPT_KEYWORDS="x86" and CHOST="x86_64-pc-linux-gnu" and an x86 profile. Change ACCEPT_KEYWORDS to amd64 and use eselect profile to select an amd64 profile. And why do you have -fexceptions in your C(XX)FLAGS? I suggest you correct these problems and do an emerge -uDN world. After that try again.
(In reply to comment #5) > Not sure if this is related to your problem, but you have ACCEPT_KEYWORDS="x86" > and CHOST="x86_64-pc-linux-gnu" and an x86 profile. Change ACCEPT_KEYWORDS to > amd64 and use eselect profile to select an amd64 profile. > > And why do you have -fexceptions in your C(XX)FLAGS? I did it and still same problem. > I suggest you correct these problems and do an emerge -uDN world. After that > try again. I dont think emerge -uDn world is best solution for working server. Do you have something else please?
Sorry, you'll have to bring your system into a self-consistent state.