can-utils or site method git broken
Hi,
I am currently trying to build can-utils without success. Obviously, getting the required commit from gitorious.org fails. I verified that I can clone the repo by hand and that it contains the right hash.
Configuration: beaglebone_defconfig, added can-utils, branch master from today (82583bf4), Ubuntu 10.04 LTS.
Kind regards
Stephan
Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fDownloadingInitialized empty Git repository in
/home/stephan/Dokumente/dl/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f/
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 62 (delta 10), reused 22 (delta 0)
Receiving objects: 100% (62/62), 100.37 KiB, done.
Resolving deltas: 100% (10/10), done.
warning: Remote branch836d3cc0122ce31a1b732d369cbd27b690c3110fnot found in upstream origin, using HEAD instead
fatal: not a tree objectQuoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fExtractinggzip -d -c
/home/stephan/Dokumente/dl/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f.tar.gz
| tar --strip-components=1 -C/home/stephan/Dokumente/BeagleBone/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f-xf -
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make: *** [/home/stephan/Dokumente/BeagleBone/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f/.stamp_extracted] Error 2
Signature · 4 lines
reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephan" == Stephan Hoffmann <[email protected]> writes:
Stephan> Hi,
Stephan> I am currently trying to build can-utils without success. Obviously, Stephan> getting the required commit from gitorious.org fails. I verified that I Stephan> can clone the repo by hand and that it contains the right hash.
Stephan> Configuration: beaglebone_defconfig, added can-utils, branch Stephan> master from today (82583bf4), Ubuntu 10.04 LTS.
Odd, it works here:
make can-utils-patch
Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fDownloading
Cloning into bare repository 'can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f'...
warning: Could not find remote branch 836d3cc0122ce31a1b732d369cbd27b690c3110f to clone.
fatal: Remote branch 836d3cc0122ce31a1b732d369cbd27b690c3110f not found in upstream origin Cloning into bare repository 'can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f'...
remote: Counting objects: 732, done.
remote: Compressing objects: 100% (253/253), done.
remote: Total 732 (delta 485), reused 706 (delta 468)
Receiving objects: 100% (732/732), 221.56 KiB | 118 KiB/s, done.
Resolving deltas: 100% (485/485), done.
Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fExtracting
gzip -d -c /var/lib/downloads/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f.tar.gz | tar --strip-components=1 -C /home/peko/source/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f -xf -
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fPatching package//can-utils can-utils836d3cc0122ce31a1b732d369cbd27b690c3110fUpdating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /home/peko/source/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f -name $file); do cp support/gnuconfig/$file $i; done; done
Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fPatching libtool
Do you have an old git version on your build machine? I have 1.7.10.4.
Signature · 1 line
Bye, Peter Korsgaard
Am 30.11.2012 20:51, schrieb Peter Korsgaard:
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Stephan" == Stephan Hoffmann <[email protected]> writes:
Stephan> Hi,
Stephan> I am currently trying to build can-utils without success. Obviously, Stephan> getting the required commit from gitorious.org fails. I verified that I Stephan> can clone the repo by hand and that it contains the right hash.
Quoted 6 lines
Stephan> Configuration:
beaglebone_defconfig, added can-utils, branch Stephan> master from today (82583bf4), Ubuntu 10.04 LTS.Odd, it works here:
make can-utils-patch
I tried this in a fresh cloned buildroot with the same result.
My git is 1.7.0.4 which does not seem too outdated to me.
Git bisect tells me that the cause ispackage/pkg-autotools.mk
Quoted 5 lines
commit
3dd4bcf1eb55f957dba2351f3626933f06adb107Author: Arnout Vandecappelle (Essensium/Mind) <[email protected]> Date: Thu Nov 1 02:21:05 2012 +0100pkg-download: Make a shallow clone for git downloads
The problem is that my git only gives a warning and uses HEAD when the remote branch does not exist. Then "git archive" fails because it does not find the requested commit.
A soluton could be to check success of "git archive" instead of "git clone". I will send a patch for this soon.
Kind regards
Stephan
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fDownloadingCloning into bare repository 'can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f'...
warning: Could not find remote branch836d3cc0122ce31a1b732d369cbd27b690c3110fto clone.
fatal: Remote branch836d3cc0122ce31a1b732d369cbd27b690c3110fnot found in upstream origin Cloning into bare repository 'can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f'...
remote: Counting objects: 732, done.
remote: Compressing objects: 100% (253/253), done.
remote: Total 732 (delta 485), reused 706 (delta 468)
Receiving objects: 100% (732/732), 221.56 KiB | 118 KiB/s, done.
Resolving deltas: 100% (485/485), done.Quoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fExtractinggzip -d -c
/var/lib/downloads/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f.tar.gz| tar --strip-components=1 -C/home/peko/source/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f-xf -Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fPatching package//can-utils can-utils836d3cc0122ce31a1b732d369cbd27b690c3110fUpdating config.sub and config.guessfor file in config.guess config.sub; do for i in $(find
/home/peko/source/buildroot/output/build/can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f-name $file); do cp support/gnuconfig/$file $i; done; doneQuoted 1 line
Quoted 1 line
Quoted 1 line
can-utils
836d3cc0122ce31a1b732d369cbd27b690c3110fPatching libtoolDo you have an old git version on your build machine? I have 1.7.10.4.
Signature · 4 lines
reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de