All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: meta-ti mailing list <meta-ti@yoctoproject.org>,
	bitbake-devel@lists.openembedded.org,
	openembedded-core@lists.openembedded.org
Subject: Re: [meta-ti] building for pandaboard fails fetching u-boot *way* into the build phase
Date: Tue, 20 Nov 2012 12:16:30 -0500	[thread overview]
Message-ID: <20121120171630.GA19309@denix.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1211201114100.29485@oneiric>

On Tue, Nov 20, 2012 at 11:24:20AM -0500, Robert P. J. Day wrote:
> 
>   i'm sure there's a trivial workaround/explanation for this, but i
> wanted to build the basic meta-ti based build for my panda ES, so i
> started with oe-core and added the meta-ti layer.  then, because of
> some license issues (and based on a quick google search), i added this
> to my local.conf:
> 
>   BBMASK = "meta-ti/recipes-misc"
> 
> at that point, after selecting "pandaboard" as the machine, i wanted
> to prefetch everything:
> 
> $ bitbake -c fetchall core-image-minimal
> 
> which used solely my pre-mirror directory so that didn't take long.
> 
>   *then*, because i allegedly had fetched everything i needed for the
> build, i edited my site.conf file and added:
> 
> BB_NO_NETWORK = "1"
> 
> which, AIUI, should be perfectly safe since i had just done a
> fetchall.  not so:
> 
> ERROR: Function failed: Network access disabled through BB_NO_NETWORK
> but access requested with command git clone --bare --mirror
> git://www.denx.de/git/u-boot.git
> /home/rpjday/y/builds/ti/panda/downloads/git2/www.denx.de.git.u-boot.git
> (for url None)
> ERROR: Logfile of failure stored in:
> /home/rpjday/y/builds/ti/panda/tmp-eglibc/work/pandaboard-oe-linux-gnueabi/u-boot-2011.12-r8/temp/log.do_fetch.29635
> 
> hmmmmmm ...
> 
> $ bitbake -s | grep u-boot
> nativesdk-u-boot-mkimage                          :2011.06-r0
> u-boot                                            :2011.12-r8
> u-boot-fw-utils                                   :2011.06-r1
> u-boot-mkimage                                    :2011.06-r0
> u-boot-mkimage-native                             :2011.06-r0
> $
> 
>   ok, now i'm confused.  the above suggests that the version of u-boot
> to be used here is 2011.12-r8, but that was never fetched, and it's
> only now toward the end of the build that the fetch is attempted.
> 
>   can someone clarify what's happening here?  why did my "fetchall"
> operation not fetch everything the build was going to need?

Is that because u-boot is not in a standard DEPENDS/RDEPENDS dependency tree, 
but rather in EXTRA_IMAGEDEPENDS list? I'm copying bitbake and oe-core lists, 
as I don't think it's meta-ti specific issue - u-boot recipe looks fine.

-- 
Denys



WARNING: multiple messages have this Message-ID (diff)
From: Denys Dmytriyenko <denis@denix.org>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: meta-ti mailing list <meta-ti@yoctoproject.org>,
	bitbake-devel@lists.openembedded.org,
	openembedded-core@lists.openembedded.org
Subject: Re: building for pandaboard fails fetching u-boot *way* into the build phase
Date: Tue, 20 Nov 2012 12:16:30 -0500	[thread overview]
Message-ID: <20121120171630.GA19309@denix.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1211201114100.29485@oneiric>

On Tue, Nov 20, 2012 at 11:24:20AM -0500, Robert P. J. Day wrote:
> 
>   i'm sure there's a trivial workaround/explanation for this, but i
> wanted to build the basic meta-ti based build for my panda ES, so i
> started with oe-core and added the meta-ti layer.  then, because of
> some license issues (and based on a quick google search), i added this
> to my local.conf:
> 
>   BBMASK = "meta-ti/recipes-misc"
> 
> at that point, after selecting "pandaboard" as the machine, i wanted
> to prefetch everything:
> 
> $ bitbake -c fetchall core-image-minimal
> 
> which used solely my pre-mirror directory so that didn't take long.
> 
>   *then*, because i allegedly had fetched everything i needed for the
> build, i edited my site.conf file and added:
> 
> BB_NO_NETWORK = "1"
> 
> which, AIUI, should be perfectly safe since i had just done a
> fetchall.  not so:
> 
> ERROR: Function failed: Network access disabled through BB_NO_NETWORK
> but access requested with command git clone --bare --mirror
> git://www.denx.de/git/u-boot.git
> /home/rpjday/y/builds/ti/panda/downloads/git2/www.denx.de.git.u-boot.git
> (for url None)
> ERROR: Logfile of failure stored in:
> /home/rpjday/y/builds/ti/panda/tmp-eglibc/work/pandaboard-oe-linux-gnueabi/u-boot-2011.12-r8/temp/log.do_fetch.29635
> 
> hmmmmmm ...
> 
> $ bitbake -s | grep u-boot
> nativesdk-u-boot-mkimage                          :2011.06-r0
> u-boot                                            :2011.12-r8
> u-boot-fw-utils                                   :2011.06-r1
> u-boot-mkimage                                    :2011.06-r0
> u-boot-mkimage-native                             :2011.06-r0
> $
> 
>   ok, now i'm confused.  the above suggests that the version of u-boot
> to be used here is 2011.12-r8, but that was never fetched, and it's
> only now toward the end of the build that the fetch is attempted.
> 
>   can someone clarify what's happening here?  why did my "fetchall"
> operation not fetch everything the build was going to need?

Is that because u-boot is not in a standard DEPENDS/RDEPENDS dependency tree, 
but rather in EXTRA_IMAGEDEPENDS list? I'm copying bitbake and oe-core lists, 
as I don't think it's meta-ti specific issue - u-boot recipe looks fine.

-- 
Denys


  reply	other threads:[~2012-11-20 18:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 16:24 building for pandaboard fails fetching u-boot *way* into the build phase Robert P. J. Day
2012-11-20 17:16 ` Denys Dmytriyenko [this message]
2012-11-20 17:16   ` Denys Dmytriyenko
2012-11-20 17:34   ` [meta-ti] " Robert P. J. Day
2012-11-20 17:34     ` Robert P. J. Day
2012-11-20 17:48     ` [meta-ti] " Denys Dmytriyenko
2012-11-20 17:48       ` Denys Dmytriyenko
2012-11-20 17:55       ` [meta-ti] " Robert P. J. Day
2012-11-20 17:55         ` Robert P. J. Day
2012-12-11 17:23         ` [meta-ti] " Richard Purdie
2012-12-11 17:23           ` [bitbake-devel] " Richard Purdie
2012-12-11 17:23           ` [bitbake-devel] [meta-ti] " 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=20121120171630.GA19309@denix.org \
    --to=denis@denix.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=meta-ti@yoctoproject.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=rpjday@crashcourse.ca \
    /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.