Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249212 - dev-lang/sunstudioexpress-2008.11 waits in src_unpack()
Summary: dev-lang/sunstudioexpress-2008.11 waits in src_unpack()
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 23:55 UTC by Alexander Huemer
Modified: 2010-02-14 15:30 UTC (History)
1 user (show)

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


Attachments
output of "emerge =sunstudioexpress-2008.11" on x86 machine (sunstudio_32.txt,10.30 KB, text/plain)
2008-11-28 23:58 UTC, Alexander Huemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Huemer 2008-11-28 23:55:33 UTC
emerge finishes the command in src_unpack(), ">>> Source unpacked." is written on the console.
that's the last output.
on a x86 system everything is okay.
i am not completely sure whether the different arch is the source of the problem, but that's the only thing i noticed that is dfferent.

emerge --info of amd64 system:
# emerge --info
Portage 2.2_rc16 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc6-tip-blackbit-00921-g7aaa24a x86_64)
=================================================================
System uname: Linux-2.6.28-rc6-tip-blackbit-00921-g7aaa24a-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Fri, 28 Nov 2008 11:02:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /e
tc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev
/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=18
0 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/sunrise /usr/portage/local/blackbit"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amrnb amrwb bash-completion berkdb bl bzip2 cairo cddb cdio cli cracklib crypt cscope css
 cups dbus dga directfb dri dts dv dvb dvd dvi enca encode fbcon ffmpeg flac fortran ftp fuse gcj gdbm ggi gif gnome gnutls gpm gs
 gstreamer gtk guile hal hdri iconv isdnlog java java6 jbig jpeg jpeg2k lapack lcms libcaca live lzo mad md5sum midi mmx mmxext mo
zdevelop mp2 mp3 mpeg mudflap multilib musepack nautilus ncurses nemesi networking nls nptl nptlonly nsplugin objc objc++ objc-gc 
ogg openal openct openexr opengl openmp pam pcre perl png pnm pppd python qt3support qt4 quicktime radio rar readline reflection r
tc session spl sse sse2 ssl ssse3 svg sysfs tcpd theora tiff truetype type1 unicode v4l v4l2 vim-syntax vorbis wma wmf x264 xcb xm
l xorg xulrunner xv xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x en
s1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_P
LUGINS="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 authn_alias authn_anon authn_dbm authn_def
ault authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock defl
ate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negoti
ation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse s
ynaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERL
AND="GNU" VIDEO_CARDS="xgi vesa radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORT
AGE_RSYNC_EXTRA_OPTS

#

emerge --info of x86 system:
# emerge --info
Portage 2.2_rc16 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r2-blackbit i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r2-blackbit-i686-Pentium_III_-Katmai-with-glibc2.0
Timestamp of tree: Mon, 24 Nov 2008 13:31:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
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.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /e
tc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc
/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=18
0 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/blackbit"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 caps cli cracklib crypt dba dbus dri fortran gd gdbm gpm iconv imap isdnlog jabber j
peg maildir midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd
 unicode userlocales x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens13
70 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUG
INS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw mul
ti null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm au
thn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lo
ck dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_ca
che 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfo
ntz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r1
28 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FL
AGS, PORTAGE_RSYNC_EXTRA_OPTS

#
Comment 1 Alexander Huemer 2008-11-28 23:58:35 UTC
Created attachment 173714 [details]
output of "emerge =sunstudioexpress-2008.11" on x86 machine
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-29 16:30:05 UTC
This is fun because I'm using it *mostly* on AMD64 myself (but Opteron).

Can you check with "ps -U portage -u portage ax" what is going on when it freezes?

Comment 3 Alexander Huemer 2008-11-29 21:28:40 UTC
 5056 ?        S      0:07 xterm -fg yellow3 -bg black -cr red -geometry 130x41
 5058 pts/0    Ss     0:00  \_ zsh
 7365 pts/0    S      0:00      \_ su -
 7368 pts/0    S      0:00          \_ -su
 7372 pts/0    S+     0:05              \_ /usr/bin/python /usr/bin/emerge sunstudioexpress
 7486 pts/0    Z+     0:00                  \_ [sandbox] <defunct>

actually it emerges with
FEATURES"-sandbox" emerge sunstudioexpress
how can i trace down why sandbox goes to hell?

i ran
emerge -d sunstudioexpress
and got (only the last lines posted)

