Skip to contentSkip to conversation

org.oe.dev package.bbclass: Fix split_locales to remove spurious references to -dbg packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass)]

Fwd: Koen Kooi 3 participants 6 messages Oct 21, 2006 – Oct 22, 2006

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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

Hi,

Should we bump PR on affected packages if this fix works?

regards,

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

iD8DBQFFOqAbMkyGM64RGpERAgfsAJ4ikdEB49SiHUvsj1YNlUaZ1ahnuQCfSLcg ZemD5f12rZ9CmXTO47MFibU=
=UWrB
-----END PGP SIGNATURE-----

author
#1 lore raw

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

Koen Kooi schreef:

Quoted 3 lines

Hi,

Should we bump PR on affected packages if this fix works?

That would be these:

koen@bitbake:~/OE/monotone/org.openembedded.dev/packages$ grep do_split_pac . -rn | awk
'{print $1}' | awk -F_ '{print $1}' |  awk -F: '{print $1}' | uniq
./abiword/abiword-plugins
./dasher/dasher-gpe
./dri/drm-kernel
./gaim/gaim.inc
./gammu/gammu
./glibc/glibc-package.bbclass
./gnome/goffice
./gnome/gnome-vfs-dbus
./gnumeric/gnumeric
./gstreamer/gst-plugins.inc
./gtk+/gtk+
./gtk-engines/gtk-engines
./libxine/libxine-fb
./libxine/libxine-x11
./libxine/libxine
./nonworking/foo/pango
./nonworking/foo/gnome-vfs
./nonworking/foo/gst-plugins
./nonworking/maemo/osso-gnome-vfs2
./opie-help-en/opie-help-en.inc
./opie-reader/opie-reader.inc
./pango/pango
./perl/perl.inc
./qpe-gaim/qpe-libgaim
./timezones/timezones
./xfwm4/xfwm4
./xfwm4/xfwm4.inc
./xfwm4-themes/xfwm4-themes.inc
./xfwm4-themes/xfwm4-themes
./xscreensaver/xscreensaver
./pulseaudio/pulseaudio
./xmms/xmms

regards,

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

iD8DBQFFOqFCMkyGM64RGpERAo7AAKC5KqnGgjGZElhb4rJfl8NMMEIBCgCfWOPq wHTXUY+NQoEq61ksefXe9kI=
=GpWn
-----END PGP SIGNATURE-----

#2 lore raw

Re: [Fwd: [oe-commits] org.oe.dev package.bbclass: Fix split_locales to remove spurious references to -dbg packages.

Quoted 6 lines · Koen Kooi
Quoted 1 line

Should we bump PR on affected packages if this fix works?

That would be these:

koen@bitbake:~/OE/monotone/org.openembedded.dev/packages$ grep do_split_pac . -rn | awk
'{print $1}' | awk -F_ '{print $1}' |  awk -F: '{print $1}' | uniq

[snip]

Its worse than that. Anything using do_split_locales was affected so that's anything with locales :-(. I don't think bumping PR is therefore realistic.

On a kind of related topic, I did a build from scratch in poky and I'm quite disappointed with the number of .debug or other packaging errors present and OE .dev probably has the same issues. I also seem to have a load of .debug directories in images but that is perhaps as poky isn't quite as much in sync with OE as I'd like.

Cheers,

Richard

btw, I won't be around much if at all until next Saturday.

author
#3 lore raw

Re: [Fwd: [oe-commits] org.oe.dev package.bbclass: Fix split_locales to remove spurious references to -dbg packages.

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

Richard Purdie schreef:

Quoted 8 lines · Koen Kooi
Quoted 5 lines
Quoted 1 line

Should we bump PR on affected packages if this fix works?

That would be these:

koen@bitbake:~/OE/monotone/org.openembedded.dev/packages$ grep do_split_pac . -rn | awk
'{print $1}' | awk -F_ '{print $1}' |  awk -F: '{print $1}' | uniq

[snip]

Quoted 7 lines

Its worse than that. Anything using do_split_locales was affected so that's anything with locales :-(. I don't think bumping PR is therefore realistic.

On a kind of related topic, I did a build from scratch in poky and I'm quite disappointed with the number of .debug or other packaging errors present and OE .dev probably has the same issues.

It would be quite easy to write a script that looks for .debug/ entries in packages, and file bugs against the offending packages.

Quoted 3 lines

I also seem to have a
load of .debug directories in images but that is perhaps as poky isn't quite as much in sync with OE as I'd like.

I noticed that today when trying to merge some csets. E.g. perl.inc had fixed packaging, but doesn't use gcc for linking in Poky, so picking out fixes requires a fair deal of knowledge and time.

regards,

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

iD8DBQFFO7Z2MkyGM64RGpERAnxEAJ9VUtU4fK91ZuBwdAuAsgQhrHGlVQCgmKnb +iLQlZssr8uHbudiRNrGEVc=
=VZQV
-----END PGP SIGNATURE-----

#4 lore raw

Re: [Fwd: [oe-commits] org.oe.dev package.bbclass: Fix split_locales to remove spurious references to -dbg packages.

Am 22.10.2006 um 20:20 schrieb Koen Kooi:

Quoted 3 lines

It would be quite easy to write a script that looks for .debug/ entries in packages, and file bugs against the offending packages.

Could you check if INHERIT += insane detects these packages? I think line 56 needs to be changed to path.contains('.debug')

regards

	h.
author
#5 lore raw

Re: [Fwd: [oe-commits] org.oe.dev package.bbclass: Fix split_locales to remove spurious references to -dbg packages.

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

Holger Freyther schreef:

Quoted 9 lines

Am 22.10.2006 um 20:20 schrieb Koen Kooi:

Quoted 3 lines

It would be quite easy to write a script that looks for .debug/ entries in packages, and
file bugs against the offending packages.

Could you check if INHERIT += insane detects these packages? I think line 56 needs to be changed to path.contains('.debug')

For future reference: you need python 2.4 for that.

regards,

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

iD8DBQFFO8N4MkyGM64RGpERAkoqAJ9yMheYxEzm5QdFUobYPWf8SEpz5wCgp8e5 haGCHNVdjIzaDcZ0NfUBZgA=
=q3Bu
-----END PGP SIGNATURE-----