From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MFVG1-0000rS-Jq for garchives@archives.gentoo.org; Sat, 13 Jun 2009 15:35:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0BF9E041F; Sat, 13 Jun 2009 15:34:54 +0000 (UTC) Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.221.179]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C1DDE041F for ; Sat, 13 Jun 2009 15:34:54 +0000 (UTC) Received: by qyk9 with SMTP id 9so964935qyk.32 for ; Sat, 13 Jun 2009 08:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nkvOlS0LodpZ+xa+0QoVc1HWC68oHOI3O53E/+zT9I4=; b=H1cVzh3hZIZNGrXdLKqQbmRAImHgm9jjPF4pBy3VqF3UGhc83GjIgxKEOLrqnF1/3+ weChPc8WaYD6/VnV0CHxIdljbAVJiF7Lbd8j5rHh0q+Y7x69GfYmr+U2YYWcjVS0chhj uRAuT7G0Qth/VfbGdppQys6QGs1k4SwM5f4AE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XV66437JLEPN1Wc58xvdiGgyvb4kEl4EEc6mYmx5SKGc3jtCoH9+8gnymtNQ+TwYV+ 5A9pXXC1q0e56gbIGXhXEm7Mt9lMxwWEBrm2p7ftIiZcOIpg+txLBdSc2NbA6NbTE2sG lNrYQjyWEtnAoaNKr2VYrp1HkHcvppdvbqVKM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.99.77 with SMTP id t13mr3122286vcn.31.1244907293607; Sat, 13 Jun 2009 08:34:53 -0700 (PDT) In-Reply-To: <1714d8fb-732a-4ada-a63d-60109678b28f@y7g2000yqa.googlegroups.com> References: <1714d8fb-732a-4ada-a63d-60109678b28f@y7g2000yqa.googlegroups.com> Date: Sat, 13 Jun 2009 11:34:53 -0400 Message-ID: <534c2d370906130834la50b402l7a520e5a1fb6e02c@mail.gmail.com> Subject: [gentoo-user] install consistently fails to create work (sub)directory From: Walt Rarus To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016e646a4000387eb046c3c9177 X-Archives-Salt: 4edeb0ed-1fdf-4627-bce4-5f24b7915155 X-Archives-Hash: 8f598049afe88aea267ed260f6cf0d27 --0016e646a4000387eb046c3c9177 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I can't perform any successful emerges. An example output is: >>> Emerging (1 of 1) sys-apps/portage-2.1.6.13 * portage-2.1.6.13.patch.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ] * portage-2.1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ] * checking ebuild checksums ;-) [ ok ] * checking auxfilechecksums ;-) [ ok ] * checking miscfilechecksums ;-) [ ok ] >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... /usr/lib64/portage/bin/ebuild.sh: line 654: 15626 Illegal instruction install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$ {WORKDIR}" * * ERROR: sys-apps/portage-2.1.6.13 failed. * Call stack: * ebuild.sh, line 2112: Called ebuild_main * ebuild.sh, line 2034: Called dyn_unpack * ebuild.sh, line 689: Called die * The specific snippet of code: * install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$ {WORKDIR}" || die "Failed to create dir '${WORKDIR}'" * The die message: * Failed to create dir '/var/tmp/portage/sys-apps/portage-2.1.6.13/ work' * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/ portage-2.1.6.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys- apps/portage-2.1.6.13/temp/environment'. * The last kernel log entry registers the failure "[15626]" shown in the above output: WALRUS ~ # cat /var/log/kernel/current | grep install Jun 13 00:34:13 [kernel] install[12732] trap invalid opcode rip:40acd8 rsp:7fffaa8319d0 error:0 Jun 13 00:36:38 [kernel] install[13001] trap invalid opcode rip:40acd8 rsp:7ffff1ae8c90 error:0 Jun 13 00:49:45 [kernel] install[13347] trap invalid opcode rip:40acd8 rsp:7fffe38249d0 error:0 Jun 13 00:51:43 [kernel] install[13636] trap invalid opcode rip:40acd8 rsp:7fff535a2670 error:0 Jun 13 00:57:01 [kernel] install[13921] trap invalid opcode rip:40acd8 rsp:7fff36e98050 error:0 Jun 13 06:57:45 [kernel] Time: acpi_pm clocksource has been installed. Jun 13 07:15:37 [kernel] install[5477] trap invalid opcode rip:40a93f rsp:7fffdf45f0d8 error:0 Jun 13 07:58:55 [kernel] install[5969] trap invalid opcode rip:40a93f rsp:7fff1834cf98 error:0 Jun 13 08:19:29 [kernel] install[6381] trap invalid opcode rip:40a93f rsp:7fff8bdfa9a8 error:0 Jun 13 10:24:38 [kernel] install[15361] trap invalid opcode rip:40a93f rsp:7fff9b352ef8 error:0 Jun 13 10:29:02 [kernel] install[15626] trap invalid opcode rip:40a93f rsp:7fff83e2b9d8 error:0 I'm in way over my head here. Any help would be appreciated. WALRUS ~ # emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.24-gentoo-r4-x86_64-AMD_Athlon-tm- _64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5 Timestamp of tree: Sat, 13 Jun 2009 06:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 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.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=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/ kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/ java/ /etc/fonts/fonts.conf /etc/gconf /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=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages parallel- fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo ftp://lug.mtu.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j3" 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/portage/local/layman/java-binary /usr/portage/ local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/ portage/local/layman/lisp" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apache2 arts berkdb blas bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal lapack ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sqlite sse sse2 ssl startup- notification svg sysfs tcltk tcpd tiff truetype type1 unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS --0016e646a4000387eb046c3c9177 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I can't perform any successful emerges. An e= xample output is:

