Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272069 - media-sound/amarok rebuild failed after libgpod upgrade: rm: cannot remove `/var/tmp/portage/media-sound/amarok-1.4.10-r2/image//usr/share/apps/amarok/scripts/webcontrol': No such file or directory
Summary: media-sound/amarok rebuild failed after libgpod upgrade: rm: cannot remove `/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 10:53 UTC by Francesco Lamonica
Modified: 2009-06-04 09:38 UTC (History)
2 users (show)

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 Francesco Lamonica 2009-06-01 10:53:21 UTC
It seems to be unrelated to libgpod however... upgrading "world" made portage upgrade libgpod from 0.6.0 to 0.7.2, hence revdep-rebuild tried to re-emerge amarok (1.4.10-r2) but it failed with the following error:
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.10-r2/work/amarok-1.4.10'
make[1]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.10-r2/work/amarok-1.4.10'
rm: cannot remove `/var/tmp/portage/media-sound/amarok-1.4.10-r2/image//usr/share/apps/amarok/scripts/webcontrol': No such file or directory
 *
 * ERROR: media-sound/amarok-1.4.10-r2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_install
 *             environment, line 4368:  Called die
 * The specific snippet of code:
 *           rm -r "${D}"/usr/share/apps/amarok/scripts/webcontrol || die "Unable to remove webcontrol.";
 *  The die message:
 *   Unable to remove webcontrol.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/amarok-1.4.10-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-1.4.10-r2/temp/environment'.
 *
 * QA Notice: Unrecognized configure options:
 *
 *      configure: WARNING: unrecognized options: --with-x, --enable-mitshm, --with-xinerama, --without-debug
 *      configure: WARNING: unrecognized options: --with-x, --enable-mitshm, --with-xinerama, --without-debug

>>> Failed to emerge media-sound/amarok-1.4.10-r2, Log file:

>>>  '/var/tmp/portage/media-sound/amarok-1.4.10-r2/temp/build.log'

 * Messages for package media-sound/amarok-1.4.10-r2:

 *
 * ERROR: media-sound/amarok-1.4.10-r2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_install
 *             environment, line 4368:  Called die
 * The specific snippet of code:
 *           rm -r "${D}"/usr/share/apps/amarok/scripts/webcontrol || die "Unable to remove webcontrol.";
 *  The die message:
 *   Unable to remove webcontrol.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/amarok-1.4.10-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-1.4.10-r2/temp/environment'.
 *


my emerge info is:

Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-x86_64-AMD_Phenom-tm-_9750_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Mon, 01 Jun 2009 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userprov usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en it"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi aften akode alsa amazon amd64 amr amrnb amrwb animgif audiofile berkdb bluetooth branding bzip2 cairo ccache cdr cleartype cli cracklib crypt cscope cups curl cxx dbus dri dvd dvdr dvdread eds encode esd fam ffmpeg firefox foomaticdb gcrypt gd gdbm gif gimp gkrellm gpm gsm gstreamer gtk hardened iconv imagemagick ipod java java6 jpeg kde lame libgcrypt libssh2 logrotate loop-aes mad matroska midi mmx mmxext mng mp3 mp4 mpeg mpeg2 mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp openssl opensslcrypt pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session smp sndfile speex spell spl sqlite3 sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl startup-notification subversion svg svnserve swat sysfs syslog tcpd theora tiff truetype unicode usb v4l v4l2 vorbis webkit x264 xcomposite xinerama xml xorg xscreensaver xulrunner xv zlib" ALSA_CARDS="hda-intel" 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 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 mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sebastian Luther (few) 2009-06-01 18:36:06 UTC
Please try again with MAKEOPTS="-j1".
Comment 2 Francesco Lamonica 2009-06-01 23:29:29 UTC
Hi Sebastian, i tried what you suggested but nothing changed. :( Just out of curiosity why did you think that changing the -j in MAKEOPTS would have solved it? after all it complains about removing a non-existent directory not a real compilation issue (imho)
Comment 3 Sebastian Luther (few) 2009-06-02 05:12:23 UTC
(In reply to comment #2)
> why did you think that changing the -j in MAKEOPTS would have solved
> it? 

A possible scenrio with is:

- directory gets created
- something is done inside the directory
- the directory is removed
 
Obviously you can execute them in sequence only. If the Makefile has a bug, it might happen that they are all executed at once (with -j>1). Those make might try to remove the directory before it has been created. Just a guess.

Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-02 09:53:41 UTC
Ahem, isnt make install phase already executed with -j1? (i might be wrong)
Comment 5 Sebastian Luther (few) 2009-06-02 11:33:23 UTC
(In reply to comment #4)
> Ahem, isnt make install phase already executed with -j1? (i might be wrong)
> 

bug 269511. It died in src_install with parallel make and didn't with -j1.
Comment 6 Chris Bandy 2009-06-03 13:36:45 UTC
Encountering this bug, I found a webcontrol directory with python files in /var/tmp/portage/media-sound/amarok-1.4.10-r2/image/usr/kde/3.5/share/apps/amarok/scripts/webcontrol
Comment 7 Chris Bandy 2009-06-03 14:19:56 UTC
Also, with USE="daap" I found ruby_lib in
/var/tmp/portage/media-sound/amarok-1.4.10-r2/image/usr/kde/3.5/share/apps/amarok/ruby_lib
/var/tmp/portage/media-sound/amarok-1.4.10-r2/image/usr/kde/3.5/lib64/ruby_lib
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-06-04 08:12:41 UTC
the webcontrol bug is fixed in 1.4.10_p20090130-r2 which is the soon-to-be-stabilized version, try this version please. thanks
Comment 9 Francesco Lamonica 2009-06-04 09:38:58 UTC
well, i'd love to try it, but it now wants to emerge single kde packages that conflicts with already installed ones. Is there a way to avoid the kde-splitting?