Summary: | sys-apps/portage-2.1.3.19 - emerge -av hangs up | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Roman Brunka <rbrunka> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | HPPA | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Roman Brunka
2007-12-19 15:28:30 UTC
~ # emerge --info Portage 2.1.3.19 (default-linux/hppa/2007.0/server, gcc-4.1.2, glibc-2.5-r4, 2.6.22-hppa parisc) ================================================================= System uname: 2.6.22-hppa parisc PA8000 (PCX-U) Timestamp of tree: Wed, 19 Dec 2007 12:46:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="hppa" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=2.0" CHOST="hppa2.0-unknown-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt cups firefox foomaticdb fortran gdbm gpm hppa iconv imlib ipv6 isdnlog libwww mailwrapper midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session slang smp snmp spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode xml xml2 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Portage hangs up always by 'egrep -v -e ^SANDBOX_ -e ^LD_PRELOAD= -e ^FAKEROOTKEY='. May it be a sandbox problem? It seems like sys-apps/grep is broken. Does /var/log/emerge.log show a recent upgrade of that package? I you have a binar package then maybe you can extract it and restore /bin/grep from that. This is the emerge.log. (*** terminating because I allways kill the processes). 1198072193: Started emerge on: Dec 19, 2007 14:49:53 1198072193: *** emerge --ask --verbose portage 1198072234: >>> emerge (1 of 1) sys-apps/portage-2.1.3.19 to / 1198072236: === (1 of 1) Cleaning (sys-apps/portage-2.1.3.19::/usr/portage/sys-apps/portage/portage-2.1.3.19.ebuild) 1198072244: === (1 of 1) Compiling/Merging (sys-apps/portage-2.1.3.19::/usr/portage/sys-apps/portage/portage-2.1.3.19.ebuild) 1198073012: *** terminating. 1198073018: Started emerge on: Dec 19, 2007 15:03:38 1198073018: *** emerge --ask --verbose sandbox 1198073033: >>> emerge (1 of 1) sys-apps/sandbox-1.2.18.1-r2 to / 1198073035: === (1 of 1) Cleaning (sys-apps/sandbox-1.2.18.1-r2::/usr/portage/sys-apps/sandbox/sandbox-1.2.18.1-r2.ebuild) 1198073043: === (1 of 1) Compiling/Merging (sys-apps/sandbox-1.2.18.1-r2::/usr/portage/sys-apps/sandbox/sandbox-1.2.18.1-r2.ebuild) 1198091963: Started emerge on: Dec 19, 2007 20:19:23 1198091963: *** emerge --deep --ask --verbose sandbox 1198091976: >>> emerge (1 of 1) sys-apps/sandbox-1.2.18.1-r2 to / 1198091978: === (1 of 1) Cleaning (sys-apps/sandbox-1.2.18.1-r2::/usr/portage/sys-apps/sandbox/sandbox-1.2.18.1-r2.ebuild) 1198091981: *** terminating. Maybe you can fix it this way: mv /bin/grep /bin/grep.broken ln -s busybox /bin/grep emerge -1 grep Or... maybe you need to rebuild sandbox with sandbox temporarily disabled: env FEATURES="-sandbox -usersandbox" emerge -1 sandbox FEATURES="-sandbox -usersandbox" emerge -1 sandbox doesn't work. It hangs up. The second method I'll try next week. busybox also doesn't help... :( I've made a chroot jail (from stage) and there all is going correctly. I don't know how to move the libraries and binaries to correct the main root. There are some instructions for manual upgrade here: ttp://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml You might want to try that with portage-2.1.4_rc14 (portage-2.1.3.16.tar.bz2 with portage-2.1.4_rc14.patch.bz2 applied to it). portage-2.1.4 uses a python script instead of grep, so it might behave differently. Thanks, it works :) |