Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94937 - busybox-1.00-r4 w/USE=debug hangs while unpacking
Summary: busybox-1.00-r4 w/USE=debug hangs while unpacking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 11:10 UTC by Chris Slycord
Modified: 2005-06-05 00:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2005-06-03 11:10:14 UTC
I try to emerge busybox-1.00-r4.  It hangs while unpacking.

Here's the output of emerge busybox
emerge busybox
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/busybox-1.00-r4 to /
>>> md5 files   ;-) busybox-1.00-r2.ebuild
>>> md5 files   ;-) busybox-1.00-r4.ebuild
>>> md5 files   ;-) busybox-1.00-r1.ebuild
>>> md5 files   ;-) busybox-1.00-r3.ebuild
>>> md5 files   ;-) files/config-netboot
>>> md5 files   ;-) files/digest-busybox-1.00-r1
>>> md5 files   ;-) files/digest-busybox-1.00-r2
>>> md5 files   ;-) files/digest-busybox-1.00-r3
>>> md5 files   ;-) files/digest-busybox-1.00-r4
>>> md5 files   ;-) files/1.00/bash-tests.patch
>>> md5 files   ;-) files/1.00/bb.patch
>>> md5 files   ;-) files/1.00/standalone.patch
>>> md5 files   ;-) files/1.00/sum.patch
>>> md5 files   ;-) files/1.00/cp-posix-opts.patch
>>> md5 files   ;-) files/1.00/more-insmod-arches.patch
>>> md5 files   ;-) files/1.00/nice.patch
>>> md5 files   ;-) files/1.00/busybox-read-timeout.patch
>>> md5 files   ;-) files/1.00/printenv.patch
>>> md5 files   ;-) files/1.00/readlink-follow.patch
>>> md5 src_uri ;-) busybox-1.00.tar.bz2
>>> md5 src_uri ;-) busybox-1.00-e2fsprogs.patch.bz2
>>> Unpacking source...
>>> Unpacking busybox-1.00.tar.bz2 to /var/tmp/portage/busybox-1.00-r4/work
>>> Unpacking busybox-1.00-e2fsprogs.patch.bz2 to
/var/tmp/portage/busybox-1.00-r4/work
 * Applying busybox-read-timeout.patch ...                                [ ok ]
* Applying readlink-follow.patch ...                                     [ ok ]
* Applying more-insmod-arches.patch ...                                  [ ok ]
* Applying bash-tests.patch ...                                          [ ok ]
* Applying cp-posix-opts.patch ...                                       [ ok ]
* Applying standalone.patch ...                                          [ ok ]
* Applying nice.patch ...                                                [ ok ]
* Applying printenv.patch ...                                            [ ok ]
* Applying sum.patch ...                                                 [ ok ]
* Applying bb.patch ...                                                  [ ok ]
* Applying busybox-1.00-e2fsprogs.patch ...                              [ ok ] *
 * # CONFIG_FEATURE_SUID_CONFIG is not set
 * CONFIG_FEATURE_SH_IS_ASH=y
 * # CONFIG_FEATURE_SH_IS_NONE is not set
 * # CONFIG_STATIC is not set
 * CONFIG_DEBUG=y
 * # CONFIG_SELINUX is not set
 * # CONFIG_LOCALE_SUPPORT is not set
 * # CONFIG_TFTP is not set
 * # CONFIG_FTPGET is not set
 * # CONFIG_FTPPUT is not set
 * # CONFIG_IPCALC is not set
 * # CONFIG_TFTP is not set
 * # CONFIG_HUSH is not set
 * # CONFIG_LASH is not set
 * # CONFIG_MSH is not set
 * # CONFIG_INETD is not set
 * # CONFIG_DPKG is not set
 * # CONFIG_RPM2CPIO is not set
 * # CONFIG_RPM is not set
 * # CONFIG_FOLD is not set
 * # CONFIG_LOGNAME is not set
 * # CONFIG_OD is not set
 * # CONFIG_CRONTAB is not set
 * # CONFIG_UUDECODE is not set
 * # CONFIG_UUENCODE is not set
 * # CONFIG_RUN_PARTS is not set
 * # CONFIG_SULOGIN is not set
 * # CONFIG_DC is not set

And at this point it sits there indefinitely.  In fact, last night I tried
merging it and worked on something else for a couple hours and it still had not
unpacked.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Slycord 2005-06-03 11:11:09 UTC
emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.osuosl.org/
http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa avi cdr cups debug divx4linux dvd dvdr dvdread
encode flac foomaticdb gnome gnutls gtk gtk2 imlib java jpeg kde kerberos krb4
mad mikmod mmx mpeg ncurses nls nptl oggvorbis opengl pic png ppds python qt
readline scanner sdl slang spell sse ssl truetype usb xml2 xv xvid zlib
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL
Comment 2 Chris Slycord 2005-06-03 12:18:48 UTC
Same problem after updating glibc to 2.3.5
Comment 3 Peter J. de Vrijer 2005-06-04 02:54:32 UTC
Stops at the same point for me.

My emerge info is:
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-win4lin i686)
=================================================================
System uname: 2.6.11-win4lin i686 AMD Sempron(tm)   2800+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 11:30:22)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://194.117.143.71/mirrors/gentoo http://194.117.143.70"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex Gtk X Xaw3d a52 aac alsa apm arts artswrappersuid avi
berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl debug divx4linux doc
dvd dvdr dvdread emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif
gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java javascript
jikes jpeg junit kde ldap libg++ libwww lzo mad mikmod mjpeg mmx mmx2 mng motif
mp3 mpeg ncurses nls odbc ogg oggvorbis opengl oss pam pda pdflib perl png
python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga
tcltk tcpd tetextheora threads tiff truetype truetype-fonts type1-fonts usb
vorbis wmf xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

======================================
Comment 4 SpanKY gentoo-dev 2005-06-04 17:35:45 UTC
if you hit enter a bunch of times, it should continue

can you edit the ebuild and go to the very end of src_unpack() ?  look for this
line:
make oldconfig > /dev/null

remove the '> /dev/null' part and re-emerge the package ... what are the last
few lines you see ?
Comment 5 Chris Slycord 2005-06-04 23:28:37 UTC
Build BusyBox with Debugging symbols (CONFIG_DEBUG) [Y/n/?] y
  Additional debugging library
  > 1. None (CONFIG_NO_DEBUG_LIB) (NEW)
    2. Dmalloc (CONFIG_DMALLOC) (NEW)
    3. Electric-fence (CONFIG_EFENCE) (NEW)
  choice[1-3?]:

So it's looking for a choice to be done by the user, but the ebuild is
(normally) specifying to send output to /dev/null, so the user never sees the
output to make the choice.
Comment 6 Chris Slycord 2005-06-04 23:32:23 UTC
The ebuild compiled perfectly after I chose "1" for "none" or "no Additional
debugging library"

I assume it would've finished no matter which choice I made.
Comment 7 SpanKY gentoo-dev 2005-06-05 00:35:45 UTC
it's because of your USE=debug
Comment 8 SpanKY gentoo-dev 2005-06-05 00:50:29 UTC
fixed in cvs