http://bugs.openembedded.org/show_bug.cgi?id=3410
Summary: git fetcher problems with http protocol
Product: BitBake
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: BitBake
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
A problem:
DEBUG: Running rm * -Rf
DEBUG: Running git fetch http://git.hackndev.com/git/linux-hnd
error: pick-rref: HEAD not found
No such ref HEAD at http://git.hackndev.com/git/linux-hnd
NOTE: Task failed: Fetch failed: Fetch command export
PATH=/home/slapin/OE/tmp-arm/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/home/slapin/OE/tmp-arm/staging/i686-linux/bin:/home/slapin/OE/tmp-arm/staging/i686-linux/bin:/home/slapin/OE/tmp-arm/cross/bin:/home/slapin/OE/tmp-arm/staging/i686-linux/bin:/home/slapin/OE/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games;
git fetch http://git.hackndev.com/git/linux-hnd failed with signal 1, output:
NOTE: package linux-hackndev-2.6-2.6.21-hnd3-r12: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-hackndev-2.6-2.6.21-hnd3: failed
ERROR: Build of
/home/slapin/OE/org.openembedded.dev/packages/linux/linux-hackndev-2.6_git.bb
do_fetch failed
ERROR: Task 11
(/home/slapin/OE/org.openembedded.dev/packages/linux/linux-hackndev-2.6_git.bb,
do_fetch) failed
NOTE: Tasks Summary: Attempted 307 tasks of which 307 didn't need to be rerun
and 1 failed.
ERROR:
'/home/slapin/OE/org.openembedded.dev/packages/linux/linux-hackndev-2.6_git.bb'
failed
To reproduce:
Create a small git repository or use existing one, available over http
protocol,
so for git clone http://host/path/something to work ok.
from that directory try to pull or fetch from same URL. See error.
Try git recipe which gets repository over http (there are few),
and see above error.
Conclusion:
This is due to git bug, so http protocol should be handled separately,
(no pulling with URL, pull w/o parameters works ok).
Proposed fix:
Until bug is fixed, a workaround is required:
Just check if protocol is http, then don't use URL with fetching.
To get to appropriate branch use git checkout -b <branch> origin/branch
Hope that helps.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev