[OE-core] [PATCH] bitbake.conf: change APACHE_MIRROR to use archive site

Martin Jansa martin.jansa at gmail.com
Wed Dec 7 07:15:16 UTC 2011


On Tue, Dec 06, 2011 at 10:24:02PM +0000, Richard Purdie wrote:
> On Tue, 2011-12-06 at 18:23 +0100, Martin Jansa wrote:
> > On Tue, Dec 06, 2011 at 07:15:57AM -0700, Chris Larson wrote:
> > > On Tue, Dec 6, 2011 at 2:28 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > > > * there are newest as well as older releases, so the SRC_URIs are valid longer
> > > > * someone with fast line should try to redownload world to see if the
> > > >  structure is the same for all projects (checked for subversion)
> > > 
> > > Would it not be better to do what we do for other projects, and add
> > > the archive URI to either the global MIRRORS for fallback, or prepend
> > > to MIRRORS in the appropriate .inc?
> > 
> > You're right, it's even there already (I didn't know).. but it didn't work for me with subversion...
> > 
> > somehow it managed to append subversion-1.7.1.tar.bz2 twice
> 
> Try:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=rpurdie/useradd4&id=1b4003386bb1849d115f9b2f90594a60fbbf56cc
> 
> We really need a regression test for that function, its horrible...

OE om-gta02 at shr ~/shr-core $ bitbake -D -b openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.1.bb -c fetch
DEBUG: Removed the following variables from the environment: PSEUDO_BINDIR, PSEUDO_LOCALSTATEDIR, LESS, LESSOPEN, PSEUDO_LIBDIR, HG, INFOPATH, SHLVL, CONFIG_PROTECT_MASK, WINDOW, EDITOR, MANPATH, BBFETCH2, LD_PRELOAD, GCC_SPECS, STY, PSEUDO_OPTS, TERMCAP, LD_LIBRARY_PATH, BUILDDIR, PSEUDO_PREFIX, LS_COLORS, PAGER, OPENGL_PROFILE
DEBUG: Clearing SRCREV cache due to cache policy of: clear
DEBUG: Using cache in '/OE/shr-core/tmp-eglibc/cache/bb_codeparser.dat' for codeparser cache
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
DEBUG: collecting .bb files
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: providers for subversion are: ['subversion']
DEBUG: selecting openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.1.bb as PREFERRED_VERSION 1.7.% of package subversion (for item subversion)
DEBUG: sorted providers for subversion are: ['openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.1.bb']

OE Build Configuration:
BB_VERSION        = "1.15.0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "om-gta02"
DISTRO            = "shr"
DISTRO_VERSION    = "20111207"
TUNE_FEATURES     = "armv4 thumb arm920t"
TARGET_FPU        = "soft"
meta-jama         = "master:9c3e2ddc68f9dc96c3a1f700226954027771aa0d"
meta-shr
meta-aurora
meta-fso          = "master:4678b2f7ff38261f6b0bb7ed34b0c25c0ad204e6"
meta-efl
meta-oe
meta-gnome
meta-gpe          = "jansa/test:c6cc32c7466cf85c9c515717afe5eb25e2d773b3"
meta-nokia
meta-htc
meta-palm
meta-openmoko
meta-samsung      = "master:4678b2f7ff38261f6b0bb7ed34b0c25c0ad204e6"
meta-handheld     = "jansa/spitz:d31a0ccb76559fbf19d7320814a4aff3dca21477"
meta              = "jansa/test:644e9c55686133a3214fb17b8501195a951d4c73"

NOTE: Preparing runqueue
NOTE: Marking Active Tasks
NOTE: Pruned 26 inactive tasks, 1 left
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))
NOTE: Executing RunQueue Tasks
DEBUG: Skip list (pre setsceneverify) []
DEBUG: Full skip list set([])
DEBUG: Using runqueue scheduler 'completion'
NOTE: Running task 1 of 1 (ID: 0, openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.1.bb, do_fetch)
NOTE: package subversion-1.7.1-r0: task do_fetch: Started
WARNING: Fetcher failure for URL: 'None'. Fetch command export HOME="/OE"; export GIT_CONFIG="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv4t-oe-linux-gnueabi:/OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/bin/crossscripts:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/sbin:/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux//bin:/OE/shr-core/openembedded-core/scripts:/OE/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.2:/OE/shr-core/openembedded-core/scripts"; /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P /OE/shr-core/downloads 'http://www.apache.org/dist/subversion/subversion-1.7.1.tar.bz2' failed with signal 8, output:

ERROR: http
ERROR: ftp
ERROR: ftp
ERROR: ftp
ERROR: ftp
ERROR: ftp
ERROR: http
ERROR: ftp
ERROR: http
ERROR: archive.apache.org
ERROR: /dist/subversion/subversion-1.7.1.tar.bz2
ERROR:
ERROR:

and now it hangs... but wget (in ps output) seems to be trying right url..

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111207/0de110cf/attachment-0002.sig>


More information about the Openembedded-core mailing list