From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qs8R2-00008X-LD for garchives@archives.gentoo.org; Sat, 13 Aug 2011 07:15:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 697A021C10E; Sat, 13 Aug 2011 07:14:56 +0000 (UTC) Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id A6CEC21C0A3 for ; Sat, 13 Aug 2011 07:14:42 +0000 (UTC) Received: by gwj20 with SMTP id 20so3315173gwj.40 for ; Sat, 13 Aug 2011 00:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Zykd6GMmKpFA42eqBzma7x2s0wjLfB2oN9dBES8I4KE=; b=cAbYx2oGdquqc4J6lnCptupXFJkx7uXP9DsRjxezGy4RbpKwO8V0Xb6X8QvJtlLN5s MD/lS0TVL0PIa+ouftacF2knjhLRrqH5A1k/r6vU8ZVVb3Rre1iNfOuxpZAlAK++5xtB iX7mXYplCXDDEHLywM/mpWkw8I9TEyDwc90EI= Received: by 10.150.254.1 with SMTP id b1mr2977530ybi.415.1313219682120; Sat, 13 Aug 2011 00:14:42 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.150.146.14 with HTTP; Sat, 13 Aug 2011 00:14:22 -0700 (PDT) In-Reply-To: References: From: Kfir Lavi Date: Sat, 13 Aug 2011 10:14:22 +0300 Message-ID: Subject: Re: [gentoo-embedded] Re: manually creating manifests with RESTRICT="fetch" To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=000e0cd25772aa351704aa5dc8e0 X-Archives-Salt: X-Archives-Hash: aef46f06d50a1ca1e8b45bbbb16e03b3 --000e0cd25772aa351704aa5dc8e0 Content-Type: text/plain; charset=UTF-8 On Sat, Aug 13, 2011 at 2:00 AM, Christopher Friedt wrote: > On Fri, Aug 12, 2011 at 5:23 PM, Kfir Lavi wrote: > > But this is not the solution! > > I have the same tree for my embedded systems, and I do the same as you. > > My header looks like this: > > EAPI="3" > > inherit cmake-utils flag-o-matic > > MY_P="${P}-Source" > > SRC_URI="${MY_P}.tar.bz2" > > RESTRICT="fetch" # This file resides locally and can't be fetched > > > > Please check the EAPI you use, maybe it needs to change. > > Also look close on the SRC_URI, it has just the name of the file. > > I'm also using repoman to generate all my manifests like this: > > cd portage_local_tree; repoman -f manifest > > Hmm... I'm using EAPI=4 in this ebuild. The SRC_URI is OK, since it > works with FETCHCOMMAND=echo and properly hashes the files in DISTDIR. > The inherit line is unnecessary AFAIK. > > I wouldn't doubt that it was a bug in the portage version I'm using. > It's been 43 days since my last emerge --sync, but I can't update ATM > because I don't want to break any APIs in the (rather large) project > I'm building right now. > > Oh well - problem has been solved anyway. > > C > > Yes you right, the inherit line is not needed. What I was trying to say is that I'm not using FETCHCOMMAND=echo, and it works for me. I would also forward this message to gentoo-dev. Regards, Kfir --000e0cd25772aa351704aa5dc8e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat, Aug 13, 2011 at= 2:00 AM, Christopher Friedt <chrisfriedt@gmail.com> wrote:
On Fri, Aug 12, 2011 at 5:23 PM, Kfir Lavi <lavi.kfir@gmail.com> wrote:
> But this is not the solution!
> I have the same tree for my embedded systems, and I do the same as you= .
> My header looks like this:
> EAPI=3D"3"
> inherit cmake-utils flag-o-matic
> MY_P=3D"${P}-Source"
> SRC_URI=3D"${MY_P}.tar.bz2"
> RESTRICT=3D"fetch" # This file resides locally and can't= be fetched
>
> Please check the EAPI you use, maybe it needs to change.
> Also look close on the SRC_URI, it has just the name of the file.
> I'm also using repoman to generate all my manifests like this:
> cd portage_local_tree; repoman -f manifest

Hmm... I'm using EAPI=3D4 in this ebuild. The SRC_URI is OK, sinc= e it
works with FETCHCOMMAND=3Decho and properly hashes the files in DISTDIR. The inherit line is unnecessary AFAIK.

I wouldn't doubt that it was a bug in the portage version I'm using= .
It's been 43 days since my last emerge --sync, but I can't update A= TM
because I don't want to break any APIs in the (rather large) project I'm building right now.

Oh well - problem has been solved anyway.

C

Yes you right, the inherit line is not needed. What I was trying to say is that I'm not using FETCHCOMMAND=3Decho, <= br>and it works for me.

I would also forward this message to gentoo= -dev.

Regards,
Kfir
--000e0cd25772aa351704aa5dc8e0--