media-libs/ladspa-sdk-1.12 make install failed, mkdirhier and cp problems: >>> Install ladspa-sdk-1.12 into /var/tmp/portage/ladspa-sdk-1.12/image/ category media-libs mkdirhier /var/tmp/portage/ladspa-sdk-1.12/image//usr/lib/ladspa \ /var/tmp/portage/ladspa-sdk-1.12/image//usr/include \ /var/tmp/portage/ladspa-sdk-1.12/image//usr/bin + mkdir -p /var/tmp/portage/ladspa-sdk-1.12/image//usr/lib/ladspa cp ../plugins/* /var/tmp/portage/ladspa-sdk-1.12/image//usr/lib/ladspa cp ladspa.h /var/tmp/portage/ladspa-sdk-1.12/image//usr/include cp ../bin/* /var/tmp/portage/ladspa-sdk-1.12/image//usr/bin cp: `/var/tmp/portage/ladspa-sdk-1.12/image//usr/bin': specified destination directory does not exist Try `cp --help' for more information. make: *** [install] Error 1 !!! ERROR: media-libs/ladspa-sdk-1.12 failed. !!! Function src_install, Line 38, Exitcode 2 !!! make install failed Reproducible: Always Steps to Reproduce: 1.emerge -u ladspa-sdk 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm aalib acl acpi afs alsa apache2 arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib innodb informix ipv6 jack java jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal mikmod memlimit mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda ppds pdflib perl plotutils png pnp postgres prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows X Xaw3d xface xinerama xosd xml2 xmms xv zeo zlib"
I don't know if this was right, but it worked for me. After the emerge failed, I went to the /var/tmp/portage/ladspa-sdk-1.12/work/ladspa_sdk/src directory, and changed 'mkdirhier' to 'mkdir -p' in the makefile, then typed 'make install'. Then emerge -i media-libs/ladspa-sdk.
Well, I made a small script called mkdirhier, which contains mkdir -p $*, and now I'm getting this error: + mkdir -p /var/tmp/portage/ladspa-sdk-1.12/image//usr/lib/ladspa cp ../plugins/* /var/tmp/portage/ladspa-sdk-1.12/image//usr/lib/ladspa cp ladspa.h /var/tmp/portage/ladspa-sdk-1.12/image//usr/include cp ../bin/* /var/tmp/portage/ladspa-sdk-1.12/image//usr/bin cp: `/var/tmp/portage/ladspa-sdk-1.12/image//usr/bin': specified destination directory does not exist Try `cp --help' for more information. make: *** [install] Error 1 !!! ERROR: media-libs/ladspa-sdk-1.12 failed. !!! Function src_install, Line 38, Exitcode 2 !!! make install failed
Sorry, I forgot to mention, that doing a make install, and then an inject will leave some orphaned files in the harddisk after an upgrade of ladspa-sdk. Johnny
Well, I've got a second system, and there ladspa-sdk built fine. So I had a closer look, and found out, that mkdir hier belongs to x11-base/xfree. Perhaps ladspa-sdk should depend on X? ;-). Well, I think that a makefile patch yould be better. Johnny
Created attachment 24000 [details, diff] replaces mkdirhier by 'mkdir -p' in the ladspa-sdk makefile Applying this patch in the ebuild's directory fixes the issue.
checking this out now...
in portage now... thanks.