Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256142 - media-sound/cplay - sed: can't read /var/tmp/portage/media-sound/cplay-1.49/image//usr/bin/cplay: No such file or directory
Summary: media-sound/cplay - sed: can't read /var/tmp/portage/media-sound/cplay-1.49/i...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL: http://sources.gentoo.org/viewcvs.py/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 00:57 UTC by Pierre
Modified: 2009-09-08 13:29 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 Pierre 2009-01-24 00:57:02 UTC
# LC_ALL=C emerge -u cplay
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/cplay-1.49
 * cplay-1.49.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking cplay-1.49.tar.gz to /var/tmp/portage/media-sound/cplay-1.49/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-sound/cplay-1.49/work/cplay-1.49 ...
make 
make[1]: Entering directory `/var/tmp/portage/media-sound/cplay-1.49/work/cplay-1.49/po'
for i in da.po de.po hu.po pl.po; do msgfmt $i -o ${i%.po}.mo; done
make[1]: Leaving directory `/var/tmp/portage/media-sound/cplay-1.49/work/cplay-1.49/po'
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/cplay-1.49

>>> Install cplay-1.49 into /var/tmp/portage/media-sound/cplay-1.49/image/ category media-sound
make PREFIX=/var/tmp/portage/media-sound/cplay-1.49/image//usr recursive-install 
make[1]: Entering directory `/var/tmp/portage/media-sound/cplay-1.49/work/cplay-1.49/po'
for i in da.mo de.mo hu.mo pl.mo; do \
		mkdir -p /var/tmp/portage/media-sound/cplay-1.49/image//usr/share/locale/${i%.mo}/LC_MESSAGES; \
		install -c -m 644 $i /var/tmp/portage/media-sound/cplay-1.49/image//usr/share/locale/${i%.mo}/LC_MESSAGES/cplay.mo; \
	done
make[1]: Leaving directory `/var/tmp/portage/media-sound/cplay-1.49/work/cplay-1.49/po'
sed: can't read /var/tmp/portage/media-sound/cplay-1.49/image//usr/bin/cplay: No such file or directory
 * 
 * ERROR: media-sound/cplay-1.49 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  170:  Called die
 * The specific snippet of code:
 *       sed -i -e "s:/usr/local:/usr:g" "${D}"/usr/bin/cplay || die "dosed failed.";
 *  The die message:
 *   dosed failed.
 * 
 * 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/cplay-1.49/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/cplay-1.49/temp/environment'.
 * 

>>> Failed to emerge media-sound/cplay-1.49, Log file:

>>>  '/var/tmp/portage/media-sound/cplay-1.49/temp/build.log'

 * Messages for package media-sound/cplay-1.49:

 * 
 * ERROR: media-sound/cplay-1.49 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  170:  Called die
 * The specific snippet of code:
 *       sed -i -e "s:/usr/local:/usr:g" "${D}"/usr/bin/cplay || die "dosed failed.";
 *  The die message:
 *   dosed failed.
 * 
 * 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/cplay-1.49/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/cplay-1.49/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:




# LC_ALL=C emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Fri, 23 Jan 2009 23:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 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.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en de nl"
PKGDIR="/usr/portage/packages"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apache2 apm arts audiofile bash-completion berkdb bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl cxx dbus dga directfb doc dri dvd dvdr dvdread emacs encode esd exif expat ffmpeg firefox flac foomaticdb fortran ftp gb gcj gd gdbm ggi gif gmp gnome gnutls gpm gstreamer gtk hal iconv icq idn imagemagick imap imlib ipv6 isdnlog jabber jack javascript jpeg jpeg2k kde ladspa lash lcms ldap leim lesstif libcaca libnotify libsamplerate libwww lm_sensors mad maildir matroska mbox mcal midi mikmod mime mmx mng mozilla mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nas ncurses nls nntp nptl nptlonly nsplugin ogg openal opengl openmp osc oscar pam pcmcia pcre pdf perl php png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session sndfile sox speex spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs tcl tcpd tetex theora threads tidy tiff tk truetype unicode usb vhosts vorbis wifi wmf wxwindows xcomposite xine xml xorg xpm xprint xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-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 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="fr en de nl" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-24 03:48:41 UTC
Before the 1.15 commit, sed worked on the cplay file in the workdir, whereas now it first tries to sed "${D}"/usr/bin/cplay and then dobin cplay, which of course makes sed fail. Doing dobin first and then sed would settle the matter.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-24 03:54:06 UTC
(In reply to comment #1)
> Before the 1.15 commit, [...]

I meant the 1.16 commit, of course.
Comment 3 Alexis Ballier gentoo-dev 2009-02-27 12:47:12 UTC
fixed, thanks