Skip to contentSkip to conversation

Perl 5.10.1 and a bunch of modules

RFC/PATCH In review Roman I Khimov 6 participants 24 messages Mar 18, 2010 – Mar 25, 2010

lore
Share & tools
lore
#0 lore raw

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#1 lore raw

2010/3/18 Roman I Khimov <[email protected]>:

Quoted 10 lines

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

Nice work Roman!
Any particular reason not to go to 5.11?

BTW had some issues with perl in the past where it came to path's (in perl-config or something like that).
Also I'm not sure whether all the native recipes we have now are really needed. Perhaps the new staging will take care of that. Do you have any idea?

Frans.

#2 lore raw

В сообщении от Четверг 18 марта 2010 22:36:57 автор Frans Meulenbroeks написал:

Quoted 7 lines

2010/3/18 Roman I Khimov <[email protected]>:

Quoted 6 lines

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

Quoted 5 lines
Quoted 3 lines

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

Nice work Roman!

Thanks.

Quoted 1 line

Any particular reason not to go to 5.11?

AFAIK, 5.11 is development branch and we're more interested in stable.

Quoted 3 lines

Also I'm not sure whether all the native recipes we have now are really
needed. Perhaps the new staging will take care of that. Do you have any idea?

Most of -native were converted to BBCLASSEXTEND and those are at least harmless, I think. And then some modules check for dependencies when configuring, so -native version is needed for those checks to succeed.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#4 lore raw
In reply to Roman I Khimov

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

Quoted 9 lines · Roman I Khimov

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

Do these include the poky tweaks to make new-style staging work (needs cpan changes as well iirc)?

regards,

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

iD8DBQFLoo1LMkyGM64RGpERAjowAKCGmzq0A+uxg7jbfi+P8n4MMn253gCeIHmo ybvoQBgcdGq/ENNmBvxq0yk=
=ZrAB
-----END PGP SIGNATURE-----

#5 lore raw

В сообщении от Четверг 18 марта 2010 23:30:03 автор Koen Kooi написал:

Quoted 7 lines · Roman I Khimov
Quoted 6 lines

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

Quoted 6 lines
Quoted 3 lines

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

Do these include the poky tweaks to make new-style staging work (needs cpan changes as well iirc)?

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e540288a56a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#6 lore raw

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov написал:

Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e540288a5
6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can
do a rebase of my patchset.

Actually, the better sequence is
* drop 5.8.4 and 5.8.7
* bring in staging changes
* bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#7 lore raw

В сообщении от Пятница 19 марта 2010 00:04:30 автор Roman I Khimov написал:

Quoted 8 lines

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov написал:

Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e540288
a5 6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Quoted 6 lines

Actually, the better sequence is
* drop 5.8.4 and 5.8.7
* bring in staging changes
* bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Updated rik/perl-5.10 branch with removal patch, please ACK.

BTW, if it's not intentional, the commit mentioned above has a bug in cpan- base in

- if is_new_perl(d) == "yes":
- libdirs = libdir + '/perl5'
- else:
- libdirs = libdir + '/*/*/perl5'
+ libdirs = libdir + '/*/*/perl5'

Shouldn't it be

+ libdirs = libdir + '/perl5'

as we're left with new perl only?

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#8 lore raw

В сообщении от Пятница 19 марта 2010 00:23:25 автор Roman I Khimov написал:

Quoted 2 lines

В сообщении от Пятница 19 марта 2010 00:04:30 автор Roman I Khimov написал:

Quoted 1 line

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov

написал:

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e5402
88 a5 6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Quoted 8 lines
Quoted 6 lines

Actually, the better sequence is
* drop 5.8.4 and 5.8.7
* bring in staging changes
* bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Updated rik/perl-5.10 branch with removal patch, please ACK.

Tried to compile for arm, succeeded with perl, discovered and fixed some problems in modules. Updated the branch.

