Gentoo Archives: gentoo-catalyst

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] resolving portage keywords issue from within catalyst?
Date: Thu, 19 Dec 2013 01:48:53
Message-Id: alpine.LNX.2.00.1312190142320.27394@woodpecker.gentoo.org
In Reply to: [gentoo-catalyst] resolving portage keywords issue from within catalyst? by lin pro
1 On Wed, 18 Dec 2013, lin pro wrote:
2
3 > Hi,
4
5 Hi.
6
7 > Here is the spec file that is causing trouble http://bpaste.net/show/159985/
8 > Catalyst stop with this message:
9 >
10 > The following keyword changes are necessary to proceed:
11 > (see "package.accept_keywords" in the portage(5) man page for more details)
12 > # required by dev-ml/ocaml-mad (argument)
13 > =dev-ml/ocaml-mad-0.4.4 ~amd64
14 >
15 >
16 > ...and many more.
17 >
18 > Now the /etc/portage/package.keywords has this inside
19 > grep ocaml-mad /etc/portage/package.*
20 > /etc/portage/package.keywords:dev-ml/ocaml-mad ~amd64
21 >
22 > Even if I put put the keyword in package.accep_keywords the behaviour
23 > of catalyst is the same.
24 > It seems that catalyst does not read those files for me.
25 >
26 > Thank you for hints
27
28 Catalyst doesn't use any of the /etc/portage files on your host. You need
29 to use the portage_confdir var in the spec files to tell catalyst to use
30 it when building the stage.
31 You can check an example of its use in releng's official repository[1].
32 You can see how we use it on the installcd specs[2][3] and an example of
33 the portage config dir for the installcd[4] and the admincd[5].
34
35 [1] - http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git
36 [2] -
37 http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=blob;f=releases/weekly/specs/amd64/installcd-stage1.spec;h=0bb6777efd2c6151edae44250d1ba708ec929784;hb=refs/heads/master
38 [3]
39 -http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=blob;f=releases/weekly/specs/amd64/installcd-stage2-minimal.spec;h=9f2a231c7c9f2eb36ff934a01a900c196c3998f6;hb=refs/heads/master
40 [4] -
41 http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=releases/weekly/portage/installcd;h=cf9e9fd3c801e505b23f2c57c9689a93c6094313;hb=refs/heads/master
42 [5] -
43 http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=releases/weekly/portage/admincd;h=3c2b52a416aa991af1b246bc12dec902b08b4139;hb=refs/heads/master
44
45 > Ben
46
47 Regards,
48 Jorge