summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* mulitilib_header: Avoid sstate checksum issues for -native recipesRichard Purdie2013-02-141-0/+6
| | | | | | | | | | | | | | | The use of arch specific variables like MIPSPKGSFX_ABI was creeping into the -native sstate checksums of package like ncurses-native. This is pointless and undesireable. We could add specific variable exclusions but we might as well just brute force the code to be disabled in the -native case since we don't use multilibs in the native case. [YOCTO #3827] (From OE-Core rev: cc7352ed990b1bdd26203a4d3b21286280ac26c5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kconfig-frontends: Depend on pkgconfig-nativeRichard Purdie2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | We were seeing errors like: | autoreconf: running: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --force | configure.ac:27: error: possibly undefined macro: AS_IF | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. | configure.ac:100: error: possibly undefined macro: AC_MSG_ERROR | autoreconf: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1 | ERROR: autoreconf execution failed. which turns out to mean the pkgconfig macros were unavailable (thanks for clear error messages autoconf). This patch adds in the missing dependency. (From OE-Core rev: 26431ffda8886412147ff347c000a0ecc2671db5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Remove -systemd packageKhem Raj2013-02-141-3/+1
| | | | | | | | | unit files are added to util-linux itself when selected (From OE-Core rev: dbabe19d4ee5cc291b5d996e9b828eed3e4484d8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Python: Add missing dependency "textutils" to "io" packageMiLo2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | Modify the include file and script to generate a missing RDEPENDS. Install python on target with python-io. Import ssl: Python 2.7.3 (default, Feb 9 2013, 16:04:35) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ssl.py", line 58, in <module> ImportError: No module named textwrap Installing python-textutils solves the issue. (From OE-Core rev: 900ae881c3483eea36aa0be456b93f92980f4924) Signed-off-by: MiLo <milo-software@users.sourceforge.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Fix an OVERRIDES expansion order issueRichard Purdie2013-02-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | There were problems where a SRC_URI with: SRC_URI_append_powerpc = " xxx" SRC_URI_append_powerpc64 = " xxx2" would end up with *both* xxx and xxx2 being added when using a multilib which is clearly incorrect and undesirable. The issue is that OVERRIDES has virtclass-multilib-xxxx added to it, this eventually changed DEFAULTTUNE which then changes TRANSLATED_TARGET_ARCH which is in OVERRIDES meaning we then need to re-evaluate the overides and the TRANSLATED_TARGET_ARCH gets applied twice since once you apply an override, it doesn't get undone. Expanding DEFAULTTUNE to the correct value in advance avoids the issue and means only the correct overrides get applied. [YOCTO #3874] (From OE-Core rev: 920c9024f5a47ad14670067f910450983bae2aa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo_1.4.5.bb: Finish fixing linkat()Peter Seebach2013-02-133-10/+10
| | | | | | | | | | | | The 1.4.4 fix replaced possible double-prepending of chroot paths with possible non-prepending of chroot paths. After significant evaluation, have settled on a single prepending of the chroot path as a workable compromise. (From OE-Core rev: a79597994e3f680e34a1a45fb37d76977903ded5) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add config fragmentsChen Qi2013-02-131-0/+13
| | | | | | | | | | | | | | | | | | | Add config fragments to busybox. The implementation makes use of merge_config.sh script in kern-tools-native. The use case is similar to the yocto kernel's configuration fragments. We also add kern-tools-native to busybox's DEPENDS variable to ensure that merge_config.sh is available when required. [YOCTO #3379] (From OE-Core rev: bbcd8b344598850ea2c8d3ad375c519713581fde) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtkhtml2: remove, nothing depends on itRoss Burton2013-02-131-38/+0
| | | | | | | (From OE-Core rev: 1c3ed8c109f46e7e38649d6914693ed4c18f45a5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* web: remove gtkhtml2 versionRoss Burton2013-02-133-146/+0
| | | | | | | | | The gtkhtml2 version of Web is even older than the webkitgtk port, remove it. (From OE-Core rev: 7ee3c35ca51e358e1d5a710922acb52c0724086e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo_git.bb: Bump to pseudo 1.4.4.Peter Seebach2013-02-133-10/+10
| | | | | | | | | | | The pseudo 1.4.2 linkat() implementation had a broken edge case in which you could end up with chroot paths being doubled when using plain link() calls instead of linkat() calls. (From OE-Core rev: c70443ef21713d805012ef839e3fac04de8eadd2) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool-native_2.4.2.bb: Always use /bin/sed for SEDJason Wessel2013-02-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you never use sstate and always build everything from scratch you will never see this problem. However, if you use sstate and build directories that last a long time eventually you can end up with the scenario where libtool gets a hard coded path in it for sed, and sed may not exist. The reason you don't see this problem to often if you generally build from scratch is that libtool builds before sed and will pickup the host's /bin/sed. The way to reproduce the issue is: bitbake some_image bitbake -c cleansstate libtool-native bitbake sed-native bitbake libtool-native bitbake -c clean sed-native bitbake ANY_PACKAGE_THAT_USES_LIBTOOL_NATIVE In my case I used modphp, which doesn't exist in the oe-core. You will end up with a strange looking error like: | make[1]: *** [buckets/apr_buckets_alloc.lo] Error 1 | /opt/build/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool: line 981: /opt/build/bitbake_build/tmp/sysroots/x86_64-linux//bin/sed: No such file or directory The solution is to always use /bin/sed for libtool-native. (From OE-Core rev: 605e4484840e70c64acddb4aa1a3c9fec4078d9d) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/x32-linux: Specify double alignmentRichard Purdie2013-02-131-0/+1
| | | | | | | | | | Double alignment is 8 bytes on x32 but it is defaulting to 4 currently. This leads to various issues and fontconfig fails to build due to the mismatch triggering assert failures. (From OE-Core rev: f2a0784f368fa8a766aae4242a0c187759b35393) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk+: use gtk-immodules-cache classLaurentiu Palcu2013-02-133-20/+4
| | | | | | | | | | | | In order to have the proper postinst/postrm scriptlets generated for gtk+ immodules packages, use the already existing class. [YOCTO #3853] (From OE-Core rev: 1c5646dde09008662f064ce7e7400c4d68775278) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGESLaurentiu Palcu2013-02-131-0/+2
| | | | | | | | | | | | | This is needed if the GTKIMMODULES_PACKAGES is changed later, in do_populate_packages for example. This way, we don't have to add another dumb asignment in the recipe inheriting this. [YOCTO #3853] (From OE-Core rev: e9e80eac6ab4982cb42fa2c5403630926351efed) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-keyring: compile schemas on hostLaurentiu Palcu2013-02-131-10/+2
| | | | | | | | | | | gsettings.bbclass offers just that. [YOCTO #3854] (From OE-Core rev: 2d5a935b70218335af4859f409b81769c9238db3) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: use the new pixbufcache classLaurentiu Palcu2013-02-131-17/+4
| | | | | | | | | | | Also, fix the GDK_PIXBUF_QUERYLOADERS path. [YOCTO #3582] (From OE-Core rev: 801ca93cbd3e8fd8ce08f72432b6d4c80ed51261) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: use the new pixbufcache classLaurentiu Palcu2013-02-131-45/+3
| | | | | | | | | [YOCTO #3582] (From OE-Core rev: f6dce5376894d4ac91f01a85cffc828678695b04) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add pixbufcache classLaurentiu Palcu2013-02-131-0/+50
| | | | | | | | | | | | All packages exporting pixbuf loaders should inherit this class in order to generate the correct postinst/postrm scriptlets. [YOCTO #3852] (From OE-Core rev: 61afa98f96f5c62473cb2db383b48d3d23c5d7ac) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontcache.bbclass: use the postinst_intercept scriptLaurentiu Palcu2013-02-131-13/+7
| | | | | | | | | | "Link" the package to the postinstall hook by running the postinst_intercept script. (From OE-Core rev: a14faa3b9c55574a096d517431393e4ac3c86823) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache.bbclass: use postinst_intercept scriptLaurentiu Palcu2013-02-131-30/+9
| | | | | | | | | | Since the hook has been made a standalone script, use postinst_intercept script in order to "link" the package to the hook. (From OE-Core rev: d7ddae84165b5b84dc6ac640fd492ade891ddd4e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_(ipk|deb|rpm).bbclass: check package installation status after ↵Laurentiu Palcu2013-02-133-24/+23
| | | | | | | | | | | | | ROOTFS_POSTPROCESS_COMMAND Since the intercept fall-back procedure will change the package installation status, do the checking after ROOTFS_POSTPROCESS_COMMAND ends. (From OE-Core rev: 414c3918baccc2166bba536c956eebaeb49aace3) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: add fall-back functionality when running interceptsLaurentiu Palcu2013-02-131-6/+37
| | | | | | | | | | | | | | | | | | | If an intercept script fails, it would be helpful to fall-back to running the postinstall on target's first boot. In order to achieve that, the postinstalls that install a host intercept hook will have to return 1, so that the postinstall is marked as unpacked only. If the intercept hook fails, then we're ok, the postinstalls will be run on target anyway. If it succeeds, then mark the packages as installed. This logic was chosen mainly because of rpm backend which saves the failed postinstalls in /etc/rpm-postinsts. Hence, in order to mark the packages as installed, all we have to do is delete the scriptlets from there. (From OE-Core rev: ed8ac4ee43132ae974794038821f7ca5465ae556) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_check: Remove creation of empty Meego filelist.Anders Roxell2013-02-121-6/+5
| | | | | | | | | | This fixes permissions errors when running distrodata. (From OE-Core rev: c58e6cf352774e147038e6543ac95ab0060f2327) Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 9.0.2Constantin Musca2013-02-122-2/+2
| | | | | | | | (From OE-Core rev: 7a0eca4379b72981a378ffe62f4e8e3428ee791a) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: upgrade to 0.29.2Constantin Musca2013-02-122-18/+3
| | | | | | | | | | | obsolete_automake_macros.patch: removed - included in the new version (From OE-Core rev: 31fc8a621fbeb4f5bec7c6b6fd03043bb382c34d) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: upgrade to 1.12.12Constantin Musca2013-02-121-2/+2
| | | | | | | | (From OE-Core rev: d5cd3638d339e2154696792160f93b155cb7b086) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gamin: replace obsolete automake macros with working onesMarko Lindqvist2013-02-122-2/+27
| | | | | | | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already present. (From OE-Core rev: 84f083ac3a218513411e7c28edada7a80af8ad8c) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffutils: replace obsolete automake macros with working onesMarko Lindqvist2013-02-122-2/+18
| | | | | | | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already present. (From OE-Core rev: 5e1a567872d6967ac4d5b78e9d226161d9651ded) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: replace obsolete automake macros with working onesMarko Lindqvist2013-02-123-1/+29
| | | | | | | | | | | | | Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already present. (From OE-Core rev: 3a335af7da5a94249d2f0d49d89cf0c8f180776e) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn: remove help2man dependencyMarko Lindqvist2013-02-122-2/+27
| | | | | | | | | | | | | Remove manpage creation. It wasn't working because of help2man missing when libidn is being built. This attempt to create manpages without help2man turns from no-op to hard error with automake-1.13. (From OE-Core rev: 46a4a696eec4d92beac1072fe6c64da1089c7cf8) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texinfo: remove help2man dependencyMarko Lindqvist2013-02-122-1/+81
| | | | | | | | | | | | | Remove manpage creation. It wasn't working because of help2man missing when texinfo is being built. This attempt to create manpages without help2man turns from no-op to hard error with automake-1.13. (From OE-Core rev: 2c8cebdfd8102d4386b5d42a7fc30cc81e8e2ef2) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: fix build with automake-1.13Marko Lindqvist2013-02-123-2/+35
| | | | | | | | | | | | | | - Add obsolete_automake_macros.patch that replaces automake macros no longer supported by automake-1.13 with modern constructs. - Use of $(top_srcdir) in TESTS is an error causing automake-1.13 to abort. Disable the tests completely. (From OE-Core rev: 751b5e76768d9fa4e40405a12ad008aa9af1561d) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Write DPKG_ARCH to /etc/apt/apt.confStefan Eichenberger2013-02-121-0/+5
| | | | | | | | | | | | Apt does not recognize the architecture if a different one is set with DPKG_ARCH (e.g. armel). This patch writes the correct architecture to /etc/apt/apt.conf. (From OE-Core rev: 81b8c36641994dc7a4e025f2d43f9ce57d04b6f0) Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: Improve debugging capabilities for SDK installerJason Wessel2013-02-121-6/+42
| | | | | | | | | | | | | | | | | | | | After having to debug the SDK installer a few times in addition to the relocation code the following patch was created to improve the capabilities around debugging the SDK installer. 1) Add a verbose mode -D which set a set -x to see what the SDK installer is doing. 2) Add a mode -S to save the relocation scripts for the purpose of debugging them in conjunction with -D 3) Add a mode -R to not execute the relocation scripts for the purpose of debugging the relocations. (From OE-Core rev: 0e6dd19b9736d2a8ae7c0f0ab124337d579b8f06) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Remove generate_git_config()Darren Hart2013-02-111-21/+0
| | | | | | | | | | git no longer supports the use of GIT_CONFIG which defeats the purpose of GIT_CORE_CONFIG and the generate_git_config() function. Remove it. (From OE-Core rev: c485322fa2b89eb90efd88969d0c73575f128af7) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: use system SQLitePaul Eggleton2013-02-111-1/+1
| | | | | | | | | | | | | | We've always been depending on external SQLite, however by default Qt builds using its own internal copy of SQLite. Add the configure option to actually use the external SQLite library and make it clearer which version is in use. Fixes [YOCTO #2514]. (From OE-Core rev: 33e0afd2fffdef4dccfce6383bc646f975972b1e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: enable multilib supportConstantin Musca2013-02-113-2/+4
| | | | | | | (From OE-Core rev: ee7331e3e7d0b38f3e19ccf7e394537f5f653a22) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.bbclass: save multilib variables before executing the ↵Constantin Musca2013-02-111-5/+6
| | | | | | | | | gcc-cross-canadian statements (From OE-Core rev: 45528026c190c7c3b121e9fb65747d050b2bb21a) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd.bbclass: use PACKAGESPLITFUNCS instead of populate_packages_prependRoss Burton2013-02-111-7/+7
| | | | | | | | | This is cleaner and leads to more accurate profiles. (From OE-Core rev: eed7294ba9aedf47af5c64ff11777015e59f48ef) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: rename the patches directoryRoss Burton2013-02-111-0/+0
| | | | | | | | | | Rename the patches directory to files as we only have one version of fontconfig, so the hassle of moving these files every upgrade can be avoided. (From OE-Core rev: 67a279f517fc43e418482cc104458875264141f6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: drop explicit -native recipeRoss Burton2013-02-112-14/+2
| | | | | | | | | | | | Instead, use BBCLASSEXTEND=native in fontconfig. We can drop the installation of fc-lang/fc-glyphname, they are not used by fontconfig's build anymore as it ships the generated files in the tarball. (From OE-Core rev: d5ccc6cbbbdc7502d35ddcbbc2bfc2d4657cbe78) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: remove unexplainable and broken build tweakingRoss Burton2013-02-112-59/+3
| | | | | | | | | | | | | | | | | | | | | | | The build flag twiddling in do_configure_append was unexplainable and clearly wrong (native flags for a cross build), remove it all. Parallel make appears to be working now, so enable it. The tarball doesn't contain read only sources, remove the unpack hacking. The pkgconfig doesn't need patching as the freetype link lines are the same. Don't need to specify where freetype is, it's found automatically. Merge fontconfig-util-dbg into fontconfig-dbg. Don't export HASDOCBOOK, --disable-docs is sufficient to turn off documentation building. (From OE-Core rev: ba3db5f5e7055d597b21d8b5f8e60bc3c4f12bd2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/path.py: support missing directory components in realpath()Enrico Scholz2013-02-112-17/+19
| | | | | | | | | | Some use cases in OE operate on symlinks which dangling path components. Assume that these are directories instead of raising ENOENT. (From OE-Core rev: a96e2c84f24c15b77ee1fbc1f998b8b4796b8664) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: support dangling path componentsEnrico Scholz2013-02-111-6/+2
| | | | | | | | | | | | | | Commit ec2aab09769f4b6817d74d2175afa2b7c7598750 introduced a regression on packages which contain symlinks with unresolvable path components (e.g. lsof-dbg). While assigning a variable, an exception was raised and the exception handler accessed this variable. Patch deals both with the dangling path components by assuming them as valid directories and by avoiding the broken assignment. (From OE-Core rev: 579369b0fb27fad6d628746a50b9b798078500f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libiconv: Remove RPATH from binariesBjörn Stenberg2013-02-111-0/+6
| | | | | | | | | | Modify libtool to not add RPATH. This solves https://bugzilla.yoctoproject.org/show_bug.cgi?id=2669 (From OE-Core rev: 273c437813b19577d68fa49ec04ea42154ad70c9) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Fix ptest to build with uclibc.Björn Stenberg2013-02-112-7/+46
| | | | | | | | | | Only install eglibc-specific dependencies when building for eglibc. Tweak a test case that won't build with uclibc. (From OE-Core rev: e28e04e26893416d577ee54e03019c03865e1bf6) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib: implemented oe.path.realpath()Enrico Scholz2013-02-112-0/+176
| | | | | | | | | | | | | | | Various parts of the buildsystem have to work with symlinks. Resolving them is not trivial because they are always relative to a sysroot directory. Patch adds a function which returns the destination of a symlink by assuming a given path as the / toplevel directory. A testsuite was added too. (From OE-Core rev: 76e0bd7f8e3a3bd052a6e329f88e2d8099e899c4) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: use oe.path.realpath()Enrico Scholz2013-02-111-11/+5
| | | | | | | | | | | | | | | | | | | | oe.path.realpath() provides are common and more correct implementation for resolving symlinks within sysroot. Use it. Old implementation suffered from lot of problems; e.g. * redundant code * calls 'os.stat()' which references files on host; this can give wrong results about existing/non-existing and can cause EPERM (instead of the catched ENONENT) exceptions * does not deal with special cases like '..' leaving the sysroot. (From OE-Core rev: ec2aab09769f4b6817d74d2175afa2b7c7598750) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bblcass: use oe.path.realpath()Enrico Scholz2013-02-111-4/+1
| | | | | | | | | | oe.path.realpath() provides are common and more correct implementation for resolving symlinks within sysroot. Use it. (From OE-Core rev: 2fa5cc0d08e855e24a4497601d7cc73b9f2aa550) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses.inc: Fix display corruption and add fallback for sstate compiled pathsJason Wessel2013-02-111-3/+29
| | | | | | | | | | | | | | | | | | | | | | | CQID: WIND00402979 Display corruption was occurring on 64 bit hosts using menuconfig for the kernel and busybox with the ncurses-native or ncurses-nativesdk because the configure arguments were not sufficient vs the expected use from the upstream source. Also changed in this commit is to provide a fallback to the hard compiled paths for the terminfo and termcap. Eventually this needs to be fixed another way if we want a truly portable SDK because any SDK that is relocated or native binaries pulled out of the sstate can end up referencing terminfo files that no longer are in the same location. Because the host system has terminfo files that ncurses will happily use we might as well have a fall back to buy some time for a better fix, vs having thing just not work occasionally when using sstate. (From OE-Core rev: c820ae11ce369002063bad8b11ee95e1882c99bb) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>