Gentoo Archives: gentoo-dev

From: Thilo Bangert <thilo.bangert@×××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] KDE ebuilds error
Date: Sun, 17 Mar 2002 15:17:40
Message-Id: 20020317211740.B2FD52019F6D@chiba.3jane.net
In Reply to: Re: [gentoo-dev] KDE ebuilds error by Dan Armak
1 On Friday, 15. March 2002 16:36, you wrote:
2 > On Friday 15 March 2002 14:31, Thilo Bangert wrote:
3 > > Hi,
4 > >
5 > > i have a couple KDE ebuilds that i get a weird error on:
6 > > this is the error i get on kio_fish
7 > >
8 > > /bin/install -c -p .libs/kio_fish.lai
9 > > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/lib/kde2/kio_fi
10 > >sh.la libtool: install: warning: remember to run `libtool --finish
11 > > /usr/kde/2/lib/kde2'
12 > > /bin/sh ../admin/mkinstalldirs
13 > > /bin/install -c -p -m 644 ./fish.protocol
14 > > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
15 > > /bin/install: cannot create regular file
16 > > `/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
17 > >': No such file or directory
18 > > make[2]: *** [install-data-local] Error 1
19 > > make[2]: Leaving directory
20 > > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
21 > > make[1]: *** [install-am] Error 2
22 > > make[1]: Leaving directory
23 > > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
24 > > make: *** [install-recursive] Error 1
25 > >
26 > > !!! ERROR: The ebuild did not complete successfully.
27 > > !!! Function kde_src_install, Line -15, Exitcode 2
28 > > !!! died running make install, kde_src_install:make
29 > >
30 > > i get a similar error when trying kisdndial. as you can see, they
31 > > compile fine, but fail on the install.
32 > >
33 > > you can find the ebuilds at:
34 > > http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
35 > > http://www.fizzelpark.com/portage/?dirpath=net-dialup/kisdndial/
36 >
37 > The ebuilds look ok. Apparently the makefiles are slightly broken and
38 > don't mkdir ${DESTDIR}/shares/services (in the above error) before
39 > installing into that dir. If that's the problem, do something like:
40 >
41 > src_install() {
42 >
43 > mkdir -p ${D}/share/services
44 > kde_src_install
45 >
46 > }
47 >
48 > Note that I haven't tested it, just looked at the error.
49
50 hhm, that doesn'T work. but i see some mystical new error messages:
51
52 >>> Install kio_fish-1.0.1-r1 into
53 /var/tmp/portage/kio_fish-1.0.1-r1/image/ category net-misc
54 /usr/sbin/ebuild.sh:         mkdir: command not found
55 /usr/sbin/ebuild.sh:         kde_src_install: command not found
56 strip:
57 >>> Completed installing into /var/tmp/portage/kio_fish-1.0.1-r1/image/
58
59 this looks like a nobrainer, but i don't know how to fix it :-(
60 where can i learn more about eclasses ?
61
62 the ebuild is still at:
63 http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
64
65 --
66 regards
67 Thilo