[oe-commits] [Bug 5489] New: conf/machine/native.conf 's ASSUME_PROVIDED += "virtual/g++" breaks bitbake
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Tue Nov 23 10:59:41 UTC 2010
show_bug.cgi?id=5489
Summary: conf/machine/native.conf 's ASSUME_PROVIDED +=
"virtual/g++" breaks bitbake
Product: Openembedded
Version: unspecified
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P5
Component: Devices
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: nyrl at mail.ru
Estimated Hours: 0.0
conf/machine/native.conf contains line
ASSUME_PROVIDED += "virtual/gcc-initial virtual/gcc-intermediate virtual/gcc
virtual/g++"
which seems to break bitbake with the following message:
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/command.py", line 88, in
runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/command.py", line 184, in
buildTargets
command.cooker.buildTargets(pkgs_to_build, task)
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/cooker.py", line 741, in
buildTargets
taskdata.add_provider(localdata, self.status, k)
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/taskdata.py", line 357, in
add_provider
self.add_provider_internal(cfgData, dataCache, item)
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/taskdata.py", line 372, in
add_provider_internal
if re_match_strings(item, dataCache.ignored_dependencies):
File "/home/nyrl/omapl138-oe/bitbake/lib/bb/taskdata.py", line 40, in
re_match_strings
re.search(name, target)!=None):
File "/usr/lib/python2.6/re.py", line 142, in search
return _compile(pattern, flags).search(string)
File "/usr/lib/python2.6/re.py", line 245, in _compile
raise error, v # invalid expression
error: multiple repeat
It seems that bitbake expects regexp for each entry in ASSUME_PROVIDED, and
"virtual/g++" is considered invalid regexp. I tried escaping '+' and it seems
to work.
I am not sure whether it is native.conf's fault or bitbake should not treat
entries as regexp.
openembedded: git://git.openembedded.org/openembedded , "master" branch.
bitbake: git://git.openembedded.org/bitbake , "master" branch.
Both up to date at this moment.
--
Configure bugmail: userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list