>>> Emerging (1 of 1) sys-apps/portage-2.1.6.13
=A0* portage-2.1.6.13.patch.bz2 RMD160 SHA1 SHA256 size ;-) =A0[ ok ]
=A0* portage-2.1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) =A0 =A0 =A0 =A0 =A0 = [ ok ]
=A0* checking ebuild checksums ;-) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[ ok ]
=A0* checking auxfilechecksums ;-) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [ ok ]
=A0* checking miscfilechecksums ;-) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
/usr/lib64/portage/bin/ebuild.sh: line 654: 15626 Illegal
instruction =A0 =A0 install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$
{WORKDIR}"
=A0*
=A0* ERROR: sys-apps/portage-2.1.6.13 failed.
=A0* Call stack:
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0 ebuild.sh, line 2112: =A0Called ebuild_mai= n
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0 ebuild.sh, line 2034: =A0Called dyn_unpack=
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0 ebuild.sh, line =A0689: =A0Called die
=A0* The specific snippet of code:
=A0* =A0 =A0 =A0 =A0 =A0 =A0 =A0install -m${PORTAGE_WORKDIR_MODE:-0700} -d = "$
{WORKDIR}" || die "Failed to create dir '${WORKDIR}'"= ;
=A0* =A0The die message:
=A0* =A0 Failed to create dir '/var/tmp/portage/sys-apps/portage-2.1.6.= 13/
work'
=A0*
=A0* If you need support, post the topmost build error, and the call
stack if relevant.
=A0* A complete build log is located at '/var/tmp/portage/sys-apps/
portage-2.1.6.13/temp/build.log'.
=A0* The ebuild environment file is located at '/var/tmp/portage/sys- apps/portage-2.1.6.13/temp/environment'.
=A0*

The last kernel log entry registers the failure "[15626]" shown i= n the
above output:

