Gentoo Archives: gentoo-user

From: Walt Rarus <geeked.up@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] install consistently fails to create work (sub)directory
Date: Sat, 13 Jun 2009 15:35:02
Message-Id: 534c2d370906130834la50b402l7a520e5a1fb6e02c@mail.gmail.com
1 I can't perform any successful emerges. An example output is:
2
3 >>> Emerging (1 of 1) sys-apps/portage-2.1.6.13
4 * portage-2.1.6.13.patch.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ]
5 * portage-2.1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) [ ok ]
6 * checking ebuild checksums ;-)
7 [ ok ]
8 * checking auxfilechecksums ;-)
9 [ ok ]
10 * checking miscfilechecksums ;-)
11 [ ok ]
12 >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
13 /usr/lib64/portage/bin/ebuild.sh: line 654: 15626 Illegal
14 instruction install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$
15 {WORKDIR}"
16 *
17 * ERROR: sys-apps/portage-2.1.6.13 failed.
18 * Call stack:
19 * ebuild.sh, line 2112: Called ebuild_main
20 * ebuild.sh, line 2034: Called dyn_unpack
21 * ebuild.sh, line 689: Called die
22 * The specific snippet of code:
23 * install -m${PORTAGE_WORKDIR_MODE:-0700} -d "$
24 {WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
25 * The die message:
26 * Failed to create dir '/var/tmp/portage/sys-apps/portage-2.1.6.13/
27 work'
28 *
29 * If you need support, post the topmost build error, and the call
30 stack if relevant.
31 * A complete build log is located at '/var/tmp/portage/sys-apps/
32 portage-2.1.6.13/temp/build.log'.
33 * The ebuild environment file is located at '/var/tmp/portage/sys-
34 apps/portage-2.1.6.13/temp/environment'.
35 *
36
37 The last kernel log entry registers the failure "[15626]" shown in the
38 above output:
39
40 WALRUS ~ # cat /var/log/kernel/current | grep install
41 Jun 13 00:34:13 [kernel] install[12732] trap invalid opcode rip:40acd8
42 rsp:7fffaa8319d0 error:0
43 Jun 13 00:36:38 [kernel] install[13001] trap invalid opcode rip:40acd8
44 rsp:7ffff1ae8c90 error:0
45 Jun 13 00:49:45 [kernel] install[13347] trap invalid opcode rip:40acd8
46 rsp:7fffe38249d0 error:0
47 Jun 13 00:51:43 [kernel] install[13636] trap invalid opcode rip:40acd8
48 rsp:7fff535a2670 error:0
49 Jun 13 00:57:01 [kernel] install[13921] trap invalid opcode rip:40acd8
50 rsp:7fff36e98050 error:0
51 Jun 13 06:57:45 [kernel] Time: acpi_pm clocksource has been installed.
52 Jun 13 07:15:37 [kernel] install[5477] trap invalid opcode rip:40a93f
53 rsp:7fffdf45f0d8 error:0
54 Jun 13 07:58:55 [kernel] install[5969] trap invalid opcode rip:40a93f
55 rsp:7fff1834cf98 error:0
56 Jun 13 08:19:29 [kernel] install[6381] trap invalid opcode rip:40a93f
57 rsp:7fff8bdfa9a8 error:0
58 Jun 13 10:24:38 [kernel] install[15361] trap invalid opcode rip:40a93f
59 rsp:7fff9b352ef8 error:0
60 Jun 13 10:29:02 [kernel] install[15626] trap invalid opcode rip:40a93f
61 rsp:7fff83e2b9d8 error:0
62
63 I'm in way over my head here. Any help would be appreciated.
64
65 WALRUS ~ # emerge --info
66 Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2,
67 glibc-2.8_p20080602-r1, 2.6.24-gentoo-r4 x86_64)
68 =================================================================
69 System uname: Linux-2.6.24-gentoo-r4-x86_64-AMD_Athlon-tm-
70 _64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
71 Timestamp of tree: Sat, 13 Jun 2009 06:15:01 +0000
72 app-shells/bash: 3.2_p39
73 dev-java/java-config: 1.3.7-r1, 2.1.7
74 dev-lang/python: 2.4.4-r13, 2.5.4-r2
75 dev-python/pycrypto: 2.0.1-r6
76 dev-util/cmake: 2.4.8
77 sys-apps/baselayout: 1.12.11.1
78 sys-apps/sandbox: 1.6-r2
79 sys-devel/autoconf: 2.13, 2.63
80 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
81 1.10.2
82 sys-devel/binutils: 2.18-r3
83 sys-devel/gcc-config: 1.4.1
84 sys-devel/libtool: 1.5.26
85 virtual/os-headers: 2.6.27-r2
86 ACCEPT_KEYWORDS="amd64"
87 CBUILD="x86_64-pc-linux-gnu"
88 CFLAGS="-march=athlon64 -O2 -pipe -msse3"
89 CHOST="x86_64-pc-linux-gnu"
90 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/
91 kde/3.5/shutdown /usr/share/config"
92 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/
93 java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/
94 sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/
95 language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
96 CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
97 DISTDIR="/usr/portage/distfiles"
98 FEATURES="ccache collision-protect distlocks fixpackages parallel-
99 fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
100 GENTOO_MIRRORS="http://gentoo.osuosl.org/
101 ftp://ftp.gtlib.gatech.edu/pub/gentoo
102 http://mirrors.acm.cs.rpi.edu/gentoo/
103 http://open-systems.ufl.edu/mirrors/gentoo
104 ftp://lug.mtu.edu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/
105 http://mirror.clarkson.edu/pub/distributions/gentoo/ "
106 LANG="en_US.utf8"
107 LDFLAGS="-Wl,-O1"
108 LINGUAS="en en_US"
109 MAKEOPTS="-j3"
110 PKGDIR="/usr/portage/packages"
111 PORTAGE_CONFIGROOT="/"
112 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
113 compress --force --whole-file --delete --stats --timeout=180 --
114 exclude=/distfiles --exclude=/local --exclude=/packages"
115 PORTAGE_TMPDIR="/var/tmp"
116 PORTDIR="/usr/portage"
117 PORTDIR_OVERLAY="/usr/portage/local/layman/java-binary /usr/portage/
118 local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/
119 portage/local/layman/lisp"
120 SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
121 USE="X acl acpi alsa amd64 apache2 arts berkdb blas bluetooth branding
122 bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread
123 eds emacs emboss encode esd evo fam firefox fortran gdbm gif gpm
124 gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal lapack
125 ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses
126 nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png
127 postgres ppds pppd python qt3 qt3support qt4 quicktime readline
128 reflection ruby sdl session spell spl sqlite sse sse2 ssl startup-
129 notification svg sysfs tcltk tcpd tiff truetype type1 unicode usb
130 vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0"
131 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
132 extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
133 mulaw multi null plug rate route share shm softvol"
134 APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon
135 authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
136 authz_groupfile authz_host authz_owner authz_user autoindex cache dav
137 dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter
138 file_cache filter headers ident imagemap include info log_config logio
139 mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
140 proxy_connect proxy_http rewrite setenvif so speling status unique_id
141 userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard
142 mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
143 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU"
144 VIDEO_CARDS="nv nvidia vesa"
145 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
146 LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
147 PORTAGE_RSYNC_EXTRA_OPTS

Replies

Subject Author
[gentoo-user] [Solved] install consistently fails to create work (sub)directory Walt Rarus <geeked.up@×××××.com>