summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* useradd.bbclass: Remove base-passwd dependencyLeonardo Sandoval2015-05-161-1/+1
| | | | | | | | | | | | | | | | | | | shadow-sysroot (another useradd dependency) recipe already includes base-passwd dependency, so removing it from useradd class. This fixes the compilation issue observed when a recipe depends on another where the latter inherits from useradd as in the following scenario: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7724#c0 [Yocto #7724] (From OE-Core rev: a68a797c7aec607a0720ec5421baf6be821803b8) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/recipeutils: add a parse_recipe_simple() functionPaul Eggleton2015-05-161-3/+26
| | | | | | | | | | | | Add a function that simply parses a recipe by name and optionally the bbappends that apply to it. (Note that if you're using tinfoil you need to have initialised it with config_only=False so that it can map the recipe name to a recipe file.) (From OE-Core rev: a8f221f6c6c0562a5ed06438231c2906e542fb7b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: Move EGL requirement for WaylandOtavio Salvador2015-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | The EGL is used by the Wayland backend. When building using Software Rendering and without Wayland support the EGL backend is not available so we should not require EGL for GLES2 support. This fixes following build error: ,---- | ... | checking for bcm_host_init in -lbcm_host... no | checking for WAYLAND_EGL... no | configure: error: Could not find the required EGL libraries | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed `---- (From OE-Core rev: 9c3a94aea1de3ab98e5693640926bfc86acde2db) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: add PACKAGECONFIG for wayland and add xserver-xorg-xwaylandRobert Yang2015-05-161-1/+6
| | | | | | | | | | | | | | | | Fixed do_compile error: hw/xwayland/xwayland.h:36:28: fatal error: wayland-client.h: No such file or directory #include <wayland-client.h> ^ compilation terminated. Conditionally add xserver-xorg-xwayland pkg which contains /usr/bin/Xwayland. (From OE-Core rev: 10c379cb3b9aae093f82d75c583dfe93fcea0c18) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native.bbclass: avoid unintended substring replacement when setting PROVIDESMario Domenech Goulart2015-05-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The way native_virtclass_handler was implemented leaded to unintended substring replacements when setting PROVIDES for native providers, in case the original PROVIDES value contains providees with common substrings. Here's a practical case where the old behavior was problematic: the oracle-jse-jdk-x86-64 recipe provides both virtual/java and virtual/javac: Before: $ bitbake -e oracle-jse-jdk-x86-64-native | grep ^PROVIDES= PROVIDES="oracle-jse-jdk-x86-64-native virtual/java-native virtual/java-nativec" After: $ bitbake -e oracle-jse-jdk-x86-64-native | grep ^PROVIDES= PROVIDES="oracle-jse-jdk-x86-64-native virtual/java-native virtual/javac-native" Change-Id: I8186992dae58e37c2a2364586360ff9b7da9198f (From OE-Core rev: c28291f1fb07fbc80275d9bceefed642c963e204) Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: Update to stable version 2.6.1Saul Wold2015-05-162-14/+19
| | | | | | | | | | | | | | This fixes a build issue with the 3.19.5 kernel where the regmap prototypes have changed. The patch is rebased do to changes in the new version of the Makefile. [YOCTO #7737] (From OE-Core rev: 787fde133c6b50c5df6ce8f90b2906b7955b41e4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "libsdl: depends on libglu when x11"Ross Burton2015-05-151-2/+2
| | | | | | | | | | | | This patch was incorrect, GLU depends on GLX (and so X) but you can build SDL with X11 and without GL. This reverts commit f744f0b18c22daf8bdab837ba8096760b1ce00b8. (From OE-Core rev: d557edc559c8b77083edee2bd4178e24aaf5211c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: make xlib and libxcb dependencies explicitJoshua Lock2015-05-151-2/+4
| | | | | | | (From OE-Core rev: 963ee40b6653741af9a22af7a01ad31bd6ca97a9) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: Remove /proc/bus/usb from fstab.Andreas Oberritter2015-05-151-1/+0
| | | | | | | | | The usb filesystem was removed in Linux 3.5. (From OE-Core rev: c24f0fa366cd96a1d67564dd760b0640fa9f7b13) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: simplify perl location forcing logicRoss Burton2015-05-151-10/+2
| | | | | | | | | | | Instead of letting configure find the host's perl and then use a complicated sed to replace it at install time, simply pre-seed the configure logic with the path we want to use. (From OE-Core rev: 84a3978653a322583d413d795567fa431ac7c952) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: simplify perl location forcing logicRoss Burton2015-05-151-11/+3
| | | | | | | | | | | Instead of letting configure find the host's perl and then use a complicated sed to replace it at install time, simply pre-seed the configure logic with the path we want to use. (From OE-Core rev: 467eb93f5f252ab1a608397b9e97e1d6043501ef) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: properly fix do_boostconfig re-executionMartin Jansa2015-05-151-6/+4
| | | | | | | | | | | | | | | | | | * it was partially fixed in: commit 291e20a51544c640d07767d1dc32d762f4370f41 Author: Venkata ramana gollamudi <ramana.gollamudi@huawei.com> Date: Fri Apr 13 11:42:46 2012 +0000 Subject: boost: fix re-execution of task but with disadvantage that when CXX or *FLAGS variables were changed it was continuing to use old values * just remove the line before appending it with current values to fix that (From OE-Core rev: 8ce9584a78079b3db88eabfa902025a94443378d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade from 3.4.2 to 3.4.3Alejandro Hernandez2015-05-153-11/+14
| | | | | | | | | | | | | | | | Modifies: python3-native_3.4.2.bb -> python3-native_3.4.3.bb: Updates checksums, LICENSE did not change, dates were updated. python3_3.4.2.bb -> python3_3.4.3.bb: Updates checksums, LICENSE did not change, dates were updated. generate-manifest-3.4.py: fixes asyncio and net-tools. python-3.4-manifest.inc: fixes asyncio and net-tools. This upgrade contains a fix for CVE-2014-9365. (From OE-Core rev: 94fc3b199c169b1da850c0aade530ddcf1544d81) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Improve HASHCHECK function to make siginfo configurableRichard Purdie2015-05-151-3/+6
| | | | | | | | | | | In some cases we want to test the availability of siginfo files, in some cases we do not and really want the .tgz files (which may or may not be present too). This makes adds a parameter to the function to allow this. (From OE-Core rev: e8867b97a772f8e64fe209436c15d382b2175ca0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel/rm_work: Improve interactionRichard Purdie2015-05-152-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | The do_shared_workdir task does leave behind the necessary information in shared-work after it completes. We don't make this a "full" sstate task however since that means tarring up and copying what is usually a large amount of data which would be better extracted straight from the original SCM. The issue with rm_work occurs since it removes the do_shared_workdir stamp meaning subsequent builds will add it back if they need to touch any kernel modules for example. This ends up triggering a near enough complete kernerl rebuild since if configure reruns, populate_sysroot has to rerun. This change promotes the task to have a "setscene" variant but it doesn't use any of the sstate class lifting to generate the sstate file. The sstate function will therefore never get called since the sstate object will never exist. We can add the task to the list of tasks rm_work promotes to a setscene variant and unwanted rebuilds of the kernel should be avoided. (From OE-Core rev: 55b4f7fd217f0c65d457c731150340c18fb3fa19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Avoid find raceRichard Purdie2015-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | In a similar way to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=aa1438b56f30515f9c31b306decef7f562dda81f and http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4 there is a find race in base.bbclass. For recipes with PACKAGES_remove = "${PN}", the find which removes .la files can race against deletion of other directories in WORKDIR e.g.: find: '/home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/sstate-build-populate_lic': No such file or directory | WARNING: /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7/temp/run.do_configure.6558:1 exit 1 from | find /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0-r7 -name \*.la -delete Fix the race in the same way. [YOCTO #7522] (From OE-Core rev: 90861b8908d254154f4d1d613471070df8013da8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix x32 make raceRichard Purdie2015-05-142-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On x32 builds, sysd-syscalls appears malformed since the make-target-directory appears on the wrong line. This causes races during the build process where you can see failures like: Assembler messages: Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/gettimeofday.os: No such file or directory Assembler messages: Fatal error: can't create [...]glibc/2.21-r0/build-x86_64-poky-linux-gnux32/time/time.os: No such file or directory The issue is that the carriage return is being escaped when it should not be. The change to sysd-syscalls with this change: before: """ $(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \ $(..)sysdeps/unix/make-syscalls.sh $(make-target-directory) (echo '#include <dl-vdso.h>'; """ after: """ $(foreach p,$(sysd-rules-targets),$(objpfx)$(patsubst %,$p,time).os): \ $(..)sysdeps/unix/make-syscalls.sh $(make-target-directory) (echo '#include <dl-vdso.h>'; """ which ensures the target directory is correctly created. Only x32 uses the vdso code which contains the bug which is why the error only really appears on x32. (From OE-Core rev: ae4729ed6c5e5443c42f8825dd85873f06a3570e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils: Fixed a problem with get_bb_var not returning right variable.Lucian Musat2015-05-141-2/+3
| | | | | | | | | | It searches using regex now and should be more accurate. (From OE-Core rev: 1ae7e1cc4a5c7a217dee937c330539e5c8ac794d) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libevent: add ptestDmitry Eremin-Solenikov2015-05-142-1/+34
| | | | | | | | | | Use provided regression testing as a ptest for libevent package. (From OE-Core rev: d32fb4c50f73d169d7b9a238801aa72d77560135) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: removing workaround odering journal after remote-fs.targetBruno Bottazzini2015-05-141-3/+0
| | | | | | | | | | This workaround is not needed in version 219 since the fix is upstreamed with: 919699ec301ea507edce4a619141ed22e789ac0d (From OE-Core rev: e3330d0602fb3ad347f028063d25f634a36ea344) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-tools: set CLEANBROKENRobert Yang2015-05-141-0/+2
| | | | | | | | | | | | | | | Fixed: make[1]: Entering directory `alsa-tools-1.0.28/envy24control' make[1]: *** No rule to make target `clean'. Stop. There is no "make clean" in envy24control when DISTRO_FEATURES is changed from no-x11 to x11. (From OE-Core rev: 8ccc47c37765487b535c4d6a8b43c2b6365ff000) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd.bbclass: drop has_exactly_one_service settingDmitry Eremin-Solenikov2015-05-141-3/+0
| | | | | | | | | | | The has_exactly_one_service variable was used in now deleted code. Drop this part to make code cleaner. (From OE-Core rev: 8acee5a86efd146186e0de1c41d0e4e4223d8b36) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: add PACKAGECONFIG for bluezRobert Yang2015-05-141-2/+6
| | | | | | | | | | | | | | | Fixed: net.c:65:34: fatal error: bluetooth/bluetooth.h: No such file or directory # include <bluetooth/bluetooth.h> ^ compilation terminated. And use "??=" rather than "?=" for PACKAGECONFIG. (From OE-Core rev: 5492fb3b0d0ec4673c7d1d1c74c9500d20a9ac43) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* socat: fix for parallel buildRobert Yang2015-05-142-0/+36
| | | | | | | | | | | | | | Fixed: vsnprintf_r.o: file not recognized: File truncated collect2: error: ld returned 3 exit status Makefile:122: recipe for target 'filan' failed Let filan depend on vsnprintf_r.o and snprinterr.o to fix the issue. (From OE-Core rev: ee0a4412d66a2dd001defae7615f02e0617d91ed) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: 9.15 -> 9.16Robert Yang2015-05-144-948/+49
| | | | | | | | | | | | | | | * Update LICENSE's md5sum, the new version added a "of" in the file, the license is the same. * Remove ghostscript-9.02-parallel-make.patch, it has 932 lines and modified 24 files, which is hard to maintain, and it can't be applied since the code has changed, and if we meet parallel issues again, we need fix it in other ways. * Fix a build error of -Werror=return-type. (From OE-Core rev: c5adb5903bd93f1c71acd52062d8c8620de2f944) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr: 1.5.1 -> 1.5.2Robert Yang2015-05-142-9/+6
| | | | | | | | | Updated upgrade-and-fix-1.5.1.patch. (From OE-Core rev: 49dd0b1ae91bd869c55ec3bd22bda1bdd4815088) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre: 8.36 -> 8.37Robert Yang2015-05-141-3/+3
| | | | | | | | | | | | | | The LICENSE's md5sum has changed mainly because the new version added this line: The data in the testdata directory is not copyrighted and is in the public domain. The license is the same, so just update the md5sum. (From OE-Core rev: b0b40fc7c8117570ea01f60a62ce05e0215878f7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils_6.9.bb: Fix LSB NG Cases.Li xin2015-05-141-0/+2
| | | | | | | | | | | | | | | -/tset/LI18NUX2K.L1/utils/sort/T.sort #1/3/17/19/33/35 -/tset/LI18NUX2K.L1/utils/comm/T.comm #1/2 The LSB test require comm can handle multibyte characters and sort can interpret blank and alphanumeric character according to the current locale and so on. (From OE-Core rev: eb08296ae988c7945a424cf98d521d3aebe15b62) Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: separate B and SRobert Yang2015-05-141-2/+4
| | | | | | | | | | Fix B != S and separate them. (From OE-Core rev: 1938a4435cd77494e539961bdfa907ae32a01147) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xf86-video-cirrus: Upgrade 1.5.2 -> 1.5.3Jussi Kukkonen2015-05-141-2/+2
| | | | | | | (From OE-Core rev: 2176e77f9dd4bbfc0a032e63ab0ec87847d660d3) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-qt: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | | It can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: f797e503a1429d315ca3fee979e28994b76d03df) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at-spi2-atk: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | It can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: a9ad7772060cfa4a1f0760dfa407a78aa2bc4e4f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-sato: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-1410-9/+41
| | | | | | | | | They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: fa1d9b518708103b0b2e259aa78f8dd694cfc0d6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-gl: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | It can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: 6a71e9063b2f509bb35e63c3b9951df16f555c88) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-148-8/+32
| | | | | | | | | They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: 908f6f2ded18d5301f428e685bface60335bd791) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-142-2/+8
| | | | | | | | | They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: e66f1c830bfee09ed9a043ade5374fe61fea3c99) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libowl/settings-daemon/libnotify: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-146-9/+28
| | | | | | | | | | | | | | | | | | The libowl, settings-daemon and libnotify requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES, so add x11 to REQUIRED_DISTRO_FEATURES. The leafpad, settings-daemon and oh-puzzles requires libowl or settings-daemon, so add xx to REQUIRED_DISTRO_FEATURES for them too. The leafpad can't be built without libowl, so depends in directly rather than use DEPENDS_append_poky. (From OE-Core rev: 1722ce23075a00e111145cad6daa2ef87ba391fe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: depends on libglu when x11Robert Yang2015-05-141-2/+2
| | | | | | | | | | Let it depend on libglu when x11 rather than opengl, since libglu can't be built without x11. (From OE-Core rev: 777080af697d35b3f983465d6a094f4171e57e56) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglu: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | | It requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES. (From OE-Core rev: 89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: only enable glu when x11 in DISTRO_FEATURESRobert Yang2015-05-141-2/+2
| | | | | | | | | | | | | | | Fixed when no x11 in DISTRO_FEATURES: checking for GL/glu.h... no configure: error: GLU not found The GL/glu.h is provided by libglu, and libglu requires libGL.so which is provided by mesa, but mesa doesn't build out libGL.so without x11 in DISTRO_FEATURES, so only enable glu when x11 in DISTRO_FEATURES. (From OE-Core rev: 3905be16940ea642244935517f121a84e28aac0f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix do_install_appendRobert Yang2015-05-142-2/+2
| | | | | | | | | "ifdef MESA_EGL_NO_X11_HEADERS" -> "if defined(MESA_EGL_NO_X11_HEADERS)" (From OE-Core rev: 3a464d67b60f70b865f7db768e7edc53e40ff450) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: fix python path and add libxml2-pythonRobert Yang2015-05-141-10/+10
| | | | | | | | | | | | | | | | | | | | We have libxml2-python for native and nativesdk, but don't have it for target, and can't find the reason from the git log, libxml2-python is widely used, after looked into it's configure.in, we can add it by PACKAGECONFIG. The previous --with-python=${STAGING_BINDIR}/python is incorrect, it acted as work becase it's conigure can check automatically, python is in ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}, as known as ${PYTHON}. Add python to PACKAGECONFIG, since createrepo rdepends on libxml2-python, otherwise the target createrepo can't work. (From OE-Core rev: ed72e123724599e70eb4d283f06fca3e56a8b50a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: inherit pkgconfigChristophe Guillon2015-05-141-1/+1
| | | | | | | | | | | Without pkgconfig being present at build time it's possible for the .pc files to not be installed correctly. (From OE-Core rev: f049a53078b3876be9fefc1e5f64404a3f378724) Signed-off-by: Christophe Guillon <christophe.guillon@st.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-x11-free: make virtual/libgl dependency conditionalDmitry Eremin-Solenikov2015-05-141-1/+2
| | | | | | | | | | | | Make qt4-x11-free depend on virtual/libgl only if the DISTRO_FEATURES contains opengl. Otherwise there will be no package to fullfil this dependency. (From OE-Core rev: aef3ffd3b3a1fa72dfccf1fd4b9f8cf9d3812fa8) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Increased verbosity for connectivity checkMariano Lopez2015-05-141-2/+2
| | | | | | | | | | | | | | | | The connectivity sanity error doesn't tell you which URL failed to fetch nor how it failed. This provides the URL that failed and why it failed using BBFetchException messages during the connectivity check. [YOCTO #7592] (From OE-Core rev: e025d1ff02795fc9236b41606e916749f0d5e959) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315Roy Li2015-05-143-1/+451
| | | | | | | | | | | | | | | | | | | | | | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9636 unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds read or write and crash) via an extra field with an uncompressed size smaller than the compressed field size in a zip archive that advertises STORED method compression. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1315 Buffer overflow in the charset_to_intern function in unix/unix.c in Info-Zip UnZip 6.10b allows remote attackers to execute arbitrary code via a crafted string, as demonstrated by converting a string from CP866 to UTF-8. (From OE-Core rev: f86a178fd7036541a45bf31a46bddf634c133802) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernelshark: fix for rebuildRobert Yang2015-05-141-2/+1
| | | | | | | | | | | | Fixed when rebuild: | NOTE: make prefix=/usr bindir_relative=bin libdir=lib NO_PYTHON=1 gui clean | make: *** No rule to make target `sysroots/x86_64-linux/usr/lib/i586-poky-linux/gcc/i586-poky-linux/4.9.2/include/stddef.h', needed by `event-parse.o'. Stop. | ERROR: oe_runmake failed (From OE-Core rev: 6cb0e401f0bfc962eb9f57988fd93f0b0d43c79b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-5: fix installed-vs-shippedRobert Yang2015-05-141-2/+6
| | | | | | | | | | gcc-5.1.0: gcc: Files/directories were installed but not shipped in any package: /usr/bin/i586-poky-linux-gcov-tool (From OE-Core rev: 3e2ca755624c13a8249ac66672ebf4d8d7217e62) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module/module-base/lttng-modules: Improve kernel module dependenciesRichard Purdie2015-05-143-8/+4
| | | | | | | | | | | | | | | | | If we have DEPENDS = "virtual/kernel" is means that the kernel module depends on the kernel's do_populate_sysroot task. This is not entirely desireable since that depends on do_install which depends on do_compile_kernelmodules and so on. In a situation where rm_work in involved this can cause some pretty length build cycles after the kernel workdir has been cleaned up by rm_work. As well as removing this, take the opportunity to clean up duplicated dependency lines, tweak the dependency of make_scripts for the same reason and generally try and make things more readable. (From OE-Core rev: a641247d262971db2d44815c5a668e7e50bdaf4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl/orc: virtclass-native -> class-nativeRobert Yang2015-05-142-2/+2
| | | | | | | | | The virtclass-native is out of date. (From OE-Core rev: ed51b382928ee5f14d524e08a00a0c8931c491c5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>