aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-package.inc
AgeCommit message (Collapse)Author
2014-09-01glibc: Migrate eglibc 2.19 -> glibc 2.20Khem Raj
- This is a big swoop change where we switch to using glibc - option-groups are forward ported - cross-localedef is extracted out from eglibc and hosted at github.com/kraj/localedef, its used for cross-localedef recipe - Other non ported patches from eglibc are forward ported ppc8xx cache line workaround SH fpcr values dynamic resolver installing PIC archives is there but is not applied libc header bootstrap - Delete eglibc recipes we moved back to using glibc now - Fix ppc/e500 build - Fix crypt module build when options are used - Fix fnmatch build when options OPTION_EGLIBC_LOCALE_CODE is unset HAVE_MBSTATE_T and HAVE_MBSRTOWCS should be defined conditionally based upon OPTION_EGLIBC_LOCALE_CODE being set/unset - Move the ports/ patches to relevant files now that ports is gone Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-08-23fix up eglibc-utils description to match what is actually includedBob Cochran
iconf must have been a typo for iconv rpcinfo is found elsewhere (currently rpcbind) and not eglibc-utils - replace its mention with rpcgen Signed-off-by: Bob Cochran <openembedded@mindchasers.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-19eglibc: rewritten tzselect as posix sh and move it to tzcode packageHongxu Jia
The problem is that this would cause bash installed to meta-toolchain, the dependencies chain is: meta-toolchain -> eglibc-utils -> bash We should eliminate bash dependencies in anything core to a tiny system. The eglibc-utils also provides eglibc-utils/usr/bin/zdump, eglibc-utils/usr/bin/zic which all of them belonged to tzcode, so we should split these three utils as tzcode package. [YOCTO #6544] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24eglibc (2.19): fix hardcoded /sbin pathMatthieu Crapet
Apply for ldconfig and sln packages. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet
Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-26eglibc: fix directory cleanup for 2.17Riku Voipio
Commit e0c2dd275827a4b37b8116d0f0119333638461af broke building eglibc 2.17, which still ships pt_chown under eglibc/ directory. Fix by only deleting directory when pt_chown is not there. Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-22eglibc: Update SRC_URI and fix unpackaged empty dirKhem Raj
eglibc 2.18 has now been branched out so point to new tarballs Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29eglibc: Avoid "installed but not shipped" warning for ld.so.confPhil Blundell
If USE_LDCONFIG is not set then we won't ship ld.so.conf. However, eglibc still installs it which leads to a QA warning. Prevent that by removing the file (and the subsequently-empty directory /etc) in this situation. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-02eglibc: move RPROVIDES to eglibc-packageMartin Jansa
* PROVIDES_${PN}-dbg doesn't look correct, it should be RPROVIDES and that was already in eglibc-package * RPROVIDES_${PN}-dev was overwritten in eglibc-package, but add those 2 entries now Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-27eglibc: fix evacuate_scripts for external toolchainsMarcin Juszkiewicz
Not every external toolchain has mtrace/sotruss/xtrace scripts so check their existance first. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-27eglibc-package: remove infodir/dir if it existsMartin Jansa
* fixes error in world-image build: * check_data_file_clashes: Package eglibc-doc wants to install file rootfs/usr/share/info/dir But that file is already provided by package * gcc-doc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-22eglibc: Move perl- and bash-using scripts to separate recipesPhil Blundell
This removes the dependency of eglibc.bb itself on perl and bash which, in turn, eliminates the need to build those two recipes if the scripts which need them are not going to be installed. Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial otherwise the nativesdk and multilib variants might crash trying to copy a non-existent mtrace script. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-25Add and use 'localedir' variableChristopher Larson
This avoids the hardcoding of ${libdir}/locale which is all over the place, and will facilitate use of ${exec_prefix}/lib/locale instead of ${libdir}/locale. This doesn't actually change any output at this time. Verified this with buildhistory against the packages produced from core-image-base. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-12eglibc: Restore ${PN} to before ${PN}-dev in PACKAGESPhil Blundell
Commit 13544fbc6217fee1731a6da1e2cf94901a500842 changed the ordering of PACKAGES so that ${PN}-dev came before ${PN}. However, this caused the FILES matching to go wrong if ${libdir} == ${base_libdir}. Fix this by moving ${PN} ahead of ${PN}-dev once again. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02eglibc: remove duplicate rquota filesSaul Wold
The /usr/include/rpcsvc/rquota* files are provided by both eglibc and the quota package. Quota's version is newer and a superset of eglibc's [YOCTO #238] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19eglibc-package.inc: Remove duplicate locale installRichard Purdie
Both eglibc-locale and eglibc were installing locale files into the sysroot. Whilst this is in general harmless, its a waste of diskspace/time so this moves the responsibility to the eglibc-locale package. No PR bump this this is really a cleanup and doesn't affect build output, the sstate size reduction will happen next time it is rebuilt. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-19eglibc-package: Update PACKAGES and files based on new orderingSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24eglibc: package mtrace separatelyNitin A Kamble
add libc-mtrace as dependency for task-core-tools-debug now eglibc-mtrace gets included in an sdk image and not in a non-sdk image. This does not affect builds with uclibc. This fixes bug: [YOCTO# 2374] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-01eglibc-package: remove /varSaul Wold
This is a newly installed directory and Makefile that is not needed in an embedded setup It fixes: ERROR: For recipe eglibc, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-04-14eglibc: fix builds on fedora 17 alphaNitin A Kamble
Generally distros keep perl at /sur/bin/perl Fedora 17 alpha also has /bin/perl this causes eglibc build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | /bin/perl is needed by eglibc-utils-2.13-r23+svnr15508.i586 NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1' This Fixes bug : [YOCTO #2286] RP: Updated to better account for -nativesdk Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie
Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24eglibc: Fix package warningRichard Purdie
WARNING: For recipe eglibc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/locale Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21Add sanity checks for eglibc localeKen Werner
Add sanity checks that test for the existance of folders. This allows to use an external binary toolchain that doesn't have localization support.
2012-02-03eglibc-package.inc: don't include debug files in -picChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-24eglibc: refactor packages for staticdevSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22Revert "eglibc: fix packaging of some of nativesdk packages"Richard Purdie
This reverts commit 974cdb88680359aac5aefd11b84c4a374ab3a753. See the mailing list for details, this broke things for too many people such as where PKGSUFFIX is used in PREFERRED_PROVIDER. odified: meta/recipes-core/eglibc/eglibc-locale.inc
2011-09-22eglibc: fix packaging of some of nativesdk packagesDmitry Eremin-Solenikov
eglibc.inc contains packaging rules that depend on PKGSUFFIX expansion. However that variable wasn't expanded properly in some case. E.g. PACKAGES = " ... nscd${PKGSUFFIX} ..." FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" would be expanded to PACKAGES = " ... nscd-nativesdk ..." FILES_nscd = "${sbindir}/nscd*" Thus leading to empty -nativesdk packages and missing files. To overcome that use python code blob to properly define PKGSUFFIX variable. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21Add a run-time dependency that eglibc support GNU_HASHMark Hatle
RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of "rtld(GNU_HASH)". We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-08-30eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan
and eglibc-charmps to variable PACKAGE There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \ and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \ eglibc-locale.inc is to make the above variables to take effect. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-26eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5Martin Jansa
* gconv is directory so test -f was always false as reported by Phil Blundell in http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html * -e used also for localedef which is file, just to be more consistent Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-08-04eglibc-package.inc: Fixed error in referencing PKGSUFFIXLianhao Lu
[YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_* variables set. [RP: Added PR bumps] Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-02eglibc: Add missing ${PN} and ${PKGSUFFIX} usagesRichard Purdie
This fixes warning messages such as: The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc'] NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain) NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to eglibc so the nativesdk class continues to work correctly for now and ensure consistency in how the various eglibc packages are generated. Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this time though given all the other changes that are going on. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27eglibc: fix for multilib RPROVIDES issueYu Ke
in eglibc-package.inc, the "PACKAGES" variable use the ${PN} reference, while RPROVIDES does not use ${PN}. This will lead multilib.bbclass not mapping its RPROVIDES, and cause "NO RPROVIDER: lib64-glibc-utils" error. This patch unify the recipe to fix this issue Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-07-27eglibc_2.13: Resolve multilib header conflictsMark Hatle
Due to mismatches between various header definitions in i386 and x86_64 we need to overwrite the i386 versions of the headers with their x86_64 equivalents. This can not be done for the syscall.h as it's dynamically generated, so use the header conflict resolution helper for that. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-07-21eglibc-package: don't fail without localedef/gconvMartin Jansa
* in some cases we don't have localedef/gconv built ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code then is better ignore localedef/gconv instead of do_install_locale failing like in this bugreport: http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-07-14eglibc: fix packaging of thread_dbPhil Blundell
Similarly to libnss*, if ${libdir} and ${base_libdir} were the same path then libthread_db would land in ${PN}-dev rather than the intended place. As before, fix this by moving eglibc-thread-db earlier in PACKAGES and adjusting its FILES to not capture the .so symlink. Bump PR for both 2.12 and 2.13. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13eglibc: fix installed but not packaged filesNitin A Kamble
Fixes these package QA warnings: WARNING: For recipe eglibc, the following files were installed but not shipped in any package: WARNING: /etc/localtime Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-07-13eglibc: ensure that NSS libs go into the right package when ${base_libdir} ↵Phil Blundell
and ${libdir} are the same Previously, libnss_hesiod et al. could get swallowed by the wildcarded glob in ${PN}-dev. Fix it by moving eglibc-extra-nss earlier in the PACKAGES and adjusting its FILES to ensure that the devel symlinks don't get caught. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-08eglibc: add RDEPENDS for bash on eglibc-utilsSaul Wold
[YOCTO #1214] The eglibc-utils contains 2 scripts (tzselect and xtrace) that use bash, so add an RDEPENDS to eglibc-utils. This also removes libsotruss as it's currently not built, it was not previously depended on because it was mis-spelled as "EDEPENDS" Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-07-08eglibc: avoid copying ${libdir} twice if it's the same as ${base_libdir}Phil Blundell
Otherwise the following "mv ${libdir}/gconv" fails because the destination has already been created. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Ensure localedef is only packaged in one locationRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-30eglibc-package.bbclass: Fix unintended code changesRichard Purdie
Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted some code changes it shouldn't have done leading to continued eglibc packaging issues. This patch corrects that damage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29libc locale split: fix some remaining problemsKoen Kooi
* libc-{common,package}.bbclass: fix shlib renaming for the C library Without this you'd end up with eglibc_2.12.ipk instead of libc6_2.12.ipk as before * eglibc-locale: don't make versions go backwards after split from eglibc eglibc was way beyond PR = "r1" at the time of the split, so increase PR to make package upgrades work [RP: Fixup PR merge conflict] Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29glibc/eglibc: Clean up package warnings and potentially broken data in -dev ↵Richard Purdie
package These changes ensure files packaged in the -locale package aren't included in the main do_install and also ensures the staging directory used for the -locale package doesn't end up in the -dev package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28eglibc: Fix version 2.12 after locale changesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-28libc-locale: split locale handling from libc recipe.Dongxiao Xu
*libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. [RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22eglibc-package.inc: Package newly added sotruss and supporting librariesKhem Raj
2.14 has a new utility which can trace through PLTs of shared libraries We package the library separately and the script is already packaged in eglibc-utils so we create a RDEPEND so that the library is pulled in if someone isntalls eglibc-utils Signed-off-by: Khem Raj <raj.khem@gmail.com>