* build issues when behind a proxy
@ 2014-01-21 8:02 Roseville House
2014-01-21 8:11 ` Laurentiu Palcu
0 siblings, 1 reply; 5+ messages in thread
From: Roseville House @ 2014-01-21 8:02 UTC (permalink / raw)
To: poky
I followed the steps listed here
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
still seeing bunch of errors while fetching bitbake -c fetchall
core-image-sato
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:37 socat[30877] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/i586-poky-linux/matchbox-keyboard/0.0+gitAUTOINC+217f1bfe14-r4/temp/log.do_fetch.30839
ERROR: Task 230
(/home/username/yocto/poky/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb,
do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:37 socat[30887] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any
source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/i586-poky-linux/opkg-utils/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30843
ERROR: Task 111
(/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb,
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL git://git.yoctoproject.org/opkg-utils,
attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:37 socat[30890] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.yoctoproject.org/yocto-kernel-tools.git'. Unable to fetch
URL from any source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/x86_64-linux/kern-tools-native/0.2+gitAUTOINC+a42509b01c-r12/temp/log.do_fetch.30842
ERROR: Task 119
(/home/username/yocto/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb,
do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:37 socat[31033] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any
source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/x86_64-linux/opkg-utils-native/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30844
ERROR: Task 31 (virtual:native:/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb,
do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:37 socat[30888] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to
fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/x86_64-linux/kmod-native/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30841
ERROR: Task 129
(/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod-native_git.bb,
do_fetch) failed with exit code '1'
WARNING: Failed to fetch URL
git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git, attempting
MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2014/01/20 23:45:38 socat[31226] E getaddrinfo("", "(null)",
{1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL:
'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to
fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/username/yocto/poky/build/tmp/work/i586-poky-linux/kmod/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30840
ERROR: Task 218
(/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod_git.bb,
do_fetch) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: linux-yocto-3.10.25+gitAUTOINC+4d658aa580_79af968f2f-r0 do_fetch (pid 30845)
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: build issues when behind a proxy 2014-01-21 8:02 build issues when behind a proxy Roseville House @ 2014-01-21 8:11 ` Laurentiu Palcu [not found] ` <CAOqG5myC7zb_Bo1SrcDwULKkMOHYGJTX-tcXN-8bcczVbuQyYA@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Laurentiu Palcu @ 2014-01-21 8:11 UTC (permalink / raw) To: Roseville House; +Cc: poky You're probably missing the GIT_PROXY_COMMAND environment variable. Here's how to set the environment up: https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy Laurentiu On Tue, Jan 21, 2014 at 12:02:32AM -0800, Roseville House wrote: > I followed the steps listed here > https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy > still seeing bunch of errors while fetching bitbake -c fetchall > core-image-sato > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:37 socat[30877] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1'. > Unable to fetch URL from any source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/i586-poky-linux/matchbox-keyboard/0.0+gitAUTOINC+217f1bfe14-r4/temp/log.do_fetch.30839 > > ERROR: Task 230 > (/home/username/yocto/poky/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb, > do_fetch) failed with exit code '1' > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:37 socat[30887] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any > source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/i586-poky-linux/opkg-utils/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30843 > > ERROR: Task 111 > (/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, > do_fetch) failed with exit code '1' > > WARNING: Failed to fetch URL git://git.yoctoproject.org/opkg-utils, > attempting MIRRORS if available > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:37 socat[30890] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/yocto-kernel-tools.git'. Unable to fetch > URL from any source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/x86_64-linux/kern-tools-native/0.2+gitAUTOINC+a42509b01c-r12/temp/log.do_fetch.30842 > > ERROR: Task 119 > (/home/username/yocto/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb, > do_fetch) failed with exit code '1' > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:37 socat[31033] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any > source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/x86_64-linux/opkg-utils-native/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30844 > > ERROR: Task 31 (virtual:native:/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, > do_fetch) failed with exit code '1' > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:37 socat[30888] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to > fetch URL from any source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/x86_64-linux/kmod-native/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30841 > > ERROR: Task 129 > (/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod-native_git.bb, > do_fetch) failed with exit code '1' > > WARNING: Failed to fetch URL > git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git, attempting > MIRRORS if available > > ERROR: Fetcher failure: Fetch command failed with exit code 128, output: > > 2014/01/20 23:45:38 socat[31226] E getaddrinfo("", "(null)", > {1,0,1,6}, {}): Name or service not known > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to > fetch URL from any source. > > ERROR: Logfile of failure stored in: > /home/username/yocto/poky/build/tmp/work/i586-poky-linux/kmod/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30840 > > ERROR: Task 218 > (/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod_git.bb, > do_fetch) failed with exit code '1' > > Waiting for 1 running tasks to finish: > > 0: linux-yocto-3.10.25+gitAUTOINC+4d658aa580_79af968f2f-r0 do_fetch (pid 30845) > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CAOqG5myC7zb_Bo1SrcDwULKkMOHYGJTX-tcXN-8bcczVbuQyYA@mail.gmail.com>]
* Re: build issues when behind a proxy [not found] ` <CAOqG5myC7zb_Bo1SrcDwULKkMOHYGJTX-tcXN-8bcczVbuQyYA@mail.gmail.com> @ 2014-01-21 8:47 ` Roseville House 2014-01-21 9:48 ` Laurentiu Palcu 2014-01-21 9:52 ` Paul Eggleton 0 siblings, 2 replies; 5+ messages in thread From: Roseville House @ 2014-01-21 8:47 UTC (permalink / raw) To: poky When I commented out socat in git-proxy I made some progress but still failed on following URLs ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any source. ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1'. Unable to fetch URL from any source. ERROR: Function failed: Fetcher failure for URL: 'git://git.yoctoproject.org/yocto-kernel-tools.git'. Unable to fetch URL from any source. ERROR: Function failed: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to fetch URL from any source. WARNING: Failed to fetch URL git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta, attempting MIRRORS if available On Tue, Jan 21, 2014 at 12:34 AM, Roseville House <championoaks@gmail.com> wrote: > Thanks a lot for your reply :) > I followed the instructions but still stuck > > user@user:~/yocto/poky/build$ echo $GIT_PROXY_COMMAND > /usr/local/bin/git-proxy > user@user:~/yocto/poky/build$ cat /usr/local/bin/git-proxy > #!/bin/bash > PROXY=proxy.company.com > PORT=901 > exec socat STDIO SOCKS4:$proxy:$1:$2 > case $1 in > # list git servers here that you do not want to use > # the proxy with, separated by a pipe character '|' as below: > > review.tizen.org) > METHOD="-X connect" > ;; > *) > METHOD="-X 5 -x ${PROXY}:${PORT}" > #The line above is applicable to Ubuntu and openSUSE. > #For Fedora, use the variation below since it only supports socks v4. > #METHOD="-X 4 -x ${PROXY}:${PORT}" > ;; > esac > > nc $METHOD $* > user@user:~/yocto/poky/build$ cat ~/.gitconfig > [http] > proxy = http://proxy.company.com:901 > [core] > gitProxy = git-proxy > > On Tue, Jan 21, 2014 at 12:11 AM, Laurentiu Palcu > <laurentiu.palcu@intel.com> wrote: >> You're probably missing the GIT_PROXY_COMMAND environment variable. >> >> Here's how to set the environment up: >> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy >> >> Laurentiu >> >> On Tue, Jan 21, 2014 at 12:02:32AM -0800, Roseville House wrote: >>> I followed the steps listed here >>> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy >>> still seeing bunch of errors while fetching bitbake -c fetchall >>> core-image-sato >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:37 socat[30877] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1'. >>> Unable to fetch URL from any source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/i586-poky-linux/matchbox-keyboard/0.0+gitAUTOINC+217f1bfe14-r4/temp/log.do_fetch.30839 >>> >>> ERROR: Task 230 >>> (/home/username/yocto/poky/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:37 socat[30887] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any >>> source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/i586-poky-linux/opkg-utils/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30843 >>> >>> ERROR: Task 111 >>> (/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> WARNING: Failed to fetch URL git://git.yoctoproject.org/opkg-utils, >>> attempting MIRRORS if available >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:37 socat[30890] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.yoctoproject.org/yocto-kernel-tools.git'. Unable to fetch >>> URL from any source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/x86_64-linux/kern-tools-native/0.2+gitAUTOINC+a42509b01c-r12/temp/log.do_fetch.30842 >>> >>> ERROR: Task 119 >>> (/home/username/yocto/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:37 socat[31033] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any >>> source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/x86_64-linux/opkg-utils-native/0.1.8+gitAUTOINC+fd4a3a4c20-r0/temp/log.do_fetch.30844 >>> >>> ERROR: Task 31 (virtual:native:/home/username/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:37 socat[30888] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to >>> fetch URL from any source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/x86_64-linux/kmod-native/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30841 >>> >>> ERROR: Task 129 >>> (/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod-native_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> WARNING: Failed to fetch URL >>> git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git, attempting >>> MIRRORS if available >>> >>> ERROR: Fetcher failure: Fetch command failed with exit code 128, output: >>> >>> 2014/01/20 23:45:38 socat[31226] E getaddrinfo("", "(null)", >>> {1,0,1,6}, {}): Name or service not known >>> >>> fatal: Could not read from remote repository. >>> >>> >>> >>> Please make sure you have the correct access rights >>> >>> and the repository exists. >>> >>> >>> >>> ERROR: Function failed: Fetcher failure for URL: >>> 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to >>> fetch URL from any source. >>> >>> ERROR: Logfile of failure stored in: >>> /home/username/yocto/poky/build/tmp/work/i586-poky-linux/kmod/16+gitAUTOINC+36c4bb928a-r0/temp/log.do_fetch.30840 >>> >>> ERROR: Task 218 >>> (/home/username/yocto/poky/meta/recipes-kernel/kmod/kmod_git.bb, >>> do_fetch) failed with exit code '1' >>> >>> Waiting for 1 running tasks to finish: >>> >>> 0: linux-yocto-3.10.25+gitAUTOINC+4d658aa580_79af968f2f-r0 do_fetch (pid 30845) >>> _______________________________________________ >>> poky mailing list >>> poky@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build issues when behind a proxy 2014-01-21 8:47 ` Roseville House @ 2014-01-21 9:48 ` Laurentiu Palcu 2014-01-21 9:52 ` Paul Eggleton 1 sibling, 0 replies; 5+ messages in thread From: Laurentiu Palcu @ 2014-01-21 9:48 UTC (permalink / raw) To: Roseville House; +Cc: poky On Tue, Jan 21, 2014 at 12:47:21AM -0800, Roseville House wrote: > When I commented out socat in git-proxy I made some progress but still > failed on following URLs > > > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/opkg-utils'. Unable to fetch URL from any > source. > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1'. > Unable to fetch URL from any source. > ERROR: Function failed: Fetcher failure for URL: > 'git://git.yoctoproject.org/yocto-kernel-tools.git'. Unable to fetch > URL from any source. > ERROR: Function failed: Fetcher failure for URL: > 'git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'. Unable to > fetch URL from any source. > WARNING: Failed to fetch URL > git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=standard/common-pc/base,meta;name=machine,meta, > attempting MIRRORS if available Does 'git clone git://git.yoctoproject.org/linux-yocto-3.10.git' work in terminal? > > On Tue, Jan 21, 2014 at 12:34 AM, Roseville House > <championoaks@gmail.com> wrote: > > Thanks a lot for your reply :) > > I followed the instructions but still stuck > > > > user@user:~/yocto/poky/build$ echo $GIT_PROXY_COMMAND > > /usr/local/bin/git-proxy > > user@user:~/yocto/poky/build$ cat /usr/local/bin/git-proxy > > #!/bin/bash > > PROXY=proxy.company.com > > PORT=901 > > exec socat STDIO SOCKS4:$proxy:$1:$2 > > case $1 in > > # list git servers here that you do not want to use > > # the proxy with, separated by a pipe character '|' as below: > > > > review.tizen.org) > > METHOD="-X connect" > > ;; > > *) > > METHOD="-X 5 -x ${PROXY}:${PORT}" > > #The line above is applicable to Ubuntu and openSUSE. > > #For Fedora, use the variation below since it only supports socks v4. > > #METHOD="-X 4 -x ${PROXY}:${PORT}" > > ;; > > esac > > > > nc $METHOD $* > > user@user:~/yocto/poky/build$ cat ~/.gitconfig > > [http] > > proxy = http://proxy.company.com:901 > > [core] > > gitProxy = git-proxy > > It looks like you have an interesting combination of socat and nc in the same proxy script, plus the GIT_PROXY_COMMAND in your environment and proxy setting in ~/.gitconfig. :) GIT_PROXY_COMMAND normally overrides these settings. Also, it looks like the socat solution has a small bug: s/proxy/PROXY I suggest you try the following: * remove the proxy settings in ~/.gitconfig; * set the proxy script to the example below (I'm using this one); * put GIT_PROXY_COMMAND in your ~/.bashrc Here is how my proxy script looks, maybe it helps: ****************** #!/bin/sh case $1 in *.company.com|192.168.*|127.0.*|localhost) METHOD="-X connect" ;; *) METHOD="-X 5 -x proxy.company.com:8080" ;; esac /bin/nc $METHOD $* ****************** Laurentiu ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build issues when behind a proxy 2014-01-21 8:47 ` Roseville House 2014-01-21 9:48 ` Laurentiu Palcu @ 2014-01-21 9:52 ` Paul Eggleton 1 sibling, 0 replies; 5+ messages in thread From: Paul Eggleton @ 2014-01-21 9:52 UTC (permalink / raw) To: Roseville House; +Cc: poky On Tuesday 21 January 2014 00:47:21 Roseville House wrote: > When I commented out socat in git-proxy I made some progress but still > failed on following URLs Er, socat is what does the work in that script. Why did you comment it out? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-21 9:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 8:02 build issues when behind a proxy Roseville House
2014-01-21 8:11 ` Laurentiu Palcu
[not found] ` <CAOqG5myC7zb_Bo1SrcDwULKkMOHYGJTX-tcXN-8bcczVbuQyYA@mail.gmail.com>
2014-01-21 8:47 ` Roseville House
2014-01-21 9:48 ` Laurentiu Palcu
2014-01-21 9:52 ` Paul Eggleton
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.