<?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>2908</bug_id>
          
          <creation_ts>2012-08-07 09:24:33 +0000</creation_ts>
          <short_desc>gcc git repo is huge and takes a long time to fetch</short_desc>
          <delta_ts>2012-10-05 13:11:07 +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.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>laguest</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>23850</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-08-07 09:24:33 +0000</bug_when>
    <thetext>The git repo we now fetch gcc from (changed from svn in OE-Core revision 3f3b74b3fd6ba813dd69804706edcea145876e09) is very large - 1.7GB on disk. This takes a very long time to download. Is there a workable alternative to having the entire history here that would make things less painful for users?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23854</commentid>
    <comment_count>1</comment_count>
    <who name="Luke A. Guest">laguest</who>
    <bug_when>2012-08-07 15:06:36 +0000</bug_when>
    <thetext>Even after downloading the massive repository, it fails at the end of it anyway.

----
$ bitbake -c fetchall core-image-minimal
Loading cache: 100% |##############################################################################################################################################################################| ETA:  00:00:00
Loaded 1195 entries from dependency cache.
WARNING: Host distribution &quot;Debian GNU/Linux testing (wheezy)&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

Build Configuration:
BB_VERSION        = &quot;1.15.3&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;pandaboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.2+snapshot-20120807&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon cortexa9&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;master:c86d26cb976e665b1516e72153f3f686f62dedf9&quot;
meta-ti           = &quot;remotes/origin/HEAD:9bc77dff5f84578e259f8225bfa0656d94a2a60a&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 229 of 286 (ID: 247, /home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.7.bb, do_fetch)
NOTE: package gcc-cross-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9: task do_fetch: Started
WARNING: Failed to fetch URL git://github.com/mirrors/gcc.git;branch=gcc-4_7-branch;protocol=git, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command export HOME=&quot;/home/laguest&quot;; export SSH_AGENT_PID=&quot;4489&quot;; export SSH_AUTH_SOCK=&quot;/home/laguest/.cache/keyring-xBrsPv/ssh&quot;; export GIT_CONFIG=&quot;/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/etc/gitconfig&quot;; export PATH=&quot;/home/laguest/src/others/poky/poky/scripts:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi.gcc-cross-initial/crossscripts:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux/sbin:/home/laguest/src/others/poky/build/tmp/sysroots/x86_64-linux//bin:/home/laguest/src/others/poky/poky/scripts:/home/laguest/src/others/poky/poky/bitbake/bin/:/home/laguest/opt/wxWidgets/bin:/home/laguest/opt/android-sdk-linux_x86/tools:/home/laguest/opt/android-sdk-linux_x86/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/brlcad/bin:/opt/LPCXpresso/bin:/opt/LPCXpresso/tools/bin&quot;; tar -xzf /home/laguest/src/others/poky/build/downloads/git2_github.com.mirrors.gcc.git.tar.gz failed with exit code 2, output:
STDOUT: 
STDERR: 
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

ERROR: Function failed: Fetcher failure for URL: &apos;git://github.com/mirrors/gcc.git;branch=gcc-4_7-branch;protocol=git&apos;. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/laguest/src/others/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9/temp/log.do_fetch.5589
NOTE: package gcc-cross-initial-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9: task do_fetch: Failed
ERROR: Task 247 (/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.7.bb, do_fetch) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 229 tasks of which 228 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.7.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23876</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-08-08 05:35:29 +0000</bug_when>
    <thetext>I am testing a patch to move back to svn. This will let us keep the old size which is around 96M and then when 4.7.2 comes out we should switch to using tar balls + patches method may be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25575</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-24 08:46:37 +0000</bug_when>
    <thetext>Fixed in master thanks to Khem (using the release tarball now that 4.7.2 is out):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26284</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-10-05 13:11:07 +0000</bug_when>
    <thetext>Verified in master, commit: ef5dcad3e3e3c004112cfc00843727a7fda75cd2

gcc package is now downloaded via tarball:

&quot;
-SRC_URI = &quot;git://github.com/mirrors/gcc.git;branch=${BRANCH};protocol=git +SRC_URI = &quot;${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 
&quot;

&quot;bitbake gcc&quot; was successfull in master, commit: ef5dcad3e3e3c004112cfc00843727a7fda75cd2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>