* [Buildroot] connman dowload failure
@ 2011-12-12 12:06 Baruch Siach
2011-12-12 12:26 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2011-12-12 12:06 UTC (permalink / raw)
To: buildroot
Hi Buildroot list,
I'm trying to build connman for my platform, but the build fails at the source
download stage using both git and wget. This is the output of 'make V=1':
>>> connman 0.78 Downloading
if test -n "" ; then case "" in scp) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || scp /connman-0.78.tar.gz /home/baruch/git/buildroot/output/dl && exit ;; *) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || wget --passive-ftp -nd -P /home/baruch/git/buildroot/output/dl /connman-0.78.tar.gz && exit ;; esac ; fi ; if test -n "git://git.kernel.org/pub/scm/network/connman/connman.git" ; then case "git" in git) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || (pushd /home/baruch/git/buildroot/output/dl > /dev/null && git clone clone --bare git://git.kernel.org/pub/scm/network/connman/connman.git connman-0.78 && pushd connman-0.78 > /dev/null && git clone archive --format=tar --prefix=connman-0.78/ 0.78 | gzip -c > /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz && popd > /dev/null && rm -rf /home/baruch/git/buildroot/output/dl/connman-0.78 && popd > /dev/null) && exit ;; svn) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || (pushd /home/baruch/git/buildroot/output/dl > /dev/null && svn export -r 0.78 git://git.kernel.org/pub/scm/network/connman/connman.git /home/baruch/git/buildroot/output/dl/connman-0.78 && tar czf connman-0.78.tar.gz connman-0.78/ && rm -rf /home/baruch/git/buildroot/output/dl/connman-0.78 && popd > /dev/null) && exit ;; bzr) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || bzr export /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz git://git.kernel.org/pub/scm/network/connman/connman.git -r 0.78 && exit ;; file) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || cp git://git.kernel.org/pub/scm/network/connman/connman.git/connman-0.78.tar.gz /home/baruch/git/buildroot/output/dl && exit ;; scp) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || scp git.kernel.org/pub/scm/network/connman/connman.git/connman-0.78.tar.gz /home/baruch/git/buildroot/output/dl && exit ;; hg) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || (pushd /home/baruch/git/buildroot/output/dl > /dev/null && hg clone --noupdate --rev 0.78 git://git.kernel.org/pub/scm/network/connman/connman.git connman-0.78 && hg archive --repository connman-0.78 --type tgz --prefix connman-0.78/ --rev 0.78 /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz && rm -rf /home/baruch/git/buildroot/output/dl/connman-0.78 && popd > /dev/null) && exit ;; *) test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || wget --passive-ftp -nd -P /home/baruch/git/buildroot/output/dl git://git.kernel.org/pub/scm/network/connman/connman.git/connman-0.78.tar.gz && exit ;; esac ; fi ; if test -n "http://buildroot.net/downloads/sources/" ; then test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || wget --passive-ftp -nd -P /home/baruch/git/buildroot/output/dl http://buildroot.net/downloads/sources//connman-0.78.tar.gz && exit ; fi ; exit 1
Too many arguments.
usage: git clone [options] [--] <repo> [<dir>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive initialize submodules in the clone
--recurse-submodules initialize submodules in the clone
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
-o, --origin <branch>
use <branch> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--2011-12-12 14:01:25-- http://buildroot.net/downloads/sources//connman-0.78.tar.gz
Resolving buildroot.net (buildroot.net)... 140.211.167.224
Connecting to buildroot.net (buildroot.net)|140.211.167.224|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sources.buildroot.net//connman-0.78.tar.gz [following]
--2011-12-12 14:01:30-- http://sources.buildroot.net//connman-0.78.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-12-12 14:01:30 ERROR 404: Not Found.
make: *** [/home/baruch/git/buildroot/output/build/connman-0.78/.stamp_downloaded] Error 1
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] connman dowload failure
2011-12-12 12:06 [Buildroot] connman dowload failure Baruch Siach
@ 2011-12-12 12:26 ` Peter Korsgaard
2011-12-12 12:28 ` Peter Korsgaard
2011-12-13 5:34 ` Baruch Siach
0 siblings, 2 replies; 5+ messages in thread
From: Peter Korsgaard @ 2011-12-12 12:26 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
Baruch> Hi Buildroot list,
Baruch> I'm trying to build connman for my platform, but the build fails at the source
Baruch> download stage using both git and wget. This is the output of 'make V=1':
>>>> connman 0.78 Downloading
Baruch> test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || (pushd /home/baruch/git/buildroot/output/dl > /dev/null && git clone clone --bare git://git.kernel.org/pub/scm/network/connman/connman.git connman-0.78 && pushd connman-0.78 > /dev/null && git clone archive --format=tar --prefix=connman-0.78/ 0.78 | gzip -c > /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz && popd > /dev/null && rm -rf /home/baruch/git/buildroot/output/dl/connman-0.78 && popd > /dev/null) && exit
This is caused by cf71111b99ab951 (Cleanup the VCS commands
configuration). The BR2_GIT variable changed from "git clone" to just
"git". If you change that in your .config it should work again.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] connman dowload failure
2011-12-12 12:26 ` Peter Korsgaard
@ 2011-12-12 12:28 ` Peter Korsgaard
2011-12-13 5:34 ` Baruch Siach
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2011-12-12 12:28 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <jacmet@uclibc.org> writes:
Hi,
Peter> This is caused by cf71111b99ab951 (Cleanup the VCS commands
Peter> configuration). The BR2_GIT variable changed from "git clone" to just
Peter> "git". If you change that in your .config it should work again.
This breakage is indeed a bit unfortunate. For this (and other) reason
it is a good idea to work with defconfig files which only contain the
non-default settings (make savedefconfig).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] connman dowload failure
2011-12-12 12:26 ` Peter Korsgaard
2011-12-12 12:28 ` Peter Korsgaard
@ 2011-12-13 5:34 ` Baruch Siach
2011-12-13 6:20 ` Peter Korsgaard
1 sibling, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2011-12-13 5:34 UTC (permalink / raw)
To: buildroot
Hi Peter,
On Mon, Dec 12, 2011 at 01:26:41PM +0100, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
>
> Baruch> Hi Buildroot list,
> Baruch> I'm trying to build connman for my platform, but the build fails at the source
> Baruch> download stage using both git and wget. This is the output of 'make V=1':
>
> >>>> connman 0.78 Downloading
>
> Baruch> test -e /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz || (pushd /home/baruch/git/buildroot/output/dl > /dev/null && git clone clone --bare git://git.kernel.org/pub/scm/network/connman/connman.git connman-0.78 && pushd connman-0.78 > /dev/null && git clone archive --format=tar --prefix=connman-0.78/ 0.78 | gzip -c > /home/baruch/git/buildroot/output/dl/connman-0.78.tar.gz && popd > /dev/null && rm -rf /home/baruch/git/buildroot/output/dl/connman-0.78 && popd > /dev/null) && exit
>
> This is caused by cf71111b99ab951 (Cleanup the VCS commands
> configuration). The BR2_GIT variable changed from "git clone" to just
> "git". If you change that in your .config it should work again.
Thanks for the tip.
Eventually I had to manually clone connman.git with http, and generate a tar
file because of a stupid firewall rule blocking the native git port :-(.
Can you put a connman tar file in http://sources.buildroot.net for others
similarly unlucky, so that at least the wget fallback will succeed?
Thanks,
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] connman dowload failure
2011-12-13 5:34 ` Baruch Siach
@ 2011-12-13 6:20 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2011-12-13 6:20 UTC (permalink / raw)
To: buildroot
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
Hi,
Baruch> Can you put a connman tar file in http://sources.buildroot.net
Baruch> for others similarly unlucky, so that at least the wget
Baruch> fallback will succeed?
Yes, I have a script running every Wednesday doing that.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-13 6:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12 12:06 [Buildroot] connman dowload failure Baruch Siach
2011-12-12 12:26 ` Peter Korsgaard
2011-12-12 12:28 ` Peter Korsgaard
2011-12-13 5:34 ` Baruch Siach
2011-12-13 6:20 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox