[oe] [oe-commits] org.oe.dev conf/distro/include/angstrom-2007-preferred-versions.inc: add file for locking down almost every package

Koen Kooi k.kooi at student.utwente.nl
Fri Oct 19 12:21:27 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pHilipp Zabel schreef:
> On 10/19/07, koen commit <openembedded-commits at lists.openembedded.org> wrote:
>> conf/distro/include/angstrom-2007-preferred-versions.inc: add file for locking down almost every package
>>
>> ** THIS WILL BE INCLUDED SOON -- REVIEW IT!!! **
> [...]
>> +PREFERRED_VERSION_bochs ?="2.1"
>> +PREFERRED_VERSION_bogofilter ?="0.96.0"
>> +PREFERRED_VERSION_bonnie ?=""
> 
> bonnie++ ?
> 
> [...]
>> +PREFERRED_VERSION_dbus ?="1.0.2"
>> +PREFERRED_VERSION_dbus-c ?=""
>> +PREFERRED_VERSION_dbus-c ?=""
> 
> dbus-c++ ?

yeah, it breaks on any PV with a '+' in it :(

Incidentally, it also uncovers a bitbake bug:

Traceback (most recent call last):
  File "/data/build/oe/bitbake/bin/bitbake", line 134, in <module>
    main()
  File "/data/build/oe/bitbake/bin/bitbake", line 131, in main
    cooker.cook()
  File "/data/build/oe/bitbake/lib/bb/cooker.py", line 565, in cook
    return self.buildTargets(pkgs_to_build)
  File "/data/build/oe/bitbake/lib/bb/cooker.py", line 470, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File "/data/build/oe/bitbake/lib/bb/taskdata.py", line 509, in
add_unresolved
    self.add_provider_internal(cfgData, dataCache, target)
  File "/data/build/oe/bitbake/lib/bb/taskdata.py", line 360, in
add_provider_internal
    eligible, foundUnique = bb.providers.filterProviders(all_p, item,
cfgData, dataCache)
  File "/data/build/oe/bitbake/lib/bb/providers.py", line 254, in
filterProviders
    eligible = _filterProviders(providers, item, cfgData, dataCache)
  File "/data/build/oe/bitbake/lib/bb/providers.py", line 231, in
_filterProviders
    newver = "%s-%s" % (newvers[1], newvers[2])
IndexError: string index out of range


for thing like wirelesstool ('28') and jpeg '6b', it seems to access teh
nevers[] array out of bounds.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHGKFHMkyGM64RGpERAk0hAKC3MfD/V0ZRBdHwocdY+fKteQzkuACgux/w
09gGusFRO78mVxdWGFtvc3s=
=q2Dj
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list