On Wed, 18 Dec 2013, lin pro wrote:
Hi,
Hi.
Here is the spec file that is causing trouble http://bpaste.net/show/159985/
Catalyst stop with this message:
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-ml/ocaml-mad (argument)
=dev-ml/ocaml-mad-0.4.4 ~amd64
...and many more.
Now the /etc/portage/package.keywords has this inside
grep ocaml-mad /etc/portage/package.*
/etc/portage/package.keywords:dev-ml/ocaml-mad ~amd64
Even if I put put the keyword in package.accep_keywords the behaviour
of catalyst is the same.
It seems that catalyst does not read those files for me.
Thank you for hints
Catalyst doesn't use any of the /etc/portage files on your host. You need
to use the portage_confdir var in the spec files to tell catalyst to use
it when building the stage.
You can check an example of its use in releng's official repository[1].
You can see how we use it on the installcd specs[2][3] and an example of
the portage config dir for the installcd[4] and the admincd[5].
[1] - http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git
[2] -
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
[3]
-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
[4] -
http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=releases/weekly/portage/installcd;h=cf9e9fd3c801e505b23f2c57c9689a93c6094313;hb=refs/heads/master
[5] -
http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=releases/weekly/portage/admincd;h=3c2b52a416aa991af1b246bc12dec902b08b4139;hb=refs/heads/master
Ben
Regards,
Jorge