<?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>6211</bug_id>
          
          <creation_ts>2014-04-23 08:25:44 +0000</creation_ts>
          <short_desc>git from daisy buildtools tarball has relocation issues</short_desc>
          <delta_ts>2014-08-06 12:54:58 +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>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>TC needed</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Stanacar">sstncr</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kergoth</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42880</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2014-04-23 08:25:44 +0000</bug_when>
    <thetext>http://autobuilder.yoctoproject.org/pub/nightly/20140420-2/buildtools/poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh

This was built on daisy release from http://autobuilder.yoctoproject.org/main/builders/buildtools/builds/51

With the buildtools tarball installed in a custom location, git pull doesn&apos;t work. Other commands like fetch/checkout seems to work just fine.

[stefans@firebird Downloads]$ sh poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh 
Enter target directory for SDK (default: /opt/poky/1.6): /home/stefans/buildtools
You are about to install the SDK to &quot;/home/stefans/buildtools&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.

[stefans@firebird buildtools]$ source environment-setup-x86_64-pokysdk-linux 
[stefans@firebird ~]$ cd yocto/poky/
[stefans@firebird poky]$ which git
~/buildtools/sysroots/x86_64-pokysdk-linux/usr/bin/git
[stefans@firebird poky]$ git pull
git: &apos;pull&apos; is not a git command. See &apos;git --help&apos;.

Did you mean this?
	shell


Installing in the default directory, git pull works:
[stefans@firebird Downloads]$ sudo sh poky-eglibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.6.sh 
Enter target directory for SDK (default: /opt/poky/1.6): 
You are about to install the SDK to &quot;/opt/poky/1.6&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.
[stefans@firebird Downloads]$ source /opt/poky/1.6/environment-setup-x86_64-pokysdk-linux 
[stefans@firebird ~]$ cd yocto/poky/
[stefans@firebird poky]$ which git
/opt/poky/1.6/sysroots/x86_64-pokysdk-linux/usr/bin/git
[stefans@firebird poky]$ git pull
remote: Counting objects: 733, done.
remote: Compressing objects: 100% (173/173), done.
remote: Total 519 (delta 415), reused 440 (delta 342)
Receiving objects: 100% (519/519), 201.18 KiB | 0 bytes/s, done.
Resolving deltas: 100% (415/415), completed with 98 local objects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43061</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2014-04-29 14:53:03 +0000</bug_when>
    <thetext>It turns out that RUNTIME_PREFIX support upstream isn&apos;t what it should be. See https://github.com/kergoth/meta-mentor/commit/9d966b7 -- not ideal, but works for now. I&apos;ll see about submitting that to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43064</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-04-30 08:26:47 +0000</bug_when>
    <thetext>This seems to work just fine on Ubuntu 12.04. I tried both the installer suggested in the report and one freshly built. &apos;git pull&apos; works... What OS were you running this on?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43066</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2014-04-30 11:46:48 +0000</bug_when>
    <thetext>Laurentiu: I used that buildtools tarball on F19, F20 and an Ubuntu 12.04 machine. The output from above is from a F20 machine. git pull consistenly failed for me when installed in the home dir, and not in the default /opt/poky/1.6 path...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43073</commentid>
    <comment_count>4</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2014-04-30 16:12:56 +0000</bug_when>
    <thetext>It&apos;s not just git-pull that&apos;s affected by this. For us, we found that it was impossible to clone an http:// uri, as it was unable to find the http git remote helper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43950</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-13 16:38:45 +0000</bug_when>
    <thetext>Patches from meta-mentor sent to OE-Core for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43957</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-14 21:27:26 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=62cf222de25848bb984581170e79fbc461fbe2dd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44837</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-07-30 14:55:22 +0000</bug_when>
    <thetext>verified with 1.7_M1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>