* [Buildroot] can-utils or site method git broken
@ 2012-11-30 18:31 Stephan Hoffmann
2012-11-30 19:51 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Stephan Hoffmann @ 2012-11-30 18:31 UTC (permalink / raw)
To: buildroot
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
> >>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Downloading
> Initialized 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 branch 836d3cc0122ce31a1b732d369cbd27b690c3110f not
> found in upstream origin, using HEAD instead
> fatal: not a tree object
> >>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Extracting
> gzip -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
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] can-utils or site method git broken
2012-11-30 18:31 [Buildroot] can-utils or site method git broken Stephan Hoffmann
@ 2012-11-30 19:51 ` Peter Korsgaard
2012-12-01 12:42 ` Stephan Hoffmann
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2012-11-30 19:51 UTC (permalink / raw)
To: buildroot
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> 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
>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Downloading
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.
>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Extracting
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 -
>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Patching package//can-utils
>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Updating 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
>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Patching libtool
Do you have an old git version on your build machine? I have 1.7.10.4.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] can-utils or site method git broken
2012-11-30 19:51 ` Peter Korsgaard
@ 2012-12-01 12:42 ` Stephan Hoffmann
0 siblings, 0 replies; 3+ messages in thread
From: Stephan Hoffmann @ 2012-12-01 12:42 UTC (permalink / raw)
To: buildroot
Am 30.11.2012 20:51, schrieb Peter Korsgaard:
>>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> 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
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
> commit 3dd4bcf1eb55f957dba2351f3626933f06adb107
> Author: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> Date: Thu Nov 1 02:21:05 2012 +0100
>
> pkg-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
>>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Downloading
> 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.
>>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Extracting
> 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 -
>>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Patching package//can-utils
>>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Updating 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
>>>> can-utils 836d3cc0122ce31a1b732d369cbd27b690c3110f Patching libtool
> Do you have an old git version on your build machine? I have 1.7.10.4.
>
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-01 12:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 18:31 [Buildroot] can-utils or site method git broken Stephan Hoffmann
2012-11-30 19:51 ` Peter Korsgaard
2012-12-01 12:42 ` Stephan Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox