Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34468 - media-libs/ladspa-sdk-1.12 make install failed, mkdirhier and cp problems
Summary: media-libs/ladspa-sdk-1.12 make install failed, mkdirhier and cp problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-26 14:34 UTC by Hans-Christian Armingeon
Modified: 2004-02-06 20:17 UTC (History)
1 user (show)

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


Attachments
replaces mkdirhier by 'mkdir -p' in the ladspa-sdk makefile (ladspa-sdk-1.12.patch,409 bytes, patch)
2004-01-17 11:29 UTC, Tobias Heinemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2003-11-26 14:34:15 UTC
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"
Comment 1 David Pilar 2003-12-06 00:46:59 UTC
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.
Comment 2 Hans-Christian Armingeon 2003-12-13 08:16:25 UTC
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
Comment 3 Hans-Christian Armingeon 2003-12-13 08:18:29 UTC
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
Comment 4 Hans-Christian Armingeon 2003-12-13 08:56:56 UTC
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
Comment 5 Tobias Heinemann 2004-01-17 11:29:01 UTC
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.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-06 20:13:26 UTC
checking this out now...
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-06 20:17:58 UTC
in portage now...  thanks.