From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by mx1.pokylinux.org (Postfix) with ESMTP id 812BD4C80053 for ; Wed, 9 Feb 2011 07:40:39 -0600 (CST) Received: by mail.chez-thomas.org (Postfix, from userid 999) id 0573916602CE; Wed, 9 Feb 2011 06:40:39 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.1 Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 73E96166027C; Wed, 9 Feb 2011 06:40:36 -0700 (MST) Message-ID: <4D529954.4000505@mlbassoc.com> Date: Wed, 09 Feb 2011 06:40:36 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: Poky Subject: Fetch problems with PREMIRRORS X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 13:40:39 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ------------------------------------------------------------