WALRUS ~ # cat /var/log/kernel/current | grep install
Jun 13 00:34:13 [kernel] install[12732] trap invalid opcode rip:40acd8
rsp:7fffaa8319d0 error:0
Jun 13 00:36:38 [kernel] install[13001] trap invalid opcode rip:40acd8
rsp:7ffff1ae8c90 error:0
Jun 13 00:49:45 [kernel] install[13347] trap invalid opcode rip:40acd8
rsp:7fffe38249d0 error:0
Jun 13 00:51:43 [kernel] install[13636] trap invalid opcode rip:40acd8
rsp:7fff535a2670 error:0
Jun 13 00:57:01 [kernel] install[13921] trap invalid opcode rip:40acd8
rsp:7fff36e98050 error:0
Jun 13 06:57:45 [kernel] Time: acpi_pm clocksource has been installed.
Jun 13 07:15:37 [kernel] install[5477] trap invalid opcode rip:40a93f
rsp:7fffdf45f0d8 error:0
Jun 13 07:58:55 [kernel] install[5969] trap invalid opcode rip:40a93f
rsp:7fff1834cf98 error:0
Jun 13 08:19:29 [kernel] install[6381] trap invalid opcode rip:40a93f
rsp:7fff8bdfa9a8 error:0
Jun 13 10:24:38 [kernel] install[15361] trap invalid opcode rip:40a93f
rsp:7fff9b352ef8 error:0
Jun 13 10:29:02 [kernel] install[15626] trap invalid opcode rip:40a93f
rsp:7fff83e2b9d8 error:0

I'm in way over my head here. Any help would be appreciated.

WALRUS ~ # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2,
glibc-2.8_p20080602-r1, 2.6.24-gentoo-r4 x86_64)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
System uname: Linux-2.6.24-gentoo-r4-x86_64-AMD_Athlon-tm-
_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Sat, 13 Jun 2009 06:15:01 +0000
app-shells/bash: =A0 =A0 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: =A0 =A0 2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: =A0 =A0 =A02.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: =A0 =A01.6-r2
sys-devel/autoconf: =A02.13, 2.63
sys-devel/automake: =A01.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: =A02.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: =A0 1.5.26
virtual/os-headers: =A02.6.27-r2
ACCEPT_KEYWORDS=3D"amd64"
CBUILD=3D"x86_64-pc-linux-gnu"
CFLAGS=3D"-march=3Dathlon64 -O2 -pipe -msse3"
CHOST=3D"x86_64-pc-linux-gnu"
CONFIG_PROTECT=3D"/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr= /
kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK=3D"/etc/ca-certificates.conf /etc/env.d /etc/env.d= /
java/ /etc/fonts/fonts.conf /etc/gconf /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=3D"-march=3Dathlon64 -O2 -pipe -msse3"
DISTDIR=3D"/usr/portage/distfiles"
FEATURES=3D"ccache collision-protect distlocks fixpackages parallel- fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"<= br> GENTOO_MIRRORS=3D"http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo
http://= mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo=
ftp://lug.mtu.edu/ge= ntoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/ "
LANG=3D"en_US.utf8"
LDFLAGS=3D"-Wl,-O1"
LINGUAS=3D"en en_US"
MAKEOPTS=3D"-j3"
PKGDIR=3D"/usr/portage/packages"
PORTAGE_CONFIGROOT=3D"/"
PORTAGE_RSYNC_OPTS=3D"--recursive --links --safe-links --perms --times= --
compress --force --whole-file --delete --stats --timeout=3D180 --
exclude=3D/distfiles --exclude=3D/local --exclude=3D/packages"
PORTAGE_TMPDIR=3D"/var/tmp"
PORTDIR=3D"/usr/portage"
PORTDIR_OVERLAY=3D"/usr/portage/local/layman/java-binary /usr/portage/=
local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/
portage/local/layman/lisp"
SYNC=3D"rsync://rsync21.us.gentoo.org/gentoo-portage"
USE=3D"X acl acpi alsa amd64 apache2 arts berkdb blas bluetooth brandi= ng
bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread
eds emacs emboss encode esd evo fam firefox fortran gdbm gif gpm
gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal lapack
ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses
nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png
postgres ppds pppd python qt3 qt3support qt4 quicktime readline
reflection ruby sdl session spell spl sqlite sse sse2 ssl startup-
notification svg sysfs tcltk tcpd tiff truetype type1 unicode usb
vorbis xml xorg xulrunner xv zlib" ALSA_CARDS=3D"intel8x0" ALSA_PCM_PLUGINS=3D"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=3D"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=3D"glibc" INPUT_DEVICES= =3D"keyboard
mouse" KERNEL=3D"linux" LCD_DEVICES=3D"bayrad cfontz cf= ontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS=3D"en en_US" USER= LAND=3D"GNU"
VIDEO_CARDS=3D"nv nvidia vesa"
Unset: =A0CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

--0016e646a4000387eb046c3c9177--