I think I need some ACK's for dusty old Perl versions removal and then Richard's Perl staging update could be merged better on top of that (CC'ing Richard) and than I'll update 5.10.1 to new staging and push the series. At least, that's how I think it should be. If there are any problems with staging update and it's not ready to be pushed in OE.dev, I think we can merge 5.10.1 as it is now.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#9 lore raw
Quoted 23 lines · Roman I Khimov

В сообщении от Пятница 19 марта 2010 00:23:25 автор Roman I Khimov написал:

Quoted 2 lines

В сообщении от Пятница 19 марта 2010 00:04:30 автор Roman I Khimov написал:

Quoted 1 line

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov

написал:

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e5402
88 a5 6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Quoted 8 lines
Quoted 6 lines

Actually, the better sequence is
* drop 5.8.4 and 5.8.7
* bring in staging changes
* bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Updated rik/perl-5.10 branch with removal patch, please ACK.

Tried to compile for arm, succeeded with perl, discovered and fixed some problems in modules. Updated the branch.

Quoted 7 lines

I think I need some ACK's for dusty old Perl versions removal and then Richard's Perl staging update could be merged better on top of that (CC'ing Richard) and than I'll update 5.10.1 to new staging and push the series. At least, that's how I think it should be. If there are any problems with staging update and it's not ready to be pushed in OE.dev, I think we can merge 5.10.1 as it is now.

For removal of old perl versions

Acked-by
#10 lore raw

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

Quoted 31 lines · Graeme Gregory
Quoted 23 lines · Roman I Khimov

В сообщении от Пятница 19 марта 2010 00:23:25 автор Roman I Khimov написал:

Quoted 2 lines

В сообщении от Пятница 19 марта 2010 00:04:30 автор Roman I Khimov написал:

Quoted 1 line

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov

написал:

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e5402
88 a5 6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Quoted 8 lines
Quoted 6 lines

Actually, the better sequence is
* drop 5.8.4 and 5.8.7
* bring in staging changes
* bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Updated rik/perl-5.10 branch with removal patch, please ACK.

Tried to compile for arm, succeeded with perl, discovered and fixed some problems in modules. Updated the branch.

Quoted 7 lines

I think I need some ACK's for dusty old Perl versions removal and then Richard's Perl staging update could be merged better on top of that (CC'ing Richard) and than I'll update 5.10.1 to new staging and push the series. At least, that's how I think it should be. If there are any problems with staging update and it's not ready to be pushed in OE.dev, I think we can merge 5.10.1 as it is now.

Quoted 3 lines

For removal of old perl versions

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

iD8DBQFLo/70MkyGM64RGpERAixEAJwJOkgBATjeiofMEyyZGpH4WhMk8ACeMn2t 4wFDmIwNNd1tgnO0Syx94dE=
=Vzni
-----END PGP SIGNATURE-----

#11 lore raw
In reply to Graeme Gregory

2010/3/19 Graeme Gregory <[email protected]>:

Quoted 31 lines · Roman I Khimov
Quoted 23 lines

В сообщении от Пятница 19 марта 2010 00:23:25 автор Roman I Khimov написал:

Quoted 2 lines

В сообщении от Пятница 19 марта 2010 00:04:30 автор Roman I Khimov написал:

Quoted 1 line

В сообщении от Четверг 18 марта 2010 23:47:01 автор Roman I Khimov

написал:

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

No. You mean, this one?
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=ca5f36ee6ad756e1e5402
88 a5 6a504c1d8ecc7a3

Looks like a good thing to have, so if Richard will push it to OE.dev I can do a rebase of my patchset.

Quoted 8 lines
Quoted 6 lines

Actually, the better sequence is
 * drop 5.8.4 and 5.8.7
 * bring in staging changes
 * bring in 5.10.1

I'll prepare 5.8.4/5.8.7 removal patch.

Updated rik/perl-5.10 branch with removal patch, please ACK.

Tried to compile for arm, succeeded with perl, discovered and fixed some problems in modules. Updated the branch.

Quoted 7 lines

I think I need some ACK's for dusty old Perl versions removal and then Richard's Perl staging update could be merged better on top of that (CC'ing Richard) and than I'll update 5.10.1 to new staging and push the series. At least, that's how I think it should be. If there are any problems with staging update and it's not ready to be pushed in OE.dev, I think we can merge 5.10.1 as it is now.

Quoted 3 lines

For removal of old perl versions

For removal of old perl versions

#12 lore raw
In reply to Roman I Khimov

В сообщении от Суббота 20 марта 2010 00:05:35 автор Roman I Khimov написал:

Quoted 6 lines

I think I need some ACK's for dusty old Perl versions removal and then Richard's Perl staging update could be merged better on top of that (CC'ing Richard) and than I'll update 5.10.1 to new staging and push the series. At least, that's how I think it should be. If there are any problems with
staging update and it's not ready to be pushed in OE.dev, I think we can merge 5.10.1 as it is now.

OK, I think I'm pushing 5.10.1 as is some hours later and Richard could port his staging changes when ready.

#13 lore raw
In reply to Roman I Khimov

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

Quoted 9 lines · Roman I Khimov

Hello all.

As perl 5.10.1 is a big patch by itself and series overall is 42 patches and I don't want to banned from list for spam ;), I've commited that to the "rik/perl-5.10" branch of OE repo.

In general, the most interesting and the most requiring review are the first 4, all the other are just various modules. So, please review/try/test/ack/nack.

As a generic remark, can we have a master include file for INC_PR so perl modules get rebuilt automagically when something in perl changes?

regards,

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

iD8DBQFLpOCMMkyGM64RGpERAn8PAJoCMVWaoefI8VeIZ8YosvCvXH9zgACfdI1c I7z6bOfRPTfVylgVRCw2T8s=
=IO0Q
-----END PGP SIGNATURE-----

#14 lore raw

В сообщении от Суббота 20 марта 2010 17:49:49 автор Koen Kooi написал:

Quoted 2 lines

As a generic remark, can we have a master include file for INC_PR so perl modules get rebuilt automagically when something in perl changes?

Not sure how to do it best. Perl-only modules should survive most of version bumps (BTW, we could handle those better with 'PACKAGE_ARCH = "all"'), modules with binary components should work within patchlevel range (like 5.8.7 -> 5.8.8). Of course it's only if we're not changing Perl build itself in some strange way, but I doubt that.

So, we could probably add Perl version to the PV, thus allowing perl PR bumps and rebuilding on version change. That could be made dependent on PACKAGE_ARCH, so that Perl-only modules wouldn't be touched at all.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#15 lore raw

PATCH 1/44 cpan-base: add perl version to PR

Makes perl modules rebuild on perl version change, since binary compatibility could be broken with that (although perl itself tries to maintain it within patchlevel range, like 5.8.7 -> 5.8.8).

This is conditional on PACKAGE_ARCH, since there is nothing to rebuild for pure perl modules (and those should use 'PACKAGE_ARCH = "all"') even if they break with perl version change.

This also should ease transition to perl 5.10.1.

---
 classes/cpan-base.bbclass |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
classes/cpan-base.bbclass +8 -0
index 8eb173e..1c77c9b 100644
@@ -35,6 +35,14 @@ def is_target(d):
         return "yes"
     return "no"
 
+def perl_get_version_suffix(d):
+	if bb.data.expand('${PACKAGE_ARCH}', d) != "all":
+		return '-' + get_perl_version(d)
+	else:
+		return ''
+
+PR .= "${@perl_get_version_suffix(d)}"
+
 PERLLIBDIRS = "${@perl_get_libdirs(d)}"
 
 FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
Signature · 1 line
1.6.4.2
#16 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

В сообщении от Среда 24 марта 2010 00:51:08 вы написали:

Quoted 9 lines

Makes perl modules rebuild on perl version change, since binary
compatibility could be broken with that (although perl itself tries to maintain it within patchlevel range, like 5.8.7 -> 5.8.8).

This is conditional on PACKAGE_ARCH, since there is nothing to rebuild for pure perl modules (and those should use 'PACKAGE_ARCH = "all"') even if
they break with perl version change.

This also should ease transition to perl 5.10.1.

OK to push? I've realized yesterday that without it or similar thing many binary modules would be broken when someone would try to use 5.10.1 and manual cleaning and rebuilding a ton of perl modules is no fun.

#17 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

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

Quoted 5 lines · Roman I Khimov

В сообщении от Среда 24 марта 2010 00:51:08 вы написали:

Quoted 4 lines

Makes perl modules rebuild on perl version change, since binary
compatibility could be broken with that (although perl itself tries to maintain it within patchlevel range, like 5.8.7 -> 5.8.8).

Quoted 7 lines
Quoted 5 lines

This is conditional on PACKAGE_ARCH, since there is nothing to rebuild for pure perl modules (and those should use 'PACKAGE_ARCH = "all"') even if
they break with perl version change.

This also should ease transition to perl 5.10.1.

OK to push?

Yes

Quoted 3 lines

I've realized yesterday that without it or similar thing many binary modules would be broken when someone would try to use 5.10.1 and manual cleaning and rebuilding a ton of perl modules is no fun.

And manually bumping PR as well, which is why I asked for this :)

regards,

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

iD8DBQFLqjk4MkyGM64RGpERAtHuAJ9UNAvsTQJcRG8stOt0zXI5TeWjzQCeOC2J HSypchX1JCQ3Uj6nexlelYs=
=aSbz
-----END PGP SIGNATURE-----

#18 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

В сообщении от Среда 24 марта 2010 19:09:28 автор Koen Kooi написал:

Quoted 10 lines · Roman I Khimov
Quoted 9 lines

В сообщении от Среда 24 марта 2010 00:51:08 вы написали:

Quoted 8 lines

Makes perl modules rebuild on perl version change, since binary
compatibility could be broken with that (although perl itself tries to maintain it within patchlevel range, like 5.8.7 -> 5.8.8).

This is conditional on PACKAGE_ARCH, since there is nothing to rebuild for pure perl modules (and those should use 'PACKAGE_ARCH = "all"') even if they break with perl version change.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

This also should ease transition to perl 5.10.1.

OK to push?

Yes

OK. Pushed perl 5.10.1, everybody, have fun!

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#19 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

Dnia środa, 24 marca 2010 o 18:26:16 Roman I Khimov napisał(a):

Quoted 1 line

OK. Pushed perl 5.10.1, everybody, have fun!

18:39 hrw@home:angstrom$ bitbake perl
NOTE: Handling BitBake files: - (0975/8143) [11 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
r0${@perl_get_version_suffix(d)}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0.1
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${S}
ERROR: cannot concatenate 'str' and 'NoneType' objects while parsing /home/hrw/devel/oe/openembedded/recipes/callweaver/callweaver-perl.bb
NOTE: Handling BitBake files: - (3827/8143) [46 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
r2${@perl_get_version_suffix(d)}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${WORKDIR}/SDL_perl-${PV}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${S}
ERROR: cannot concatenate 'str' and 'NoneType' objects while parsing /home/hrw/devel/oe/openembedded/recipes/sdlperl/sdl-perl_1.20.3.bb

And same for lot of perl recipes.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#20 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

В сообщении от Среда 24 марта 2010 20:41:00 автор Marcin Juszkiewicz написал:

Quoted 18 lines

Dnia środa, 24 marca 2010 o 18:26:16 Roman I Khimov napisał(a):

Quoted 1 line

OK. Pushed perl 5.10.1, everybody, have fun!

18:39 hrw@home:angstrom$ bitbake perl
NOTE: Handling BitBake files: - (0975/8143) [11 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r0${@perl_get_version_suffix(d)}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0.1
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType'

Quoted 8 lines

objects while evaluating:
${S}
ERROR: cannot concatenate 'str' and 'NoneType' objects while parsing /home/hrw/devel/oe/openembedded/recipes/callweaver/callweaver-perl.bb
NOTE: Handling BitBake files: - (3827/8143) [46 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r2${@perl_get_version_suffix(d)}

(0_0)
Never had that and just tried, nothing like that, test setup is Angstrom for qemuarm.

Ah. I guess it might be something with bitbake versions, no? I'm using bitbake 1.8.x, commit d99de1c3f35a01f6d06b2965da823ae3cd16d0eb.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#21 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

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

Quoted 28 lines · Roman I Khimov

В сообщении от Среда 24 марта 2010 20:41:00 автор Marcin Juszkiewicz написал:

Quoted 18 lines

Dnia środa, 24 marca 2010 o 18:26:16 Roman I Khimov napisał(a):

Quoted 1 line

OK. Pushed perl 5.10.1, everybody, have fun!

18:39 hrw@home:angstrom$ bitbake perl
NOTE: Handling BitBake files: - (0975/8143) [11 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r0${@perl_get_version_suffix(d)}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0.1
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType'

Quoted 8 lines

objects while evaluating:
${S}
ERROR: cannot concatenate 'str' and 'NoneType' objects while parsing /home/hrw/devel/oe/openembedded/recipes/callweaver/callweaver-perl.bb
NOTE: Handling BitBake files: - (3827/8143) [46 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r2${@perl_get_version_suffix(d)}

Quoted 3 lines

(0_0)
Never had that and just tried, nothing like that, test setup is Angstrom for qemuarm.

I think this is the same problem as we have with KERNEL_VERSION. IIRC we cheat a bit and write out a file in staging with the version.

regards,

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

iD8DBQFLqxCBMkyGM64RGpERAttaAKCsWP+WLeWIRkSZBfiaqUrT15L1QgCcDvIZ gN3dYKQn5EjTC4lqqqu5cX4=
=Oaop
-----END PGP SIGNATURE-----

#22 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

В сообщении от Четверг 25 марта 2010 10:28:02 автор Koen Kooi написал:

Quoted 2 lines · Roman I Khimov
Quoted 1 line

В сообщении от Среда 24 марта 2010 20:41:00 автор Marcin Juszkiewicz

написал:

Quoted 27 lines
Quoted 27 lines
Quoted 26 lines

Dnia środa, 24 marca 2010 o 18:26:16 Roman I Khimov napisał(a):

Quoted 1 line

OK. Pushed perl 5.10.1, everybody, have fun!

18:39 hrw@home:angstrom$ bitbake perl
NOTE: Handling BitBake files: - (0975/8143) [11 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r0${@perl_get_version_suffix(d)}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${WORKDIR}/callweaver-1.2-${CWRCV}/contrib/ogi-perl/callweaver-perl-0.0. 1 NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects while evaluating:
${S}
ERROR: cannot concatenate 'str' and 'NoneType' objects while parsing /home/hrw/devel/oe/openembedded/recipes/callweaver/callweaver-perl.bb
NOTE: Handling BitBake files: - (3827/8143) [46 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r2${@perl_get_version_suffix(d)}

Quoted 6 lines
Quoted 3 lines

(0_0)
Never had that and just tried, nothing like that, test setup is Angstrom for qemuarm.

I think this is the same problem as we have with KERNEL_VERSION. IIRC we cheat a bit and write out a file in staging with the version.

Yep, see my other message and as we've discussed a bit on IRC, there is no good way to handle it other than DISTRO_PR or some kind of mangling of PKGR, but that's also not perfect. I think that perl version change might deserve DISTRO_PR bump.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
#23 lore raw

Re: [PATCH 01/44] cpan-base: add perl version to PR

In reply to Marcin Juszkiewicz

В сообщении от Среда 24 марта 2010 20:41:00 автор Marcin Juszkiewicz написал:

Quoted 8 lines

Dnia środa, 24 marca 2010 o 18:26:16 Roman I Khimov napisał(a):

Quoted 1 line

OK. Pushed perl 5.10.1, everybody, have fun!

18:39 hrw@home:angstrom$ bitbake perl
NOTE: Handling BitBake files: - (0975/8143) [11 %]NOTE: <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects
while evaluating:
r0${@perl_get_version_suffix(d)}

Argh! Sure, I have perl built already and it's get_perl_version that gives None here. Ugh. Sorry, thinking on better fix.

Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3