Desktop: /tests/functions/GdkProperties/GdkProperties 21 failed Message from the test: test case: /opt/lsb/test/desktop/gtkvts/tet_tmp_dir/08681aa/tests/functions/GdkProperties/GdkProperties, TP number: 21 GdkProperties.c, line 879: gdk_utf8_to_compound_text: conversion failed! Desktop-t2c: /glib-t2c/tests/glib_character_set_conversion/glib_character_set_conversion Message from the test: Target interface(s): g_get_charset -------- FAILED CHECK in glib_character_set_conversion.c, line 12401 comment: Unable to change the locale Error: Test purpose error.
Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to task-poky-lsb.bb. Owing to there are thousands of packages related to locale, So we can add four variables to instead of above packages. yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ diff -Nur eglibc-package.inc eglibc-package.inc.new --- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800 +++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800 @@ -44,6 +44,27 @@ eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \ locale-base-*${PKGSUFFIX}" +# Create a eglibc-binarys +ALLOW_EMPTY_${PN}-binarys = "1" +PACKAGES += "${PN}-binarys" +#RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1 and p != "localedef"])}" +RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}" + +# Create a eglibc-charmaps package +ALLOW_EMPTY_${PN}-charmaps = "1" +PACKAGES += "${PN}-charmaps" +RRECOMMENDS_${PN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}" + +# Create a eglibc-gconvs package +ALLOW_EMPTY_${PN}-gconvs = "1" +PACKAGES += "${PN}-gconvs" +RRECOMMENDS_${PN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}" + +# Create a eglibc-localedatas package +ALLOW_EMPTY_${PN}-localedatas = "1" +PACKAGES += "${PN}-localesdatas" +RRECOMMENDS_${PN}-localesdatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" + RPROVIDES_eglibc = "glibc" RPROVIDES_eglibc-utils = "glibc-utils" RPROVIDES_eglibc-pic = "glibc-pic"
I think the patch you write below can resolve this bug, but it seems you havn't sent it out yet, do you have a plan to send it out recently? (In reply to comment #1) > Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to > task-poky-lsb.bb. > Owing to there are thousands of packages related to locale, So we can add four > variables to instead of above packages. > yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ > diff -Nur eglibc-package.inc eglibc-package.inc.new > --- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800 > +++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800 > @@ -44,6 +44,27 @@ > eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* > eglibc-binary-localedata-* \ > locale-base-*${PKGSUFFIX}" > +# Create a eglibc-binarys > +ALLOW_EMPTY_${PN}-binarys = "1" > +PACKAGES += "${PN}-binarys" > +#RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', > True).split() if p.find("eglibc-binary") != -1 and p != "localedef"])}" > +RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', > True).split() if p.find("eglibc-binary") != -1])}" > + > +# Create a eglibc-charmaps package > +ALLOW_EMPTY_${PN}-charmaps = "1" > +PACKAGES += "${PN}-charmaps" > +RRECOMMENDS_${PN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', > True).split() if p.find("eglibc-charmap") != -1])}" > + > +# Create a eglibc-gconvs package > +ALLOW_EMPTY_${PN}-gconvs = "1" > +PACKAGES += "${PN}-gconvs" > +RRECOMMENDS_${PN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', > True).split() if p.find("eglibc-gconv") != -1])}" > + > +# Create a eglibc-localedatas package > +ALLOW_EMPTY_${PN}-localedatas = "1" > +PACKAGES += "${PN}-localesdatas" > +RRECOMMENDS_${PN}-localesdatas = "${@" ".join([p for p in > d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" > + > RPROVIDES_eglibc = "glibc" > RPROVIDES_eglibc-utils = "glibc-utils" > RPROVIDES_eglibc-pic = "glibc-pic"
I have pushed it to branch poky-contribute, Saul could merge it to poky in yocto 1.1 (In reply to comment #2) > I think the patch you write below can resolve this bug, but it seems you havn't > sent it out yet, do you have a plan to send it out recently? > (In reply to comment #1) > > Add eglibc-binary-*, eglibc-charmps-*, eglibc-gconv-*, eglibc-localedata-* to > > task-poky-lsb.bb. > > Owing to there are thousands of packages related to locale, So we can add four > > variables to instead of above packages. > > yan@usp-ub1004-x86:/buildarea2/yxf/poky_work/poky/meta/recipes-core/eglibc$ > > diff -Nur eglibc-package.inc eglibc-package.inc.new > > --- eglibc-package.inc 2011-03-02 17:22:43.793361064 +0800 > > +++ eglibc-package.inc.new 2011-03-04 13:14:25.480863298 +0800 > > @@ -44,6 +44,27 @@ > > eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* > > eglibc-binary-localedata-* \ > > locale-base-*${PKGSUFFIX}" > > +# Create a eglibc-binarys > > +ALLOW_EMPTY_${PN}-binarys = "1" > > +PACKAGES += "${PN}-binarys" > > +#RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', > > True).split() if p.find("eglibc-binary") != -1 and p != "localedef"])}" > > +RRECOMMENDS_${PN}-binarys = "${@" ".join([p for p in d.getVar('PACKAGES', > > True).split() if p.find("eglibc-binary") != -1])}" > > + > > +# Create a eglibc-charmaps package > > +ALLOW_EMPTY_${PN}-charmaps = "1" > > +PACKAGES += "${PN}-charmaps" > > +RRECOMMENDS_${PN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', > > True).split() if p.find("eglibc-charmap") != -1])}" > > + > > +# Create a eglibc-gconvs package > > +ALLOW_EMPTY_${PN}-gconvs = "1" > > +PACKAGES += "${PN}-gconvs" > > +RRECOMMENDS_${PN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', > > True).split() if p.find("eglibc-gconv") != -1])}" > > + > > +# Create a eglibc-localedatas package > > +ALLOW_EMPTY_${PN}-localedatas = "1" > > +PACKAGES += "${PN}-localesdatas" > > +RRECOMMENDS_${PN}-localesdatas = "${@" ".join([p for p in > > d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}" > > + > > RPROVIDES_eglibc = "glibc" > > RPROVIDES_eglibc-utils = "glibc-utils" > > RPROVIDES_eglibc-pic = "glibc-pic"
locale have been merged. It can pass lsb test by test verification