From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by mx1.pokylinux.org (Postfix) with ESMTP id CE5164C800FB for ; Tue, 14 Jun 2011 15:00:41 -0500 (CDT) Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1QWZmz-0006DG-5B from Tom_Rini@mentor.com ; Tue, 14 Jun 2011 13:00:41 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 14 Jun 2011 12:56:01 -0700 Received: from [172.30.80.132] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Tue, 14 Jun 2011 13:00:39 -0700 Message-ID: <4DF7BDDB.8080006@mentor.com> Date: Tue, 14 Jun 2011 13:00:27 -0700 From: Tom Rini Organization: Mentor Graphics Corporation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Richard Purdie References: <4DF7B675.6050304@linux.intel.com> <4DF7B8B2.7050709@mentor.com> <1308081169.15712.351.camel@rex> In-Reply-To: <1308081169.15712.351.camel@rex> X-Enigmail-Version: 1.1.1 X-OriginalArrivalTime: 14 Jun 2011 19:56:01.0782 (UTC) FILETIME=[164EB160:01CC2ACD] Cc: poky@yoctoproject.org Subject: Re: bernard-5.0.1, poky-image-lsb, beagle, build error 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: Tue, 14 Jun 2011 20:00:42 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On 06/14/2011 12:52 PM, Richard Purdie wrote: > On Tue, 2011-06-14 at 12:38 -0700, Tom Rini wrote: >> On 06/14/2011 12:28 PM, Saul Wold wrote: >>> On 06/14/2011 11:20 AM, Robert Berger wrote: >>>> Hi, >>>> >>>> I hit a build error with the tag: bernard-5.0.1 >>>> while trying to build poky-image-lsb, which failed, because psmisc could >>>> not be downloaded. >>>> >>>> I fixed it like this: >>>> >>>> diff --git a/meta/recipes-extended/psmisc/psmisc.inc >>>> b/meta/recipes-extended/psmisc/psmisc.inc >>>> index 8b391f4..460affc 100644 >>>> --- a/meta/recipes-extended/psmisc/psmisc.inc >>>> +++ b/meta/recipes-extended/psmisc/psmisc.inc >>>> @@ -10,8 +10,9 @@ SECTION = "base" >>>> PRIORITY = "required" >>>> DEPENDS = "ncurses virtual/libintl" >>>> >>>> -SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz \ >>>> +SRC_URI = >>>> "${SOURCEFORGE_MIRROR}/project/psmisc/psmisc/${PV}/psmisc-${PV}.tar.gz \ >>>> file://libintl-link.patch;patch=1" >>>> + >>>> S = "${WORKDIR}/psmisc-${PV}" >>>> >>>> This means that the tag bernard-5.0.1 does not build anymore for the >>>> beagle and most likely other platforms won't build as well out of the >>>> box. >>>> >>>> That's just a small issue, but my problem is more generic. >>>> >>>> Assuming someone makes a distro based on a tag e.g. bernard-5.0.1 and >>>> wants to rebuild this distro in a year from now. >>>> >>>> Packages might have disappeared, or in best case just the URLs changed. >>>> In any case the distro will not build anymore out of the box. >>>> >>>> I would ideally like to be able to reproduce exactly what I have in a >>>> couple of years from now, which seems impossible due to dependencies >>>> external to poky which are not controlled by this community. >>>> >>>> I could come up with a solution, where local copies of packages are kept >>>> e.g. in a local download directory, but this would mean, that I'll need >>>> to build and test all possible platforms just after the releases (where >>>> everything still works) and not when I'll actually need them. >>>> >>>> What's the best way to deal with this? >>>> >>> Robert, >>> >>> This is a know problem with Upstream sources moving, dropping older >>> versions or just doing strange behavior. >>> >>> Currently, if you have MIRRORS, it should pick up the original upstream >>> source tarball from http://autobuilder.yoctoprojecto.org/sources, if you >>> want to avoid checking any upstream source, you can set >>> PREMIRRORS_prepend for ftp, http, and https URLs to the >>> autobuilder/sources location. This location should maintain all tarballs >>> for releases. >>> >>> We had a similar problem with distcc right about the time we released >>> 5.0.1! >>> >>> You can use a local solution also with PREMIRRORS_prepend, as well as >>> setting the BB_NO_NETWORK, which will force bitbake to not look on the >>> network for any upstreams, this assumes you have everything preloaded >>> locally. >>> >>> Let us know if this is what you are looking for. >> >> I'd suggest making poky look at a poky-mirror as a "last resort" mirror >> by default (similar to angstrom and angstrom-mirror.bbclass), at least >> for release branches. > > What worries me is that it should be doing this by default. The question > is therefore why isn't that working? Is that source on the sources > mirror? Fall-out from the IP change right now? Or webserver needs a restart? Chrome isn't connecting atm and I have the same IP as the LF servers say... -- Tom Rini Mentor Graphics Corporation