<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>34468</bug_id>
          
          <creation_ts>2003-11-26 14:34 0000</creation_ts>
          <short_desc>media-libs/ladspa-sdk-1.12 make install failed, mkdirhier and cp problems</short_desc>
          <delta_ts>2004-02-06 20:17:58 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mog.johnny@gmx.net</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mog.johnny@gmx.net</who>
            <bug_when>2003-11-26 14:34:15 0000</bug_when>
            <thetext>media-libs/ladspa-sdk-1.12 make install failed, mkdirhier and cp problems:

&gt;&gt;&gt; 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&apos;: specified destination directory does not exist
Try `cp --help&apos; 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -mcpu=athlon-xp -funroll-loops -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -mcpu=athlon-xp -funroll-loops -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs sandbox ccache&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dhfpilar@comcast.net</who>
            <bug_when>2003-12-06 00:46:59 0000</bug_when>
            <thetext>I don&apos;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 &apos;mkdirhier&apos; to &apos;mkdir -p&apos; in the makefile, then typed &apos;make install&apos;.  Then emerge -i media-libs/ladspa-sdk.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mog.johnny@gmx.net</who>
            <bug_when>2003-12-13 08:16:25 0000</bug_when>
            <thetext>Well, I made a small script called mkdirhier, which contains mkdir -p $*, and now I&apos;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&apos;: specified destination directory does not exist
Try `cp --help&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mog.johnny@gmx.net</who>
            <bug_when>2003-12-13 08:18:29 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mog.johnny@gmx.net</who>
            <bug_when>2003-12-13 08:56:56 0000</bug_when>
            <thetext>Well, I&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>theine@nordita.dk</who>
            <bug_when>2004-01-17 11:29:01 0000</bug_when>
            <thetext>Created an attachment (id=24000)
replaces mkdirhier by &apos;mkdir -p&apos; in the ladspa-sdk makefile

Applying this patch in the ebuild&apos;s directory fixes the issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-06 20:13:26 0000</bug_when>
            <thetext>checking this out now...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-06 20:17:58 0000</bug_when>
            <thetext>in portage now...  thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24000</attachid>
            <date>2004-01-17 11:29 0000</date>
            <desc>replaces mkdirhier by &apos;mkdir -p&apos; in the ladspa-sdk makefile</desc>
            <filename>ladspa-sdk-1.12.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxhZHNwYS1zZGstMS4xMi5lYnVpbGQJMjAwNC0wMS0xNyAyMDoxMjowMC4yNzI3MzA1NzYg
KzAxMDAKKysrIGxhZHNwYS1zZGstMS4xMi5lYnVpbGQJMjAwNC0wMS0xNyAyMDoyMTozMC45NjU5
NzIwMTYgKzAxMDAKQEAgLTIzLDcgKzIzLDkgQEAKIAl1bnBhY2sgJHtBfQogCXNlZCAtaSBcCiAJ
CS1lICIvXkNGTEFHUy8gczotTzM6JHtDRkxBR1N9OiIgJHtTfS9tYWtlZmlsZSB8fCBcCi0JCQlk
aWUgInNlZCBtYWtlZmlsZSBmYWlsZWQiCisJCQlkaWUgInNlZCBtYWtlZmlsZSBmYWlsZWQgKENG
TEFHUykiCisJc2VkIC1pIHM6LW1rZGlyaGllcjpta2RpclwgLXA6ZyAke1N9L21ha2VmaWxlIHx8
IFwKKwkJCWRpZSAic2VkIG1ha2VmaWxlIGZhaWxlZCAobWtkaXJoaWVyKSIKIH0KIAogc3JjX2Nv
bXBpbGUoKSB7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>