[yocto] fetch log file errors

Robert P. J. Day rpjday at crashcourse.ca
Wed Jun 27 06:41:45 PDT 2012


On Wed, 27 Jun 2012, Martin Jansa wrote:

> On Wed, Jun 27, 2012 at 09:30:59AM -0400, Robert P. J. Day wrote:
> >
> >   here's the log file for one of the tarballs that should have been
> > fetched from my local mirror:
> >
> > DEBUG: Executing python function do_fetch
> > DEBUG: Executing python function base_do_fetch
> > DEBUG: Trying PREMIRRORS
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['svk', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['p4', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['osc', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['https?$', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: For url ['http', 'downloads.yoctoproject.org', '/releases/gnu-config/gnu-config-yocto-20111111.tgz', '', '', {}] comparing ['ftp', '.*', '/.*', '', '', {}] to ['file', '', '/home/rpjday/dl/', '', '', {}]
> > DEBUG: Trying Upstream
> > NOTE: fetch http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-yocto-20111111.tgz
> > DEBUG: executing /usr/bin/env wget  -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/rpjday/yocto/builds/bbc4/downloads 'http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-yocto-20111111.tgz'
> > DEBUG: Python function base_do_fetch finished
> > DEBUG: Python function do_fetch finished
> > ERROR: Function failed: Network access disabled through BB_NO_NETWORK but access requested with command /usr/bin/env wget  -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/rpjday/yocto/builds/bbc4/downloads 'http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-yocto-20111111.tgz' (for url None)
> >
> >   not sure what i should be seeing here, and i can guarantee that the
> > tarball gnu-config-yocto-20111111.tgz is in my ~/dl directory, as are
> > numerous others that are now being fetched from the net rather than my
> > local mirror.
>
> see
> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024465.html

  ok, and since my entire premirrors definition consists of:

SOURCE_MIRROR_URL ?= "file:///home/rpjday/dl/"
INHERIT += "own-mirrors"
BB_GENERATE_MIRROR_TARBALLS = "1"

this suggests that own-mirrors.bbclass needs to be updated, no?  i'm
not manually supplying the mirror wildcard patterns so this isn't
something i can adjust in my own local.conf file.  what am i
misunderstanding here?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list