<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/libc-package.bbclass, branch master</title>
<subtitle></subtitle>
<id>https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master</id>
<link rel='self' href='https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/'/>
<updated>2012-05-18T14:22:22Z</updated>
<entry>
<title>(libc-)package.bbclass: Added MLPREFIX to locale packages.</title>
<updated>2012-05-18T14:22:22Z</updated>
<author>
<name>Lianhao Lu</name>
<email>lianhao.lu@intel.com</email>
</author>
<published>2012-05-18T14:18:11Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee'/>
<id>urn:sha1:a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee</id>
<content type='text'>
Added multilib prefix to the locale related package names/dependencies.

Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libc-package.bbclass: Add MLPREFIX while dynamically set RDEPENDS</title>
<updated>2012-05-09T20:42:15Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2012-04-23T08:48:59Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=9407895c88e46490d0ef9bb185f73466e7204c15'/>
<id>urn:sha1:9407895c88e46490d0ef9bb185f73466e7204c15</id>
<content type='text'>
We need to add MLPREFIX when set RDEPENDS by setVar() function.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>libc-package: rework ''precompiled' locale handling</title>
<updated>2012-05-03T14:00:26Z</updated>
<author>
<name>Christopher Larson</name>
<email>kergoth@gmail.com</email>
</author>
<published>2012-04-27T04:03:55Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=3f36058923ccda25a3dd85046542e65b6034c09e'/>
<id>urn:sha1:3f36058923ccda25a3dd85046542e65b6034c09e</id>
<content type='text'>
There were a couple problems with the handling of precompiled locales.

- it gathered the list of locales from the directories - this breaks due to
  the naming mismatch, e.g. en_US.UTF-8 vs en_US.utf8.
- it retained its hardcoded assumption that the non-suffixed locale (en_US, as
  opposed to en_US.*) is UTF-8, while the others are otherwise. Hardcoding
  this is both inflexible and just plain wrong for some toolchains. It's most
  common in desktop distros for 'en_US' to be non-utf8, and ''en_US.UTF-8' is
  utf8, and this is the case in some external toolchains as well.

The code now uses the SUPPORTED file to hold the knowledge it needs. This file
not only holds the list of locales to generate, but also maps the locale names
to the charsets they correspond to. The code now uses this to assemble its
charset map, falling back to the '.' suffix as charset when the locale is not
in the map. For precompiled, it now uses the locale-&gt;charset knowledge it has,
thereby allowing non-utf8 non-suffixed locale names, whereas for
non-precompiled, it reverts to the previous assumption, renaming the utf8
locale and forcibly suffixing the others.

So, a person maintaining an external toolchain recipe is responsible for
ensuring that the SUPPORTED file they provide matches up with the compiled
locales in the toolchain, if they want to utilize precompiled locales.

I believe in the long term the compiled case should do the same thing
precompiled does, and use SUPPORTED or a similar mechanism to encode the
knowledge, and if people want all the non-suffixed names to be utf8, they can
change that file to do so. This would avoid the hardcoded assumption in the
code, as well as consolidating the behavior between the compiled and
precompiled cases.

Signed-off-by: Christopher Larson &lt;kergoth@gmail.com&gt;
</content>
</entry>
<entry>
<title>Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...</title>
<updated>2012-04-16T11:51:19Z</updated>
<author>
<name>Zhai Edwin</name>
<email>edwin.zhai@intel.com</email>
</author>
<published>2012-04-16T06:50:00Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=380efadd5640e5b57e710549b1ae761d0d3b3792'/>
<id>urn:sha1:380efadd5640e5b57e710549b1ae761d0d3b3792</id>
<content type='text'>
MLPREFIX is needed in RDEPENDS for multilib build

Signed-off-by: Zhai Edwin &lt;edwin.zhai@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>eglibc packaging: locale packaging configuration</title>
<updated>2012-04-04T15:54:47Z</updated>
<author>
<name>Nitin A Kamble</name>
<email>nitin.a.kamble@intel.com</email>
</author>
<published>2012-03-30T20:59:18Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=b56e3680e729d8216fe533cdfaf4678fe94b76f0'/>
<id>urn:sha1:b56e3680e729d8216fe533cdfaf4678fe94b76f0</id>
<content type='text'>
The PACKAGE_NO_GCONV var manipulations ware happening in the
eglibc-options.inc file, and the eglibc-locale recipe do not
see it. Moving that into the libc-package.bbclass which is
common to eglibc &amp; eglibc-locale recipes.

