Bug 1571

Summary: gcc-4.6.inc uses SRCREV=178924 but it's not on the sources mirror
Product: [Infrastructure] AutoBuilder Reporter: Bernhard Kaindl <bernhard.kaindl>
Component: autobuilderAssignee: Beth Flanagan <elizabeth.flanagan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: elizabeth.flanagan, infras.ab.watcher, Infras.watcher, infras.web.watcher, richard.purdie, sgw
Version: 1.0   
Target Milestone: 1.2   
Hardware: All   
OS: Multiple   
URL: http://autobuilder.yoctoproject.org/sources/
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Bernhard Kaindl 2011-10-03 10:24:23 UTC
My corporate proxy is restricted to a crippled HTTP (git://, svn@http blocked)
so all I can do is plain HTTP web server downloads, and so I got a snapshot
of today's poky-master thru cgit. Running "bitbake meta-toolchain-sdk", I saw
that meta/recipes-devtools/gcc/gcc-4.6.inc uses SRCREV=178924 but it's not on
the sources mirror, so behind such proxy, this file is needed @sources mirror.

Fetcher failure after failing to access svn over http (blocked) and the sources mirror at http://autobuilder.yoctoproject.org/sources/:

ERROR: Function 'Fetcher failure for URL: 'svn://gcc.gnu.org/svn/gcc/branches;module=gcc-4_6-branch;proto=http'. Unable to fetch URL svn://gcc.gnu.org/svn/gcc/branches;module=gcc-4_6-branch;proto=http from any source.' failed
Log data follows:
| DEBUG: Trying PREMIRRORS
| NOTE: fetch http://autobuilder.yoctoproject.org/sources/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_178924_.tar.gz
| DEBUG: executing /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /usr1/bkaindl/poky-master-ppc/Linux/downloads 'http://autobuilder.yoctoproject.org/sources/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_178924_.tar.gz'
| DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /usr1/bkaindl/poky-master-ppc/Linux/downloads 'http://autobuilder.yoctoproject.org/sources/gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_178924_.tar.gz'

Of course, the file does not exist on the sources mirror.

Using
GCCVERSION ?= "4.5.1"
SDKGCCVERSION ?= "4.5.1"
in meta/conf/distro/include/tcmode-default.inc (4.5.1 does not use SRCREV) works

It needs to be provided to support toolchain build without svn access
(like the mirrored svn mirror tarball of eglibc-2.13, which builds fine with it)

The file named "gcc-4_6-branch_gcc.gnu.org_.svn.gcc.branches_178924_.tar.gz" needs to be retrieved from an autobuilder (or other poky build) and provided at
http://autobuilder.yoctoproject.org/sources/

Similar to:
http://autobuilder.yoctoproject.org/sources/eglibc-2_13_www.eglibc.org_.svn.branches._14157_.tar.gz
Comment 1 Scott Rifenbark 2011-10-03 11:14:26 UTC
This bug is assigned to me but I don't have the technical expertise to understand it.  I need some help with it or it needs to be assigned to someone that does.
Comment 2 Saul Wold 2011-10-06 15:02:50 UTC
Bernhard, please verify that it is now fixed for you, we seem to have the files on the autobuilder machines.
Comment 3 Beth Flanagan 2011-10-06 15:32:44 UTC
Yes, this was an rsync issue. Since I jail off the autobuilder DL_DIR into autobuilder/current_sources, rsyncs need to occur to ab/pub/sources. This is now fixed on the ab.
Comment 4 Bernhard Kaindl 2011-10-07 08:06:10 UTC
I've verified that the missing file is now on the sources mirror and
I can confirm that 'bitbake meta-toolchain' from poky-master which uses gcc "4.6.1+svnr178924" completes successfully behind my proxy which blocks svn.

Thanks to everyone involved! -> Setting Status to VERIFIED