Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440150

Summary: net-misc/spice-gtk-0.14 hangs in src_prepare() after * Applying as-needed/2.4.2 patch ...
Product: Gentoo Linux Reporter: RAPHEAD <raphead>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: 4glitch, nirbheek
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description RAPHEAD 2012-10-29 18:16:57 UTC
Wit the latest unmasked ebuild I get this:

>>> Emerging (2 of 4) net-misc/spice-gtk-0.14
 * spice-gtk-0.14.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking spice-gtk-0.14.tar.bz2 to /var/tmp/portage/net-misc/spice-gtk-0.14/work
>>> Source unpacked in /var/tmp/portage/net-misc/spice-gtk-0.14/work
>>> Preparing source in /var/tmp/portage/net-misc/spice-gtk-0.14/work/spice-gtk-0.14 ...
 * Applying 0.12-parallel-install.patch ...                                                                                                       [ ok ]
 * Applying 0.14-Deal-with-libusbredirparser.pc-rename-to-libusbredir.patch ...                                                                   [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-misc/spice-gtk-0.14/work/spice-gtk-0.14' ...
 * Running glib-gettextize --copy --force ...                                                                                                     [ ok ]
 * Running intltoolize --automake --copy --force ...                                                                                              [ ok ]
 * Running gtkdocize --copy ...                                                                                                                   [ ok ]
 * Running libtoolize --install --copy --force --automake ...                                                                                     [ ok ]
 * Running aclocal -I m4 ...                                                                                                                      [ ok ]
 * Running autoconf ...                                                                                                                           [ ok ]
 * Running autoheader ...                                                                                                                         [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                                            [ ok ]
 * Running elibtoolize in: spice-gtk-0.14/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Running elibtoolize in: spice-gtk-0.14/spice-common/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...

then it stops and waits forever until I kill it.
A quick strace shows:

open("/var/tmp/portage/net-misc/.spice-gtk-0.14.portage_lockfile", O_RDWR|O_CREAT, 0660) = 4
umask(022)                              = 0
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN (Resource temporarily unavailable)
close(4)                                = 0
pipe([4, 5])                            = 0
pipe([6, 7])                            = 0
fcntl(4, F_GETFL)                       = 0 (flags O_RDONLY)
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
pipe([8, 9])                            = 0
fcntl(8, F_GETFL)                       = 0 (flags O_RDONLY)
fcntl(8, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
stat("/usr/bin/python2.7", {st_mode=S_IFREG|0755, st_size=6104, ...}) = 0
access("/usr/bin/python2.7", X_OK)      = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f800ed179d0) = 61954
close(9)                                = 0
close(6)                                = 0
close(5)                                = 0
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=4, events=POLLIN}], 2, 3000) = 0 (Timeout)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-29 19:24:05 UTC
Please post your `emerge --info' output in a comment.
Comment 2 RAPHEAD 2012-10-29 19:33:49 UTC
sure:

Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.6.0n-fuse x86_64)
=================================================================
System uname: Linux-3.6.0n-fuse-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9800_@_2.93GHz-with-gentoo-2.1
Timestamp of tree: Mon, 29 Oct 2012 13:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-local-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.llarian.net/ http://gentoo.osuosl.org/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth bluray branding bzip2 cairo caps cdda cdr cleartype cli consolekit corosync cracklib crypt ctype cups curl cxx dbus declarative device-mapper divx4linux dri dts dvb dvd dvdr emboss encode exif extensions extraengine extras fam ffmpeg firefox flac fortran ftp gamin gd gdbm gif gpm gtk hbci httpd iconv imap ipv6 jabber jpeg jpeg2k json kde kdepim kipi lcms ldap libnotify logrotate lua lvm2 macvtap mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp openssl oracle pacemaker pam pango pcmcia pcre pdf pear perl phonon plasma png policykit ppds pppd python qemu qt qt3support qt4 readline rtsp samba sasl script sdl semantic-desktop session simplexml slang snmp soap sockets spell spice sql sqlite sse sse2 ssl startup-notification stream subversion svg swat tcpd theora tiff tls tokenizer truetype udev udisks unicode upower urandom usb v4l vepa vhost-net vhosts virt-network vorbis vpx webkit wifi wxwidgets x264 xattr xcb xcomposite xine xinerama xinetd xml xml2 xscreensaver xsl xv xvid zip zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="af9015 em28xx" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse vmmouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Dmitri Bogomolov 2012-11-01 15:31:26 UTC
This looks like bug 426512.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-11-21 20:35:46 UTC
(In reply to comment #3)
> This looks like bug 426512.

agreed.

*** This bug has been marked as a duplicate of bug 426512 ***