View previous topic :: View next topic |
Author |
Message |
BlueShift Tux's lil' helper
Joined: 04 Jun 2002 Posts: 114 Location: Belgium
|
Posted: Fri Feb 28, 2003 8:05 am Post subject: emerge hangs while unpacking |
|
|
Hi everybody,
computer: ibook2 running Gentoo PPC 1.2
Yesterday I upgraded portage to portage-2.0.47-r7, I finished etc-update (updating make.globals along the way), and I ran regenworld (which apparently was necessary)
Now I cannot emerge any ebuild, it just sits there doing nothing (using no CPU time) while it says it's Unpacking the source
Code: | $ emerge -u wireless-tools
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/wireless-tools-24 to /
>>> md5 ;-) wireless_tools.24.tar.gz
>>> Unpacking source...
>>> Unpacking wireless_tools.24.tar.gz to /var/tmp/portage/wireless-tools-24/work
|
And it does this with all packages.
emerge info gives me:
Code: | Portage 2.0.47-r7 (default-ppc-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r7)
=================================================================
System uname: 2.4.20-rc4-ben0 ppc
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="oss dvd xv libwww nls mitshm qt kde ppc gnome-libs gdbm berkdb slang readline bonobo java guile mysql postgres X sdl tcpd esd oggvorbis gnome gtk motif opengl mozilla gtkhtml tcltk imlib ncurses gif jpeg png tiff ssl pam crypt socks5 truetype freetype xml xml2 pdflib perl python samba gpm dga"
COMPILER=""
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
CXXFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring"
ACCEPT_KEYWORDS="ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache userpriv usersandbox"
|
Has anybody got any idea what's going on here ?
Thanks and greetings,
Jan. |
|
Back to top |
|
|
BlueShift Tux's lil' helper
Joined: 04 Jun 2002 Posts: 114 Location: Belgium
|
Posted: Fri Feb 28, 2003 3:15 pm Post subject: |
|
|
I have nailed it down to the function unpack() in /usr/sbin/ebuild.sh
when I change the code:
Code: | gz|Z|z)
if [ "${y}" == "tar" ]; then
tar xz --no-same-owner -f ${DISTDIR}/${x} || die "$myfail"
else
gzip -dc ${DISTDIR}/${x} > ${x%.*} || die "$myfail"
fi
;;
| to Code: | gz|Z|z)
if [ "${y}" == "tar" ]; then
echo "===> Starting !!"
tar xz --no-same-owner -f ${DISTDIR}/${x} || die "$myfail"
echo "===> Done !!"
else
gzip -dc ${DISTDIR}/${x} > ${x%.*} || die "$myfail"
fi
;;
|
I get: Code: | $ emerge -u wireless-tools
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/wireless-tools-24 to /
>>> md5 ;-) wireless_tools.24.tar.gz
>>> Unpacking source...
>>> Unpacking /usr/portage/distfiles/wireless_tools.24.tar.gz to
/var/tmp/portage/wireless-tools-24/work
===> Starting !!
|
And that's it. I am completely lost at this one.
Meanwhile "ps axf" gives me (among other things) (line are a bit shortened):
Code: | 1372 tty2 S 0:00 login -- root
1373 tty2 S 0:00 \_ -bash
1719 tty2 S 0:01 \_ python2.2 /usr/bin/emerge -u wireless-tools
1759 tty2 S 0:00 \_ [wireless-tools-24] sandbox /usr/sbin/ebuild.sh unpack
1760 tty2 S 0:00 \_ /bin/bash /usr/sbin/ebuild.sh unpack
1766 tty2 S 0:00 \_ /bin/bash /usr/sbin/ebuild.sh unpack
1779 tty2 S 0:00 | \_ tar xz --no-same-owner -f /usr/portage/distfiles/wireless_tools.24.tar.gz
1780 tty2 S 0:00 | \_ gzip -d
1767 tty2 S 0:00 \_ tee -a /var/log/emerge/999-wireless-tools-24.log
| So tar and and gzip are just hanging there. These executables haven't changed since 24 Dec.
Also if I try "tar xz --no-same-owner -f /usr/portage/distfiles/wireless_tools.24.tar.gz" manually it works without a problem.
Anybody any idea? (please)
Greetings,
Jan.
Last edited by BlueShift on Fri Feb 28, 2003 11:09 pm; edited 1 time in total |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Feb 28, 2003 3:22 pm Post subject: |
|
|
I did a few searches on https://bugs.gentoo.org to see if I could find anything about this, but didn't turn anything up.
You might want to file one, and post a link here.
It seems like you've diagnosed quite a few symptoms.
If anyone can reproduce this, post here.
Also, if you are posting here be sure to manually enter returns.
The code segments above will not wrap.
This is simply something that phpBB doesn't do well. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Feb 28, 2003 3:37 pm Post subject: |
|
|
I haven't run into this on x86. I wouldn't think that matters since the tar command seems to be where its hanging. Have you tried an emerge sync? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
BlueShift Tux's lil' helper
Joined: 04 Jun 2002 Posts: 114 Location: Belgium
|
Posted: Fri Feb 28, 2003 6:16 pm Post subject: |
|
|
OK, removing "sandbox" and "usersandbox" from the FEATURES in make.conf made it work. Should I cross-post it to the PPC forum (what's the nice way of cross-posting BTW (if there is such a thing))
running 'emerge sync' made no difference, but in any case that would not touch any binaries or scripts right?
I'll submit a bug report now.
Greetings,
Jan. |
|
Back to top |
|
|
BlueShift Tux's lil' helper
Joined: 04 Jun 2002 Posts: 114 Location: Belgium
|
|
Back to top |
|
|
|