Skip to contentSkip to conversation

connman dowload failure

Buildroot Baruch Siach 3 participants 5 messages Dec 12, 2011 – Dec 13, 2011

lore
Share & tools
lore
#0 lore raw

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':

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> 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':

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> 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).

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
In reply to Peter Korsgaard

Hi Peter,

Quoted 6 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> 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':

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard