All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Poky <poky@lists.pokylinux.org>
Subject: Fetch problems with PREMIRRORS
Date: Wed, 09 Feb 2011 06:40:36 -0700	[thread overview]
Message-ID: <4D529954.4000505@mlbassoc.com> (raw)

Per Richard's suggestion, I have added this to my DISTRO.conf:

# Provide pre-staged sources
PREMIRRORS = "\
http://.*/.*   file:///work/misc/Poky/sources/ \n \
https://.*/.*   file:///work/misc/Poky/sources/ \n \
ftp://.*/.*   file:///work/misc/Poky/sources/ \n \
bzr://.*/.*   file:///work/misc/Poky/sources/ \n \
cvs://.*/.*   file:///work/misc/Poky/sources/ \n \
git://.*/.*   file:///work/misc/Poky/sources/ \n \
hg://.*/.*    file:///work/misc/Poky/sources/ \n \
osc://.*/.*   file:///work/misc/Poky/sources/ \n \
p4://.*/.*    file:///work/misc/Poky/sources/ \n \
svk://.*/.*   file:///work/misc/Poky/sources/ \n \
svn://.*/.*   file:///work/misc/Poky/sources/ \n"

The tree '/work/misc/Poky/sources' is a fully populated source
cache.

This all works great as long as the needed sources are in
the cache.  However, there seems to be no fallback if they
are not present.  I get errors like this:
| NOTE: fetch http://pokylinux.org/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
| NOTE: fetch http://autobuilder.pokylinux.org/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
| ERROR: Function 'Fetcher failure for URL: 'git://github.com/wrpseudo/pseudo.git;protocol=git'. Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any 
source.' failed
NOTE: package pseudo-native-0.0+git1+5434325fc887817ebb2bad36313d8277992cef1d-r18: task Fetcher failure for URL: 'git://github.com/wrpseudo/pseudo.git;protocol=git'. Unable to 
fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.: Failed

In order to actually fetch, I have to remove the PREMIRRORS
from my conf.

Is there some way to get it to use the source cache but
still fetch when needed?

Thanks

Note: I also normally have BB_NO_NETWORK="1", but that is not
applicable here (no message about it) and setting it false does
not change the behaviour.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2011-02-09 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 13:40 Gary Thomas [this message]
2011-02-10 14:03 ` Fetch problems with PREMIRRORS Richard Purdie
2011-02-10 14:51   ` Gary Thomas
2011-02-11 21:54     ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D529954.4000505@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.