summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2014-12-05Revert "busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)"Hongxu Jia2
Since the gcc has resolved this, so we revert the workaround patch. This reverts commit f026b7a211a44acdb7fadb50b1a84aa3e369450a.
2014-12-05openssh: fix using the original config files in srcdirZheng Junling1
Currently, we install our own ssh_config and sshd_config into ${S} in do_compile_append() task. So when finishing compiling, their .out files are generated by the original files, rather than by our own files. In most cases, installing "$(CONFIGFILES)" in Makefile will generate .out files again, and then installing "install-sysconf", which will install these two files into $(DESTDIR), thus we get what we expect. However, when parallel installing, "install-sysconf" may be installed before "$(CONFIGFILES)" sometimes. In this rare case, the .out files generated in the first time rather than those in the second time will be installed into $(DESTDIR), and thus we get an unexpect result. This patch fixes this bug through transfering the installing of our own files from do_compile_append() into do_configure_prepend(). Signed-off-by: Zheng Junling <zhengjunling@huawei.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05package_manager.py: fix arguments to string formatRoss Burton1
Multiple arguments to string formats need to be in a tuple. Reported by Lorenz <lqb.list@gmail.com>. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05eglibc: modified option-groups.h generationJuro Bystricky2
option-groups.h only explicitely #defines options that are enabled. EGLIBC options are typically pre-processed under the assumption that if an option is not explicitely defined then it evaluates as 0. This assumption is correct, but it generates a compiler warning message each time an undefined symbol is being evaluated. In order to remove the warnings, each EGLIBC option is now defined as 1 if the option is enabled or as 0 otherwise. The consequence is we cannot use #ifdef OPTION_XXX when evaluating the option, we must always use #if OPTION_XXX. [YOCTO #7001] Signed-off-by: Juro Bystricky <jurobystricky@hotmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05mesa-demos: Move util to the front of the SUBDIRS variable.Drew Moseley1
This forces it to be built first since many of the demos require it. Resolves build failures such as the following when certain demos are enabled (notably when PACKAGECONFIG contains glut): make[2]: *** No rule to make target `../util/libutil.la', needed by `copypix'. Stop. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05glew: Additional fix for generation of glew.pc.Drew Moseley1
Without this fix, building mesa-demos with the glew PACKAGECONFIG will result in errors like the below being logged in tmp/work/*/mesa-demos/*/build/config.log: configure:16529: checking for GLEW configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4" Package @requireslib@ was not found in the pkg-config search path. Perhaps you should add the directory containing `@requireslib@.pc' to the PKG_CONFIG_PATH environment variable Package '@requireslib@', required by 'glew', not found configure:16539: $? = 1 Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05image.bbclass: whitespaceMichael Jones1
Don't mix tabs and spaces Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05image.bbclass: remove comment that readonly only works for sysvinitMichael Jones1
Should have been removed with 92f956d tweak read_only_rootfs_hook to also support systemd based systems Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05qt4: disable webkit for mips64 n32 temporarilyJackie Huang1
Disable webkit for mips64 n32 temporarily that fails to compile. The webkit package also disable the build for n32: f5c4d18 webkit/midori: block to build webkit on mips64 with libn32 ABI The opened defect in qt upstream is: https://bugreports.qt-project.org/browse/QTBUG-39224 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05Revert "qt4*.bbclass: disable build qt on mips64 with 64 bits userspace"Jackie Huang2
This reverts commit 17890ebd637da0b3bf78804002d8b4f0ace078d2. qt4 is upgraded to 4.8.6 and this is fixed by: c889b40 qt webkit: add support for MIPS64 platforms so revert the commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05bootchart2: fix to find collector correctly in case of multilibChen Qi1
This patch fixes the following error of being not able to find the bootchart-collector program when using bootchart2 in multilib system. In order for bootchartd to correctly find the collector program, we need to set several vars while compiling. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05systemd: add PACKAGECONFIG for 'manpages'Chen Qi1
Instead of always disabling manpages for systemd, we use PACKAGECONFIG for 'manpages' so that the manpages for systemd could be built out correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05libxslt: create wrapper to avoid host system referencingChen Qi1
By default, xsltproc from libxslt would use configuration files under /etc/xml. To avoid host system contamination, we create a wrapper for this command to make it use configuration files in the sysroot directory. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05kernel-yocto.bbclass: fix shell syntax errorPaul Eggleton1
Spaces aren't valid around = in an assignment statement (not even with bash). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05gnutls: disable tpmChong Lu1
Disable tpm to solve following error: .../usr/lib64/libtspi.la: No such file or directory trousers isn't an oe-core recipe, disable it for now. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05powertop: update version number from 2.6.1 to 2.7Ezra Savard1
The v2.7 release of powertop fixes devfreq support for ARM, along with other bug fixes. v2: deletes old file v3: fixed SRC_URI and checksums Signed-off-by: Ezra Savard <ezra.savard@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05gstreamer1.0-plugins-bad.inc: Disable cocoa on configureJean-Michel Hautbois1
When configuring, if GNUstep is found on host, the configure script thinks that ist is running osx and so enables cocoa support. Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05cmake: supply CMAKE_AR in toolchain fileCody P Schafer1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05valgrind: Upgrade to 3.10.0Saul Wold4
Rebase existing patches Add patch to fix rpath issue with ptest Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-05weston: fix plugin location in FILESRoss Burton1
The plugins are installed to ${libdir}/weston, not ${libexecdir}. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptestRoss Burton1
As this recipe's ptest support is merely a shim to pull in dbus-test-ptest it doesn't inherit ptest. This means that PTEST_ENABLED isn't ever set, so check DISTRO_FEATURES directly. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05python: remove spurious nativesdk dependencyRoss Burton1
There's no need to add a dependency on python-crypt_class-native to nativesdk-openssl as the general dependency there is transformed appropriately. Presumably this is cruft from back when SDK packages were suffixed instead of prefixed, and there were mapping problems. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05python: ensure all of Python is installed in nativesdkRoss Burton1
If any part of Python gets installed in a SDK, we need to ensure that all of Python gets installed to avoid replacing python in the environment with a minimal package set. [ YOCTO #6735 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03gdb: disable GuileRoss Burton1
GDB 7.8 added Guile support, and it will auto-detect if Guile is present (which is non-deterministic, so bad), and if it's present will fail to find the guild binary as it doesn't consider the sysroot. For now disable Guile support in GDB, if there is a need to have it enabled in the future then GDB/Guile can be fixed. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03attr: use EXTRA_AUTORECONF to disable autoheaderRoss Burton1
Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03bash: use EXTRA_AUTORECONF to disable autoheaderRoss Burton1
Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03toolchain-script: Add support for ccache builds with the SDKLaszlo Papp1
It is necessary to have an SDK for developers who build their software with ccache to speed up the compilation. Without resolving this, unfortunately the compilation will fail for them. Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03libpam: avoid overwritting editable files during package updatingJian Liu1
Use CONFFILES to mark editable files as such, /etc/pam.d/common-session /etc/pam.d/common-auth /etc/pam.d/common-password /etc/pam.d/common-session-noninteractive /etc/pam.d/common-account If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03initscripts: avoid overwritting editable files during package updatingJian Liu1
Use CONFFILES to mark editable files as such, /etc/init.d/checkroot.sh If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03base-files: avoid overwritting editable files during package updatingJian Liu1
Use CONFFILES to mark editable files as such, /etc/motd /etc/nsswitch.conf /etc/profile If there is no %config micro before the file name in the spec file, this file will be overwritten after updating package. This will make our settings lost. Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03package_manager.py: check the result of create_indexHongxu Jia1
While invoking create_index failed, there was no error output and didn't break the build until the package installation. ... |ERROR: run-postinsts not found in the base feeds (qemux86 i586 x86 noarch any all). ... The reason is we used multiprocessing to execute create_index, and did not check its invoking result. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03compress_doc.bbclass: support update-alternativesHongxu Jia1
While doc file make use of update-alternatives to fix confliction, we should reconfigure update-alternatives for doc compression. Such as util-linux-doc: ... update-alternatives --install /usr/share/man/man1/last.1 last.1 /usr/share/man/man1/last.1.util-linux 100 ... was updated by doc_compress to ... update-alternatives --install /usr/share/man/man1/last.1.bz2 last.1.bz2 /usr/share/man/man1/last.1.util-linux.bz2 100 ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03compress_doc.bbclass: improve manual file detectionHongxu Jia1
The previous detection missing the following manual file: ... gawk-doc/usr/share/man/man3/readfile.3am libpcap-doc/usr/share/man/man3/pcap_dump_open.3pcap ... We use re to imporve it. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03metadata_scm: Fix crash due to uncaught python exceptionMerten Sach1
Function base_get_metadata_svn_revision was crashing due to an uncaught IndexError exception. The except notation without parentheses is legacy syntax. It is the equivalent to 'except IOError as IndexError' which is not what we want here. The change catches both exceptions. Signed-off-by: Merten Sach <msach@mailbox.tu-berlin.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03serf: fix 'ccache' buildsEnrico Scholz2
'scons' cleans the environment which breaks ccache builds because CCACHEDIR can point to an unexpected location: | ccache arm-linux-gnueabi-gcc ... context.c | ccache: failed to create .../serf/1.3.8-r0/.home/.ccache (No such file or directory) Issue is described in http://www.scons.org/wiki/ImportingEnvironmentSettings and because 'bitbake' cleans environment we can pass it completely instead of trying to enumerate needed env. With the 'env.patch' the FULLCC variable is not needed anymore (which would break when CC is 'ccache arm-...-gcc' and host ccache is used) because the correct $PATH is available during scons build: | sh: .../sysroots/x86_64-oe-linux/usr/bin/arm-linux-gnueabi/ccache: No such file or directory | scons: *** [context.o] Error 127 Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03package.bbclass: Create empty key/value if not there for shlib_providerKhem Raj1
When we use ASSUME_SHLIBS,e.g. ASSUME_SHLIBS = "libEGL.so.1:libegl-implementation" then we end up with errors like below when using shlibs2 (dizzy+) File: 'package_do_shlibs', lineno: 216, function: package_do_shlibs 0212: dep_pkg = dep_pkg.rsplit("_", 1) 0213: if len(dep_pkg) == 2: 0214: lib_ver = dep_pkg[1] 0215: dep_pkg = dep_pkg[0] *** 0216: shlib_provider[l][libdir] = (dep_pkg, lib_ver) 0217: 0218: libsearchpath = [d.getVar('libdir', True), d.getVar('base_libdir', True)] 0219: 0220: for pkg in packages.split(): Exception: KeyError: 'libEGL.so.1' This is because the entry which is being populated does not exist so lets create it if its not already there. Change-Id: I9e292c5439e5d1e01ea48341334507aacc3784ae Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03resolvconf: add fixes for busybox and make it workSaul Wold3
resolvconf was missing a script and needed readlink which was in /usr/bin. Also the /etc/resolv.conf was not being correctly linked to /etc/resolvconf/run/resolv.conf, which is fixed by the volaties change which is now a file as opposed to created in do_install. Ensure that the correct scripts for ifup/ifdown get installed and that resolvconf is correctly enabled at startup [YOCTO #5361] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03pseudo: remove older version and patchesSaul Wold6
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03boost: Upgrade to 1.57Saul Wold4
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03npth: Upgrade to 1.1Saul Wold2
Add patch for adding pkgconfig file. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03babeltrace: Upgrade to 1.2.3Saul Wold3
Remove backported patches Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03curl: Ugrade to 7.38Saul Wold3
Remove backported CVE patches Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03connman-gnome: fix dbus interface nameChong Lu2
This patch resolves following error: "connman-dbus.xml": "connman" is not a valid D-Bus interface name Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-12-03dbus-glib: Upgrade to 0.102Chong Lu6
Remove obsolete_automake_macros.patch, since upstream has merged it. Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-12-03dbus-test: Upgrade to 1.8.10Chong Lu1
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-12-03dbus: Upgrade to 1.8.10Chong Lu2
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-12-03libnewt/libnewt-python: upgrade to 0.52.18Hongxu Jia2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03cracklib: upgrade to 2.9.2Hongxu Jia1
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03gcc: Rework shared workRichard Purdie7
The current implementation of shared work for gcc is at best confusing. It relies on the fetch/unpack/patch tasks having exactly the same stamps and if this gets broken for some reason, its hard to figure out what the problem is. It also leads to complex code in bitbake. The benefits of shared work for gcc are clear but a better approach is needed. This patch adjusts things so that a single new recipe (gcc-source) provides the fetch/unpack/patch/preconfigure tasks, the rest of gcc simply depends on these tasks and have no fetch/unpack/patch tasks of their own. This means we should get the significant benefits (disk usage/performance) of the single source tree but in a way which has less potential for problems and is easier for people to understand. The cost is an extra recipe/some inc files which is probably a good tradeoff. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-03bitbake.conf: remove internal flags from BB_SIGNATURE_EXCLUDE_FLAGSRoss Burton1
As the code that uses BB_SIGNATURE_EXCLUDE_FLAGS uses d.getVarFlags() so doesn't get to see the internal flags, remove _append and _prepend. Also defaultval is now _defaultval and thus internal, so remove that too. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>