<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2007</bug_id>
          
          <creation_ts>2012-02-17 13:05:55 +0000</creation_ts>
          <short_desc>oe-git-proxy-socks: command not found</short_desc>
          <delta_ts>2012-03-02 12:32:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch posted for review</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Inaky Perez-Gonzalez">inaky.perez-gonzalez</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18649</commentid>
    <comment_count>0</comment_count>
    <who name="Inaky Perez-Gonzalez">inaky.perez-gonzalez</who>
    <bug_when>2012-02-17 13:05:55 +0000</bug_when>
    <thetext>Build failed with:

| ERROR: Function &apos;Fetcher failure for URL: &apos;git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta&apos;. Unable to fetch URL git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta from any source.&apos; failed
| /opt/poky-edison-6.0/scripts/oe-git-proxy-socks-command: line 2: oe-git-proxy-socks: command not found
|  fatal: The remote end hung up unexpectedly
|  fatal: remote origin already exists.
| 

Configuration:

poky-edison-6.0.tar.bz2 extracted to /opt
poky-eglibc-x86_64-x86_64-toolchain-gmae-1.1.tar.bz2 extracted to /

$ cd 
$ source /opt/poky/1.1/environment-setup-x86_64-poky-linux
$ source /opt/poky-edison-6.0/oe-init-build-env build-cc

(in build-cc directory)

$ bitbake -k core-image-minimal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18652</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-02-17 17:25:22 +0000</bug_when>
    <thetext>I&apos;m traveling at the moment at rather jetlagged but I&apos;m guessing that to have seen this error, you must have enabled the code in site.conf?

If so, it says:

# If SOCKS is available run the following command to comple a simple transport
# gcc scripts/oe-git-proxy-socks.c -o oe-git-proxy-socks
# and then share that binary somewhere in PATH, then use the following settings
#GIT_PROXY_HOST = &quot;proxy.example.com&quot;
#GIT_PROXY_PORT = &quot;81&quot;
#export GIT_PROXY_COMMAND = &quot;${COREBASE}/scripts/oe-git-proxy-socks-command&quot;

so did you run:

&quot;gcc scripts/oe-git-proxy-socks.c -o oe-git-proxy-socks&quot; ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18653</commentid>
    <comment_count>2</comment_count>
    <who name="Inaky Perez-Gonzalez">inaky.perez-gonzalez</who>
    <bug_when>2012-02-17 18:02:04 +0000</bug_when>
    <thetext>You bet I didn&apos;t :/ sorry for the spinning of wheels.

May I turn this into a wishlist item? Turn the error message &quot;oe-git-proxy-socks&quot; command onto something that is automagically built and put in the poky tree? Or the message saying the same thing as the doc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18654</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-02-17 18:32:37 +0000</bug_when>
    <thetext>I&apos;m pleased it was something that simple!

I agree this should be easier. If that binary isn&apos;t available I think that script should at least have a go at compiling it itself. The scripts/ directory is now always in PATH so this is probably much easier than it ever would have been. We have some usecases where metadata is on a read-only filesystem but I&apos;m prepared to ignore those in this case (a write failure would clearly indicate that problem).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18847</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-02 12:32:50 +0000</bug_when>
    <thetext>Fixed in master in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6fd4699d077736c54eb3aa31b62593cc5bd82fdc and the preceding commit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>