Bug 1793 - bitbake -e doesn't work with combination with -b virtual:native:path/to/foo_1.0.bb
Summary: bitbake -e doesn't work with combination with -b virtual:native:path/to/foo_1...
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-30 04:14 UTC by Martin Jansa
Modified: 2011-12-01 15:15 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jansa 2011-11-30 04:14:30 UTC
It was working a while back, now I've tried it and it fails like this:

OE om-gta02@shr ~/shr-core $ bitbake -e -b virtual:native:/OE/shr-core/openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.3.bb
ERROR: Unable to match virtual:native:/OE/shr-core/openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.3.bb (0 matches found):
ERROR: Command execution failed: Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 101, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 308, in showEnvironment
    command.cooker.showEnvironment(bfile)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 292, in showEnvironment
    fn = self.matchFile(buildfile)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 957, in matchFile
    raise MultipleMatches
MultipleMatches

the same with relative path after virtual:native:
OE om-gta02@shr ~/shr-core $ bitbake -e -b virtual:native:openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.3.bb
ERROR: Unable to match virtual:native:openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.3.bb (0 matches found):
ERROR: Command execution failed: Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 101, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/usr/lib64/python2.7/site-packages/bb/command.py", line 308, in showEnvironment
    command.cooker.showEnvironment(bfile)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 292, in showEnvironment
    fn = self.matchFile(buildfile)
  File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 957, in matchFile
    raise MultipleMatches
MultipleMatches

path in -b without 'virtual:native:' works fine
OE om-gta02@shr ~/shr-core $ bitbake -e -b openembedded-core/meta/recipes-gnome/gnome/gconf_3.2.3.bb

I've tried to revert commit
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9d4f95587424c9e2d3ef7891c8ac7007f8db1f00
from #1465, but still it doesn't work.

And this is also slightly related to #1141.