Skip to contentSkip to conversation

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

oe-commits pHilipp Zabel 3 participants 4 messages Oct 19, 2007 – Oct 21, 2007 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · koen commit

conf/distro/include/angstrom-2007-preferred-versions.inc: add file for locking down almost every package

** THIS WILL BE INCLUDED SOON -- REVIEW IT!!! **

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+PREFERRED_VERSION_bochs ?="2.1"
+PREFERRED_VERSION_bogofilter ?="0.96.0"
+PREFERRED_VERSION_bonnie ?=""

bonnie++ ?

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+PREFERRED_VERSION_dbus ?="1.0.2"
+PREFERRED_VERSION_dbus-c ?=""
+PREFERRED_VERSION_dbus-c ?=""

dbus-c++ ?

regards
Philipp

#2 lore raw

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

pHilipp Zabel schreef:

Quoted 11 lines · koen commit
Quoted 3 lines

conf/distro/include/angstrom-2007-preferred-versions.inc: add file for locking down almost every package

** THIS WILL BE INCLUDED SOON -- REVIEW IT!!! **

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+PREFERRED_VERSION_bochs ?="2.1"
+PREFERRED_VERSION_bogofilter ?="0.96.0"
+PREFERRED_VERSION_bonnie ?=""

bonnie++ ?

Quoted 6 lines

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+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-----

#3 lore raw

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

Koen Kooi schreef:

Quoted 11 lines

pHilipp Zabel schreef:

Quoted 9 lines · koen commit
Quoted 3 lines

conf/distro/include/angstrom-2007-preferred-versions.inc: add file for locking down almost every package

** THIS WILL BE INCLUDED SOON -- REVIEW IT!!! **

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+PREFERRED_VERSION_bochs ?="2.1"
+PREFERRED_VERSION_bogofilter ?="0.96.0"
+PREFERRED_VERSION_bonnie ?=""

bonnie++ ?

Quoted 7 lines
Quoted 5 lines

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+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 :(

PN that is

/me gets some more coffee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHGLHjMkyGM64RGpERAkWgAKCc+y3nDH6mN9Fggir421CBFEwWNACgh30G tGSGKxsXsAviiY0HSeT/f0w=
=xiw9
-----END PGP SIGNATURE-----

#4 lore raw

Re: [oe-commits] org.oe.dev conf/distro/include/angstrom-2007-preferred-versions.inc: add

In reply to Koen Kooi
Quoted 8 lines · Koen Kooi
Quoted 6 lines

[...]

Review

Quoted 3 lines
(quoted diff) +3 -0
+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 :(

Can you give an example? I can't seem to break that here...

Quoted 23 lines

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

Quoted 6 lines
    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.

Hopefully this and a raft of other bugs (like the weird bitbake -s output) should be fixed now.

Cheers,

Richard