From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7992D138247 for ; Thu, 19 Dec 2013 01:48:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE6B5E0B0F; Thu, 19 Dec 2013 01:48:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E29BE0B0F for ; Thu, 19 Dec 2013 01:48:51 +0000 (UTC) Received: by smtp.gentoo.org (Postfix, from userid 2127) id 6181933F603; Thu, 19 Dec 2013 01:48:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5532433E14B for ; Thu, 19 Dec 2013 01:48:50 +0000 (UTC) Date: Thu, 19 Dec 2013 01:48:50 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] resolving portage keywords issue from within catalyst? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: 2a75afeb-b7d4-4ee0-b5ec-21bd3120eb68 X-Archives-Hash: 138067ae62a577501f100524416f4667 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