[oe] Package build failure

Anders Darander anders.darander at gmail.com
Thu Apr 5 07:41:48 UTC 2012


On Thu, Apr 5, 2012 at 09:33, Andrei Gherzan <andrei at gherzan.ro> wrote:
> Or you can specify a tag in  src_uri. Something like SRC_URI =
> "git://bla.git;protocol=git;tag=mytag"

Yes, you can, but please use SRCREV instead. (And let SRCREV point to
the commit that corresponds to the tagged commmit). If you use tags,
git will try to reach to server to verify the tag, while SRCREV lets
you build completely offline.

/Anders

> On Apr 4, 2012 11:01 PM, "Martin Jansa" <martin.jansa at gmail.com> wrote:
>
>> On Wed, Apr 04, 2012 at 09:57:04PM +0200, Apelete Seketeli wrote:
>> > Le 03-Apr-12, Andrei Gherzan a écrit:
>> > > On Tue, Apr 3, 2012 at 00:04, Apelete Seketeli <apelete at seketeli.net>
>> wrote:
>> > > >
>> > > > It seems http://svn.openmoko.org is unreachable.
>> > > > How can I resolve this issue ?
>> > > >
>> > > >
>> > > You actually cant solve this issue as the upstream link is down. You
>> have
>> > > two simple choices:
>> > > 1. Find an upstream mirror
>> > > 2. Use a local archive instead.
>> >
>> > Thanks for the advice.
>> > I decided to try this upstream mirror:
>> > http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/.
>> >
>> > So I replaced the SRC_URI as follow (hereafter is the content of
>> > opkg-utils_svn.bb):
>>
>> You need at least replace SRCREV with something valid for git as error
>> suggests.. see
>>
>> http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb




More information about the Openembedded-devel mailing list