This fixes bug: [YOCTO #2089]

This avoids this error for poky-tiny
NOTE: package eglibc-locale-2.13-r19: task do_populate_sysroot: Started
ERROR: Error executing a python function in
/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb:
OSError: [Errno 2] No such file or directory:
'/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/package/usr/lib/gconv'

ERROR: The stack trace of python calls that resulted in this exception/failure
was:
ERROR:   File "package_do_split_gconvs", line 264, in &lt;module&gt;
ERROR:·
ERROR:   File "package_do_split_gconvs", line 45, in package_do_split_gconvs
ERROR:·
ERROR:   File "package.bbclass", line 30, in do_split_packages
ERROR:·
ERROR: The code that was being executed was:
ERROR:      0260:»------»-------bb.note("generation of binary locales disabled.
this may break i18n!")
ERROR:      0261:
ERROR:      0262:
ERROR:      0263:
ERROR:  *** 0264:package_do_split_gconvs(d)
ERROR:      0265:
ERROR: (file: 'package_do_split_gconvs', lineno: 264, function: &lt;module&gt;)
ERROR:      0041:»------»-------»-------d.setVar('RPROVIDES_%s' % pkg,
pkg.replace(bpn, 'glibc'))
ERROR:      0042:
ERROR:      0043:»------do_split_packages(d, gconv_libdir,
file_regex='^(.*)\.so$', output_pattern=bpn+'-gconv-%s', \
ERROR:      0044:»------»-------description='gconv module for character set
%s', hook=calc_gconv_deps, \
ERROR:  *** 0045:»------»-------extra_depends=bpn+'-gconv')
ERROR:      0046:
ERROR:      0047:»------def calc_charmap_deps(fn, pkg, file_regex,
output_pattern, group):
ERROR:      0048:»------»-------deps = []
ERROR:      0049:»------»-------f = open(fn, "r")
ERROR: (file: 'package_do_split_gconvs', lineno: 45, function:
package_do_split_gconvs)
ERROR: Function failed: package_do_split_gconvs
ERROR: Logfile of failure stored in:
/home/rchatre/concordia/dev/ccd-distro-work/tmp/work/core2-poky-linux/eglibc-locale-2.13-r19/temp/log.do_package.31042
NOTE: package eglibc-locale-2.13-r19: task do_package: Failed
ERROR: Task 552 (/opt/poky.git/meta/recipes-core/eglibc/eglibc-locale_2.13.bb,
do_package) failed with exit code '1'

Signed-Off-By: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
</content>
</entry>
<entry>
<title>libc-packgae.bbclass: Add i686 support in locale_arch_options</title>
<updated>2012-03-29T21:22:58Z</updated>
<author>
<name>Noor Ahsan</name>
<email>noor_ahsan@mentor.com</email>
</author>
<published>2012-03-29T06:48:35Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=c8afc79b5d3205355ad61d2589221bf8babe8395'/>
<id>urn:sha1:c8afc79b5d3205355ad61d2589221bf8babe8395</id>
<content type='text'>
* While building for i686 architecture an error was coming that
locale_arch_options does not have support for i686. Add missing support.
* Verified on intel architecture.

Signed-off-by: Noor Ahsan &lt;noor_ahsan@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>external-csl-toolchain: fixes for metadata changes</title>
<updated>2012-02-01T15:27:06Z</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2012-01-27T17:13:43Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe'/>
<id>urn:sha1:8fb1c84f4cadf8d7a061fd6d90d270c19b474bfe</id>
<content type='text'>
These allow the recipe to build again:

- add compilerlibs, g++, libgcc to the provides
- add linux-libc-headers-dev to the packages
- in libc-package, only sed the ldd.bash.in file if it exists, as the external
  toolchain is using that class as well
- shift the inherit location of the libc classes, as they were overriding the
  recipe's do_install
- use ?= for EXTERNAL_TOOLCHAIN, so the user can set it

Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libc-package: fix typo in LOCALETREESRC default value</title>
<updated>2012-02-01T15:26:10Z</updated>
<author>
<name>Christopher Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2012-01-27T17:13:39Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=73ff2f404392a6942ec89af15ec7f52fe2e629a6'/>
<id>urn:sha1:73ff2f404392a6942ec89af15ec7f52fe2e629a6</id>
<content type='text'>
Signed-off-by: Christopher Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>locale: fix package's "provides" tag</title>
<updated>2012-01-17T14:52:57Z</updated>
<author>
<name>Nitin A Kamble</name>
<email>nitin.a.kamble@intel.com</email>
</author>
<published>2012-01-09T19:33:09Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=49c5ff7197b44c7d29d31506c2425b86bc2c1ff6'/>
<id>urn:sha1:49c5ff7197b44c7d29d31506c2425b86bc2c1ff6</id>
<content type='text'>
Fixes this bug: [YOCTO #1874]

Fixes an issue where a locale package depends on one package while it
also provides the same, as seen bellow.

Package: locale-base-de-de
Version: 2.12-r19
Depends: eglibc-binary-localedata-de-de
Provides: virtual-locale-de-de, virtual-locale-de,
eglibc-binary-localedata-de-de

Actually the eglibc-binary-localedata-de-de is ia separate package,
 and it should not be part of provides of the locale-base-de-de.

Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
</content>
</entry>
<entry>
<title>libc-package.bbclass: Fix typo in setVar usage</title>
<updated>2011-12-01T12:51:01Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-12-01T12:51:01Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=30584cbcdc4b709c52325a321c1175bfaf63a167'/>
<id>urn:sha1:30584cbcdc4b709c52325a321c1175bfaf63a167</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
