From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: bitbake -b busted again?
Date: Thu, 11 Aug 2011 14:21:22 +0200 [thread overview]
Message-ID: <20110811122122.GD2214@jama.jama.net> (raw)
In-Reply-To: <1313064239.14274.414.camel@rex>
[-- Attachment #1: Type: text/plain, Size: 11208 bytes --]
On Thu, Aug 11, 2011 at 01:03:59PM +0100, Richard Purdie wrote:
> On Thu, 2011-08-11 at 08:44 +0200, Martin Jansa wrote:
> > On Wed, Aug 10, 2011 at 11:48:33AM +0100, Phil Blundell wrote:
> > > On Wed, 2011-06-29 at 16:11 +0100, Phil Blundell wrote:
> > > > Also, it does seem that "bitbake -e -b ..." really is broken. I get:
> > > >
> > > > ERROR: Command execution failed: Traceback (most recent call last):
> > > > File "/home/pb/oe/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
> > > > commandmethod(self.cmds_async, self, options)
> > > > File "/home/pb/oe/bitbake/lib/bb/command.py", line 272, in showEnvironment
> > > > command.cooker.showEnvironment(bfile)
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 259, in showEnvironment
> > > > fn = self.matchFile(buildfile)
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 753, in matchFile
> > > > matches = self.matchFiles(buildfile)
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 736, in matchFiles
> > > > filelist, masked = self.collect_bbfiles()
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in collect_bbfiles
> > > > files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 997, in <lambda>
> > > > files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
> > > > File "/home/pb/oe/bitbake/lib/bb/cooker.py", line 463, in calc_bbfile_priority
> > > > for _, _, regex, pri in self.status.bbfile_config_priorities:
> > > > AttributeError: 'NoneType' object has no attribute 'bbfile_config_priorities'
> > > >
> > > > Using an absolute path to the .bb file doesn't seem to help in this
> > > > case, and I also verified that it does build successfully without the
> > > > -e.
> > >
> > > FWIW, I just re-tested with bitbake master from today and this still
> > > seems to be broken.
> >
> > RP's patch makes -e working again, but local files are still not found
> > when used with -b. Something like ignoring FILESDIR/FILESPATH..
>
> Can you provide some further details please as I don't understand
> exactly what you mean...
Sure
.. clean ..
NOTE: Running task 2 of 2 (ID: 1, openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_cleansstate)
NOTE: package base-files-3.0.14-r69: task do_cleansstate: Started
NOTE: package base-files-3.0.14-r69: task do_cleansstate: Succeeded
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and 0 failed.
.. try to unpack some recipe with file:// in SRC_URI and -b
.. fetcher will complain that file does not exist ..
OE om-gta02@shr ~/shr-core $ bitbake -c unpack -b openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
OE Build Configuration:
BB_VERSION = "1.13.3"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "om-gta02"
DISTRO = "shr"
DISTRO_VERSION = "20110811"
TUNE_FEATURES = "armv4 thumb arm920t"
TARGET_FPU = "soft"
meta-jama = "master:c9300f537bab3cf7a6400e9a0f799f8a54559784"
meta-shr
meta-fso
meta-nokia
meta-htc
meta-palm
meta-openmoko
meta-zaurus = "master:b287197790ec4ac9ddbed185d4df1205a55531ac"
meta-oe
meta-efl
meta-gnome = "shr:c5ba433b740fdb88f1a7631fa884ea39c03df35a"
meta = "shr:fe056d9f1ebdf1b4ec5d423e2a6ea8cb7737d66c"
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (ID: 1, openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_fetch)
NOTE: package base-files-3.0.14-r69: task do_fetch: Started
ERROR: Function 'Fetcher failure for URL: 'file://rotation'. Unable to fetch URL file://rotation from any source.' failed
ERROR: Logfile of failure stored in: /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/temp/log.do_fetch.28071
Log data follows:
| ERROR: Function 'Fetcher failure for URL: 'file://rotation'. Unable to fetch URL file://rotation from any source.' failed
NOTE: package base-files-3.0.14-r69: task do_fetch: Failed
ERROR: Task 1 (openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_fetch) failed with exit code '1'
ERROR: 'openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb' failed
.. now without -b ...
OE om-gta02@shr ~/shr-core $ bitbake -c unpack base-files -v
Loading cache: 100% |#########################################################################################################################################################################################################| Time: 0:00:00
Loaded 1637 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:00:24
Parsing of 1333 .bb files complete (1320 cached, 13 parsed). 1649 targets, 55 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_nokia-layer '^/OE/shr-core/meta-smartphone/meta-nokia/'
WARNING: No bb files matched BBFILE_PATTERN_htc-layer '^/OE/shr-core/meta-smartphone/meta-htc/'
OE Build Configuration....
NOTE: Resolving any missing task queue dependencies
NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to PREFERRED_PROVIDERS
NOTE: checking PREFERRED_PROVIDER_base-files (value None) against ['base-files']
...
NOTE: checking PREFERRED_PROVIDER_expat-2.0.1-r0 (value None) against ['expat']
NOTE: selecting gcc-cross-initial to satisfy virtual/arm-oe-linux-gnueabi-gcc-initial due to PREFERRED_PROVIDERS
NOTE: Preparing runqueue
NOTE: Marking Active Tasks
NOTE: Pruned 2219 inactive tasks, 2 left
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (ID: 1, /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_fetch)
NOTE: package base-files-3.0.14-r69: task do_fetch: Started
NOTE: package base-files-3.0.14-r69: task do_fetch: Succeeded
NOTE: Running task 2 of 2 (ID: 0, /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb, do_unpack)
NOTE: package base-files-3.0.14-r69: task do_unpack: Started
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/rotation to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/nsswitch.conf to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/motd to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/inputrc to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/host.conf to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/profile to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/shells to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/fstab to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/filesystems to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/issue.net to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/issue to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/usbd to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/share/dot.bashrc to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/share/dot.profile to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/BSD to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/GPL-2 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/GPL-3 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/LGPL-2 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/LGPL-2.1 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/LGPL-3 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/GFDL-1.2 to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: Unpacking /OE/shr-core/openembedded-core/meta/recipes-core/base-files/base-files/licenses/Artistic to /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/base-files-3.0.14-r69/
NOTE: package base-files-3.0.14-r69: task do_unpack: Succeeded
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and 0 failed.
And I cannot run bitbake from any other directory then where my conf/bblayers lives
OE om-gta02@shr ~/shr-core/openembedded-core/meta/recipes-core/base-files $ bitbake -c cleansstate -b base-files_3.0.14.bb
ERROR: Unable to parse /OE/shr-core/openembedded-core/meta/recipes-core/base-files/meta-jama/conf/layer.conf: [Errno 2] No such file or directory: '/OE/shr-core/openembedded-core/meta/recipes-core/base-files/meta-jama/conf/layer.conf'
but that's maybe something wrong with my setup..
BBLAYERS = " \
${TOPDIR}/meta-jama \
...
"
OE om-gta02@shr ~/shr-core/openembedded-core/meta/recipes-core/base-files $ echo $TOPDIR
/OE/shr-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2011-08-11 12:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 14:48 bitbake -b busted again? Phil Blundell
2011-06-29 14:54 ` Phil Blundell
2011-06-29 14:55 ` Koen Kooi
2011-06-29 15:07 ` Phil Blundell
2011-06-29 15:11 ` Phil Blundell
2011-08-10 10:48 ` Phil Blundell
2011-08-10 13:26 ` Richard Purdie
2011-08-11 11:51 ` Phil Blundell
2011-08-11 6:44 ` Martin Jansa
2011-08-11 12:03 ` Richard Purdie
2011-08-11 12:21 ` Martin Jansa [this message]
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=20110811122122.GD2214@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.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.