| Summary: | multilib: duplicated libc-2.13.so when do_rootfs for lib32 build with ipk | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Lianhao Lu <lianhao.lu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | dongxiao.xu, ke.yu, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | unspecified | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jiajun Xu
2011-09-14 21:00:57 UTC
Some 64bit libraries were installed into the lib32 directory. This seems to be caused by the function package_name_hook() in debian.bbclass. Take lib32-expat for example. Both expat and lib32-expat would generate a package respectively, with the same name libexpat1. In this case, the opkg has some problems to distinguish between the 64bit libexpat1 coming from expat and the 32bit libexpat1 coming from lib32-expat. We should make sure those 2 packages have different package names. Fixed by the following 3 patches: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=27f88685091298fec502cdeb68ae04684ba3d678 Added multilib support for package_name_hook() so MLPREFIX is kept in the final package name. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aab71071d73d82ae6301dbd910422a311b5ecf4e Added MLPREFIX to the final package names of some library packages in case of DEBIAN_NAMES. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=99dd3c0b2c0a3b116baa5bbd5e390768d699865b changed the logic of multilib_sanity_check, so duplicated files except those matching to MULTILIBRE_ALLOW_REP are allowed if they're equal. And allow DEBIAN_NOAUTONAMES variable to be automatically mapped in multilib case. verify the bug with edison branch, the bug is fixed. commit: 41c564fe605fa4685fd27b1721e3424ac8a96db1 commit 41c564fe605fa4685fd27b1721e3424ac8a96db1 Author: Scott Rifenbark <scott.m.rifenbark@intel.com> Date: Fri Sep 23 10:20:16 2011 -0700 documentation/poky-ref-manual/ref-classes.xml: documented useradd.bbclass New section per Paul Eggleton's request. (From yocto-docs rev: ffedb53e5c706cffb83978f1704a606d29233e36) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |