Skip to contentSkip to conversation

How to force the use of git-native?

DISCUSSION Gary Thomas 4 participants 11 messages Dec 12, 2013 – Dec 17, 2013

lore
Share & tools
lore
#0 lore raw

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Hi Gary,

Quoted 9 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball, as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-git-tar-and-python-versions

Interesting that git 1.7.7.6 is still not adequate though, that may be a prompt to either fix the check to work with older versions of git or increase our version number requirement.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 10 lines · Paul Eggleton

Hi Gary,

Quoted 7 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

Quoted 7 lines
Quoted 2 lines

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball, as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-git-tar-and-python-versions

Thanks, I'll give this a go.

Quoted 4 lines

Interesting that git 1.7.7.6 is still not adequate though, that may be a prompt to either fix the check to work with older versions of git or increase our version number requirement.

If you have ideas how I can investigate why this fails, I'd be glad to help out (to see if it can be made to work with 1.7.7.6 or if we just need a newer version period)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 14 lines · Gary Thomas
Quoted 13 lines · Paul Eggleton

Hi Gary,

Quoted 9 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

Quoted 6 lines
Quoted 4 lines

The solution we provide for this kind of situation is buildtools-tarball, as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-git-tar-and-python-versions

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make the buildtools-tarball actually needs a working version of git??

ERROR: Fetcher failure: Unable to find revision 757a1664a440c60e8126443bf984e4bdf374c327 in branch master even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/local/rpi_2013-12-12/tmp/work/i686-linux/opkg-utils-native/0.1.8+gitAUTOINC+757a1664a4-r0/temp/log.do_fetch.15416
ERROR: Task 85 (virtual:native:/home/local/poky-multi/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Unable to find revision 6822ec76aa95f278195aeae59d4868ef224d7e4d in branch cross_prelink even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/local/rpi_2013-12-12/tmp/work/i686-linux/prelink-native/1.0+gitAUTOINC+6822ec76aa-r0/temp/log.do_fetch.15406
ERROR: Task 244 (virtual:native:/home/local/poky-multi/meta/recipes-devtools/prelink/prelink_git.bb, do_fetch) failed with exit code '1'

Quoted 9 lines
Quoted 4 lines

Interesting that git 1.7.7.6 is still not adequate though, that may be a prompt to either fix the check to work with older versions of git or increase our version number requirement.

If you have ideas how I can investigate why this fails, I'd be glad to help out (to see if it can be made to work with 1.7.7.6 or if we just need a newer version period)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw
Quoted 18 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 17 lines · Gary Thomas
Quoted 16 lines · Paul Eggleton

Hi Gary,

Quoted 9 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball, as described here (linked from the QS guide as well):

Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make the buildtools-tarball actually needs a working version of git??

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download a prebuilt version as linked from the manual section above *or* build it on another machine.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#5 lore raw
Quoted 23 lines · Paul Eggleton
Quoted 22 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 20 lines · Gary Thomas
Quoted 10 lines · Paul Eggleton

Hi Gary,

Quoted 7 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

Quoted 8 lines
Quoted 2 lines

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball, as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Thanks, I'll give this a go.

Quoted 7 lines
Quoted 2 lines

Oops, looks like I have a circular dependency problem since trying to make the buildtools-tarball actually needs a working version of git??

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download a prebuilt version as linked from the manual section above *or* build it on another machine.

Too bad that pointer is only for x86_64 hosts (mine is i386 only)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#6 lore raw

Gary,

If you give me a few hours I'll generate the proper tarball for you. I've upgraded the release process to include a i386 host tarball from now on.

I'll send you the link when I have it done.

-b

Quoted 59 lines · Gary Thomas
Quoted 38 lines · Paul Eggleton
Quoted 28 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 26 lines · Gary Thomas
Quoted 23 lines · Paul Eggleton

Hi Gary,

Quoted 10 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball,
as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Quoted 6 lines
Quoted 1 line

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make
the buildtools-tarball actually needs a working version of git??

Quoted 6 lines

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download
a prebuilt version as linked from the manual section above *or* build it on
another machine.

Too bad that pointer is only for x86_64 hosts (mine is i386 only)

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release
#7 lore raw
Quoted 7 lines · Elizabeth

Gary,

If you give me a few hours I'll generate the proper tarball for you. I've upgraded the release process to include a i386 host tarball from now on.

I'll send you the link when I have it done.

Thanks, I appreciate this.

Quoted 63 lines · Gary Thomas
Quoted 59 lines · Paul Eggleton
Quoted 38 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 28 lines · Gary Thomas
Quoted 26 lines · Paul Eggleton
Quoted 23 lines

Hi Gary,

Quoted 10 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball,
as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Quoted 6 lines
Quoted 1 line

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make
the buildtools-tarball actually needs a working version of git??

Quoted 6 lines

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download
a prebuilt version as linked from the manual section above *or* build it on
another machine.

Too bad that pointer is only for x86_64 hosts (mine is i386 only)

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#8 lore raw

Gary:

This should help.
http://autobuilder.yoctoproject.org/pub/buildtools/20131216-2/buildtools/poky-eglibc-i686-buildtools-tarball-i586-buildtools-nativesdk-standalone-1.5.sh

I haven't tested this out yet, but it is based off of the dora 10.0.0 release, so please, let me know if you have problems with it.

-b

Quoted 96 lines · Gary Thomas
Quoted 8 lines · Elizabeth

Gary,

If you give me a few hours I'll generate the proper tarball for you. I've upgraded the release process to include a i386 host tarball from now on.

I'll send you the link when I have it done.

Thanks, I appreciate this.

Quoted 63 lines · Gary Thomas
Quoted 62 lines · Paul Eggleton
Quoted 48 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 35 lines · Gary Thomas
Quoted 32 lines · Paul Eggleton
Quoted 27 lines

Hi Gary,

Quoted 11 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball,
as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Quoted 7 lines
Quoted 1 line

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make
the buildtools-tarball actually needs a working version of git??

Quoted 6 lines

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download
a prebuilt version as linked from the manual section above *or* build it on
another machine.

Too bad that pointer is only for x86_64 hosts (mine is i386 only)

Quoted 13 lines
Quoted 9 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release
#9 lore raw
Quoted 7 lines · Elizabeth

Gary:

This should help.
http://autobuilder.yoctoproject.org/pub/buildtools/20131216-2/buildtools/poky-eglibc-i686-buildtools-tarball-i586-buildtools-nativesdk-standalone-1.5.sh

I haven't tested this out yet, but it is based off of the dora 10.0.0 release, so please, let me know if you have problems with it.

Seems to work fine on my Fedora 13 box.

Thanks

Quoted 100 lines · Gary Thomas
Quoted 96 lines · Elizabeth
Quoted 8 lines

Gary,

If you give me a few hours I'll generate the proper tarball for you. I've upgraded the release process to include a i386 host tarball from now on.

I'll send you the link when I have it done.

Thanks, I appreciate this.

Quoted 63 lines · Gary Thomas
Quoted 62 lines · Paul Eggleton
Quoted 48 lines · On Thursday 12 December 2013 09:31:10 Gary Thomas wrote:
Quoted 35 lines · Gary Thomas
Quoted 32 lines · Paul Eggleton
Quoted 27 lines

Hi Gary,

Quoted 11 lines · On Thursday 12 December 2013 08:06:31 Gary Thomas wrote:

I've found that the latest bitbake fetcher changes (require the use of branch names) fails with older versions of git. I have a Fedora 13 machine which I routinely use to build my Yocto projects that has git version 1.7.7.6. On that machine, all git fetches fail, no matter what. On my Ubuntu builder which has git 1.7.9.4, all is OK.

I see that there is a git recipe in OE-core. How can I force it to be built and used where the host's native git is inadequate?

The solution we provide for this kind of situation is buildtools-tarball,
as described here (linked from the QS guide as well):

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#requi
red-git-tar-and-python-versions>

Quoted 7 lines
Quoted 1 line

Thanks, I'll give this a go.

Oops, looks like I have a circular dependency problem since trying to make
the buildtools-tarball actually needs a working version of git??

Quoted 6 lines

I don't think it's reasonable to expect to build buildtools-tarball on a system that isn't capable of building at the moment; you should just download
a prebuilt version as linked from the manual section above *or* build it on
another machine.

Too bad that pointer is only for x86_64 hosts (mine is i386 only)

Quoted 13 lines
Quoted 9 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#10 lore raw

Hi

Should'nt it be enough to remove git-native from ASSUME_PROVIDED ?

Mandag den 16. december 2013 10:33:17 skrev Gary Thomas:

Quoted 13 lines · Elizabeth
Quoted 9 lines

Gary:

This should help.
http://autobuilder.yoctoproject.org/pub/buildtools/20131216-2/buildtools/p
oky-eglibc-i686-buildtools-tarball-i586-buildtools-nativesdk-standalone-1. 5.sh

I haven't tested this out yet, but it is based off of the dora 10.0.0 release, so please, let me know if you have problems with it.

Seems to work fine on my Fedora 13 box.

Signature · 1 line
Søren Holm