Gentoo Archives: gentoo-dev

From: Andy Arbon <andy@××××××××××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Problems with my ebuild
Date: Mon, 09 Sep 2002 08:18:42
Message-Id: 3D7C9F3A.1040402@andrewarbon.co.uk
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello,
5
6 I'm trying to produce an embuild for a very simple task, but I am
7 getting errors that I don't understand.
8
9 As far as I am aware (based on careful comparisons with other ebuilds
10 that DO work) my ebuild is totally correct syntactically. I have also
11 taken a working ebuild (from gentoo, not one of my own) and transformed
12 it line by line into my ebuild and the point at which is stops working
13 is never the same place twice.
14
15 Here is the output I get if I search for my ebuild:
16 - -----------
17 bash-2.05a# emerge -s fvwmicons
18 Searching... -portage: aux_get(): (1) couldn't open cache entry for
19 x11-wm/fvwmicons-1.0
20 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
21 ebuild.)
22
23 [ Results for search key : fvwmicons ]
24 [ Applications found : 1 ]
25
26 portage: aux_get(): (1) couldn't open cache entry for x11-wm/fvwmicons-1.0
27 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
28 ebuild.)
29 portage: aux_get(): (1) couldn't open cache entry for x11-wm/fvwmicons-1.0
30 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
31 ebuild.)
32 emerge: search: aux_get() failed, skipping
33 bash-2.05a# emerge -s fvwmicons
34 Searching... -portage: aux_get(): (1) couldn't open cache entry for
35 x11-wm/fvwmicons-1.0
36 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
37 ebuild.)
38
39 [ Results for search key : fvwmicons ]
40 [ Applications found : 1 ]
41
42 portage: aux_get(): (1) couldn't open cache entry for x11-wm/fvwmicons-1.0
43 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
44 ebuild.)
45 portage: aux_get(): (1) couldn't open cache entry for x11-wm/fvwmicons-1.0
46 (likely caused by syntax error or corruption in the x11-wm/fvwmicons-1.0
47 ebuild.)
48 emerge: search: aux_get() failed, skipping
49
50 - -------------
51
52 Below is the full text of the ebuild, which is residing in
53 /usr/portage.local/x11-wm/fvwmicons/ . PORTDIR_OVERLAY is set correctly.
54 Leaving aside any other problems there might be todo with
55 layout/style/etc, why doesn't it work? Thanks
56
57 Andy
58
59
60
61
62
63
64 # Copyright 1999-2002 Gentoo Technologies, Inc.
65 # Distributed under the terms of the GNU General Public License, v2 or later
66
67
68 S=${WORKDIR}/${P}
69 DESCRIPTION="Icons for use with FVWM"
70 SRC_URI="http://www.fvwm.org/generated/icon_download/fvwm_icons.tar.bz2"
71 HOMEPAGE="http://www.fvwm.org/"
72
73 src_unpack() {
74
75 ~ unpack ${A}
76 }
77
78 src_compile() {
79
80 }
81
82 src_install () {
83 ~ dodir ${D}/usr/share/icons/fvwm
84 ~ mv ${WORKDIR}/* ${D}/usr/share/icons/fvwm/
85 }
86
87 -----BEGIN PGP SIGNATURE-----
88 Version: GnuPG v1.0.7 (GNU/Linux)
89 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
90
91 iD4DBQE9fJ86X3TTUvZURBERAmqIAKCjiYdhXuoO1hDLGkVOo1AYBBtHZACWNux5
92 HvqWdULs7gP/6vA0xncRAA==
93 =sCXi
94 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] Problems with my ebuild Stuart Bouyer <stuart@××××××××××××××××.jp>
Re: [gentoo-dev] Problems with my ebuild Felipe Ghellar <fghellar2@×××××××××.br>