Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417631 - media-plugins/libvisual-plugins-0.4.0-r2 - /bin/sh: @MKINSTALLDIRS@: No such file or directory
Summary: media-plugins/libvisual-plugins-0.4.0-r2 - /bin/sh: @MKINSTALLDIRS@: No such ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-26 12:20 UTC by Brianna Royles
Modified: 2012-05-31 19:44 UTC (History)
1 user (show)

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


Attachments
emerge --info =media-plugins/libvisual-plugins-0.4.0-r2 (libvisual-plugins-0.4.0-r2.info,6.89 KB, text/plain)
2012-05-26 12:20 UTC, Brianna Royles
Details
build.log for media-plugins/libvisual-plugins-0.4.0-r2 (build.log,316.22 KB, text/plain)
2012-05-26 12:20 UTC, Brianna Royles
Details
libvisual-plugins-0.4.0-r3.ebuild (libvisual-plugins-0.4.0-r3.ebuild,1.68 KB, text/plain)
2012-05-27 13:57 UTC, Sonni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brianna Royles 2012-05-26 12:20:07 UTC
Created attachment 313113 [details]
emerge --info =media-plugins/libvisual-plugins-0.4.0-r2

media-plugins/libvisual-plugins failed when emerging

make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins/morph'
make[3]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins/morph'
make[2]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins/morph'
make[2]: Entering directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins'
make[3]: Entering directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins'
make[2]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins'
make[1]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/plugins'
Making install in po
make[1]: Entering directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/po'
/bin/sh @MKINSTALLDIRS@ /var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/image//usr/share
/bin/sh: @MKINSTALLDIRS@: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/var/tmp/portage/media-plugins/libvisual-plugins-0.4.0-r2/work/libvisual-plugins-0.4.0/po'
make: *** [install-recursive] Error 1
emake failed
Comment 1 Brianna Royles 2012-05-26 12:20:46 UTC
Created attachment 313115 [details]
build.log for media-plugins/libvisual-plugins-0.4.0-r2
Comment 2 Sonni 2012-05-27 13:56:35 UTC
ran into exactly the same issue. It appears that the sed command has to be at the every end of src_unpack. As the other patching revokes some of the work done by sed.

try with modified media-plugins/libvisual-plugins-0.4.0-r3 attached, it works for me
Comment 3 Sonni 2012-05-27 13:57:55 UTC
Created attachment 313269 [details]
libvisual-plugins-0.4.0-r3.ebuild
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-28 11:25:05 UTC
Comment on attachment 313269 [details]
libvisual-plugins-0.4.0-r3.ebuild

--- libvisual-plugins-0.4.0-r2.ebuild   2012-05-21 21:32:11.000000000 +0200
+++ -   2012-05-28 13:24:53.608400827 +0200
@@ -33,12 +33,13 @@
 
 src_unpack() {
        unpack ${A}
-       sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" "${S}"/po/Makefile.*
 
        cd "${S}"
 
        EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
        AT_M4DIR="${WORKDIR}/m4" eautoreconf
+
+       sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" "${S}"/po/Makefile.*
 }
 
 src_compile() {
Comment 5 Conway S. Smith 2012-05-31 16:37:09 UTC
I was seeing this as well.  Moving the sed command to the end of src_unpack() resolved it for me.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-31 19:44:45 UTC
Comment #4 in Portage (and ported to eapi4 etc...)