+ touch /var/tmp/portage/dev-lang/sunstudioexpress-2008.11/.unpacked
+ vecho '>>> Source unpacked.'
+ quiet_mode
+ [[ '' -eq 1 ]]
+ echo '>>> Source unpacked.'
>>> Source unpacked.
+ cd /var/tmp/portage/dev-lang/sunstudioexpress-2008.11
++ type -t post_src_unpack
+ '[' '' == function ']'
+ set +x
Comment 4 Alexander Huemer 2009-03-18 15:08:41 UTC
the situation is still the same with dev-lang/sunstudioexpress-2009.03.

 6788 ?        S      0:01 xterm -fg yellow3 -bg black -cr red -geometry 130x41 +tb
 6790 pts/0    Ss     0:00  \_ zsh
 7228 pts/0    S      0:00      \_ su -
 7231 pts/0    S      0:00          \_ -su
29641 pts/0    S+     0:02              \_ /usr/bin/python /usr/bin/emerge -1 sunstudioexpress
29761 pts/0    Z+     0:00                  \_ [sandbox] <defunct>
Comment 5 Alexander Huemer 2009-03-18 15:11:58 UTC
again, this version installs with FEATURES="-sandbox". this time with a little bit more output

>>> Source unpacked in /var/tmp/portage/dev-lang/sunstudioexpress-2009.03/work

** ERROR **: Resource problem creating '/var/tmp/portage/dev-lang/sunstudioexpress-2009.03/temp/ssinstall.30332/orbit-root'
aborting...
>>> Compiling source in /var/tmp/portage/dev-lang/sunstudioexpress-2009.03/work ...

Portage 2.2_rc26 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3-blackbit x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-blackbit-x86_64-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Wed, 18 Mar 2009 14:00:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /e
tc/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="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch
"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS=""
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=18
0 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/sunrise /usr/portage/local/blackbit /usr/portage/loca
l/multilib-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="1 X a52 aac aalib acl acpi alsa amd64 amrnb amrwb bash-completion berkdb bl bzip2 cairo cddb cdio cdr cli cracklib crypt csco
pe css cups curl dbus dga directfb dri dts dv dvb dvd dvdr dvi enca encode fbcon ffmpeg flac fortran ftp fuse gcj gdbm ggi gif gno
me gnutls gpm gs gstreamer gtk guile hal hdri iconv ipv6 isdnlog java java6 jbig jpeg jpeg2k lapack latex lcms lib32 libcaca live 
lzo mad md5sum midi mmx mmxext mozdevelop mp2 mp3 mpeg mudflap multilib musepack nautilus ncurses nemesi networking nls nptl nptlo
nly nsplugin objc objc++ objc-gc ogg openal openct openexr opengl openmp pam pcre perl png pnm pppd python qt3support qt4 quicktim
e radio rar readline reflection rtc session spl sse sse2 ssl ssse3 svg sysfs tcpd theora threads tiff truetype type unicode v4l v4
l2 vim-syntax vorbis wma wmf x264 xcb xml xorg xulrunner xv xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atii
xp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio 
via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug lad
spa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic au
thn_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_confi
g logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glib
c" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mt
xorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RS
YNC_EXTRA_OPTS
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2009-05-17 13:35:37 UTC
On my system, the build stops because it's waiting for firefox (!) running as portage... without an open window.

portage  11154  0.0  0.0   2368   844 pts/1    S+   15:32   0:00 /bin/sh /usr/lib32/mozilla-firefox/firefox file:///var/tmp/portage/dev-lang/sunstudioexpress-2009.03/homedir/.sunstudio/condev/register-sunstudio.html
portage  11166  0.0  0.0   2368   856 pts/1    S+   15:32   0:00 /bin/sh /usr/lib32/mozilla-firefox/run-mozilla.sh /usr/lib32/mozilla-firefox/firefox-bin file:///var/tmp/portage/dev-lang/sunstudioexpress-2009.03/homedir/.sunstudio/condev/register-sunstudio.html
portage  11170  0.0  0.5  33888  6044 pts/1    S+   15:32   0:00 /usr/lib32/mozilla-firefox/firefox-bin file:///var/tmp/portage/dev-lang/sunstudioexpress-2009.03/homedir/.sunstudio/condev/register-sunstudio.html

Killing firefox allows the build to continue.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-02-14 15:30:35 UTC
Removed from tree.