Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] KDE ebuilds error
Date: Fri, 15 Mar 2002 09:39:48
Message-Id: 200203151736.58020.danarmak@gentoo.org
In Reply to: [gentoo-dev] KDE ebuilds error by Thilo Bangert
1 On Friday 15 March 2002 14:31, Thilo Bangert wrote:
2 > Hi,
3 >
4 > i have a couple KDE ebuilds that i get a weird error on:
5 > this is the error i get on kio_fish
6 >
7 > /bin/install -c -p .libs/kio_fish.lai
8 > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/lib/kde2/kio_fish.la
9 > libtool: install: warning: remember to run `libtool --finish
10 > /usr/kde/2/lib/kde2'
11 > /bin/sh ../admin/mkinstalldirs
12 > /bin/install -c -p -m 644 ./fish.protocol
13 > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
14 > /bin/install: cannot create regular file
15 > `/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services':
16 > No such file or directory
17 > make[2]: *** [install-data-local] Error 1
18 > make[2]: Leaving directory
19 > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
20 > make[1]: *** [install-am] Error 2
21 > make[1]: Leaving directory
22 > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
23 > make: *** [install-recursive] Error 1
24 >
25 > !!! ERROR: The ebuild did not complete successfully.
26 > !!! Function kde_src_install, Line -15, Exitcode 2
27 > !!! died running make install, kde_src_install:make
28 >
29 > i get a similar error when trying kisdndial. as you can see, they
30 > compile fine, but fail on the install.
31 >
32 > you can find the ebuilds at:
33 > http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
34 > http://www.fizzelpark.com/portage/?dirpath=net-dialup/kisdndial/
35 >
36
37 The ebuilds look ok. Apparently the makefiles are slightly broken and don't
38 mkdir ${DESTDIR}/shares/services (in the above error) before installing into
39 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 --
51 Dan Armak
52 Gentoo Linux Developer, Desktop Team (KDE)
53 Matan, Israel

Replies

Subject Author
Re: [gentoo-dev] KDE ebuilds error Thilo Bangert <thilo.bangert@×××.net>