summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-01-30which: Disable iberty since its not listed in DEPENDSRichard Purdie
(From OE-Core rev: 4d6420d0aa1d6e8aecc8ec0526144f9c4396a822) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30site/x86_64-linux: add cvs config variablesNitin A Kamble
configure of cvs packages was failing on the meta-toolchain for a x86_64 target. Configure error reported: checking whether printf supports %p... configure: error: cannot run test program while cross compiling This fixes [YOCTO #1781] (From OE-Core rev: 061818adbea1af9e98fe0fdf81b21f1e7f210c00) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30Nothing uses USERNAME, remove it - can cause sstate-cache conflictsMatthew McClintock
USER is the correct variable to use, also this can affect sstate cache as well. Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-01-30Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKEMatthew McClintock
Without this simply changing the number of threads via PARALLEL_MAKE can invalidate sstate-cache Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-01-30bitbake.conf Exclude MACHINE from MACHINEOVERRIDE variable dependenciesRichard Purdie
(From OE-Core rev: 362512b83775ad7020e5870a594f0e7ca9ef83ba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-aKhem Raj
Backport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free Bump up SRCREV past gcc 4.6.2 release (From OE-Core rev: dd2fdf9f5a3923c37e4ea2e46e347bb0657c2f5b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30opkg: Fix installation order in feeds with mutiple providers of packagesRichard Purdie
If two packages were available of differing priority, this would confuse opkg and it was ignoring the dependency in the new dependency ordering code. This changes it not to ignore these cases by setting the badly named 'quiet' parameter accordingly. (From OE-Core rev: c38693f78c968ab5f4bb557c20d1c8c55393ed6b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30populate_*.bbclass: Correct INSTALL variable name after recent multilib changesRichard Purdie
(From OE-Core rev: 379c77d1516fe8fdbd1cd7063f709b5266872b03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30populate_*.bbclass: Drop pointless fakeroot attribute (fakeroot is at the ↵Richard Purdie
task level) (From OE-Core rev: 2cac20439d4eb0b3a21ce37e2fa670941e6356c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30scripts/runqemu-ifup: Ensure netmask is set correctlyRichard Purdie
Without this the command will add a route for the subnet 192.168.7.0 which means multiple qemu instances can't operate correctly since all but the last one will be masked out. (From OE-Core rev: 9e00d6b343120496ec0dd72240c7b04e0a8b7eaa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30opkg: Drop the offlineroot_varname patchRichard Purdie
This break things for on target opkg usage since $D must remain unset there. (From OE-Core rev: 746ae269a475857ae57095b1fd164fe195b3d051) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30opkg: Add logic to detect and creak circular dependenciesRichard Purdie
This addresses some of the concerns about the previous opkg changes allowing it to break out of circular dependency loops with just a notice in the logs rather than effectively going OOM. (From OE-Core rev: 5a2b67b8faad3dd5417ba89d8e82ca564753ccc9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30opkg: Update svn 625 -> 633 and fix preinst issuesRichard Purdie
There is a major issue with opkg images at the moment as preinst functions are not being executed before their dependencies are installed and this is leading to corruption of images containing avahi/dbus in particular. There are various changes in upstream opkg in the last 8 revisions which make changes in this area but sadly these aren't enough to get things working for us. I've updated to the latest svn revision with this patch since it makes sense to pull in those changes first and then supplement them with the attached patches. There is a full description of the patches in the patch headers but in summary they: a) Ensure preinst functions execute with their dependencies installed. This is a pretty invasive change as it changes the package install ordering in general. b) Ensure opkg sets $D, not $PKG_ROOT which we don't use c) Change opkg to allow execution of postinstall functions which fail resulting in execution on the target device as rootfs_ipk.bbclass currently does manually. The remaining changes interface this with the rest of the OE build infrastructure, adding in the option to tell opkg to run the preinst and postinst functions, ensure the correct environment is present for the postinst scripts and removing the now unneeded rootfs_ipk class code which opkg now does itself. [YOCTO #1711] (From OE-Core rev: 2feba313c991170747381c7cf821a45c2cd04632) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30update-alternatives: Various fixesRichard Purdie
dpkg-native's update-alternatives is broken for offline work so don't install it. Also list update-alternatives in the multiprovider whitelist to avoid unwanted multiple provider warnings when multiple package backends are enabled. (From OE-Core rev: 300336fc4a310ed16a14ad041744708d54aae189) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30package_rpm: Set _tmppath to avoid races over tmp filesRichard Purdie
Occasionally we keep seeing "unable to open temp file" messages during do_package_write_rpm tasks. This appears to happen when multiple processes are writing rpm files and is likely due to using the shared system temp directory. This patch changes the tmp path to the package work directory meaning conflicts should become a non-issue. (From OE-Core rev: b2ef543284c8c8d0d3badb2e1bcadad1106982d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpmJiajun Xu
If PACKAGE_CLASSES does not set package_rpm as the first item, the root filesystem will not be generated based on rpm. We need remove rpm/zypper tests against non-rpm filesystem. [YOCTO #1757] (From OE-Core rev: 43adb8dcf4461b68a7ce0ba9d8acdb2012a70416) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30package.bbclass: Ensure paths to rpmmarcos and rpmpopt are setRichard Purdie
If rpm-native was built in an alternative location, it may not relocate correctly unless the rpmpopt and macros paths are explicitly specified. This fixes errors seen on the Yocto autobuilder where pkgconfig "provides" entries could disappear leading to image dependency failures. (From OE-Core rev: fb01bd81197057e62106aac966f9ebc4c5054f97) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30populate_sdk.bbclass: remap packages when generating sdk tarballMatthew McClintock
This fixes the issue below: | Generating solve db for /local/home/mattsm/git/poky/build_p4080ds_release/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.093784 secs | fingerprint: 9 0.000012 MB 0.000252 secs | install: 3 0.000000 MB 0.039092 secs | dbadd: 3 0.000000 MB 0.034837 secs | dbget: 12 0.000000 MB 0.000062 secs | dbput: 3 0.009532 MB 0.002731 secs | readhdr: 31 0.019160 MB 0.000084 secs | hdrload: 15 0.027924 MB 0.000116 secs | hdrget: 494 0.000000 MB 0.000691 secs | Processing task-core-standalone-sdk-target... | Processing glib-2.0... | Unable to find package glib-2.0 (glib-2.0)! | ERROR: Function 'do_populate_sdk' failed (see /local/home/mattsm/git/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/fsl-toolchain-1.0-r6/temp/log.do_populate_sdk.16975 for further information) If you have: TOOLCHAIN_TARGET_TASK += "glib-2.0" The package name was not getting remapped correctly for the do_populate_sdk case. (From OE-Core rev: 0b803ac3627c238aa7d19a23b7621f55779f2557) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30bitbake.conf: remove texinfo-native from ASSUME_PROVIDEDSaul Wold
We need to build texinfo-native to get and install the makedoc tool [YOCTO #1664] (From OE-Core rev: 8899f4840787ef043d952f8ea2ce5d78e5cc41ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30texinfo: fix compile failure due target makedoc binary being usedSaul Wold
Need to have the texinfo-native build and install a host sysroot makedoc binary and then patch the target build to use this binary. This requires that we don't ASSUME_PROVIDED texinfo-native any longer since we need to install this makedoc tool which is not part of the normal distrubtion. [YOCTO #1664] (From OE-Core rev: 9fa98de54a73465f06484ba863eccf1e07cc1e2a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30qemu: for native, do not fail if kvm is unavailablePaul Eggleton
When building qemu-native, if the linux kvm header is unavailable (as it is on CentOS 5.x 32-bit) then do not pass the --enable-kvm switch to the configure script, thus avoiding failed do_configure. (From OE-Core rev: 8c21c71f005b601f58925e9912f2cf44127e291d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30scripts/bitbake: add a version >= 2.6 checkPaul Eggleton
Unfortunately we now have code in BitBake which is parsed before the current version check and is incompatible with Python < 2.6. Rather than fixing this and being eternally vigilant for >= 2.6 feature usage, just add a version check to the wrapper script. (From OE-Core rev: 9b8a48efa3b80fea34efa51de44d10ff2b1e3193) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30scripts/runqemu: show an error if /dev/net/tun is unusablePaul Eggleton
If /dev/net/tun is either not present or is not writable by the user, then show an appropriate error message. (QEMU needs access to this device in order to enable networking; it may be missing if it is not enabled or loaded into the kernel, and some distributions such as CentOS 5.x set restrictive permissions upon it.) (From OE-Core rev: a00b94900d437828f25debce1c30ffcc0bbf29e9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30rpm: Flush old logs by change the DB_CONFIGMei Lei
Fixes [YOCTO #1174] Rpm logs will grow indefinitely, so change the config to flush those old logs. (From OE-Core rev: e2c4dff079722f256ddcab9630b5b3f8f6421cc9) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30package.bbclass: Ensure we tell rpmdeps where to find its magic fileRichard Purdie
Without this, if rpmddeps came from a sstate package which was relocated it might not find its magic file and if that happens, requires/provides in packages could get corrupted. This leads to failures at rootfs time during builds with messages like: libdbus-1.so.3 is needed by libdbus-glib-1-2-0.92-r1.armv5te since the provides would be missing in the dbus package. (From OE-Core rev: abe2a948905a997314c61a8fcd35e2b42a3f4408) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30matchbox-wm: Fix variable type in _NET_WORKAREA settingZhai Edwin
According to XChangeProperty doc, array of "long" should be used when format is 32. Wrong _NET_WORKAREA parameter caused blank screen in matchbox-desktop on 64 bit platform. [YOCTO #1689] got fixed. (From OE-Core rev: 381c7857a5b303bf9eadd7fffc39d17a2b8e31f2) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30bitbake.conf: add default PRINC 0 to be able to increment itMartin Jansa
(From OE-Core rev: 656793c706d84460f397b10ceb23ebb721ed3960) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30openjade-native_1.3.2.bb: remove CONFIGUREOPTS as vardep for do_configureMatthew McClintock
This variable was being expanded immediately and pulling in paths to the variable dependecies which causes it's sstate-cache to never be reused (From OE-Core rev: ddb8d3de34f809b9c72eb3a2223a74f75eff7911) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30dpkg-native: Fix perl pathRichard Purdie
The path to the native perl was incorrect leading to rootfs failures. This patch corrects that problem. (From OE-Core rev: 044324465bd54d53ae768f3c1e7468ae0e0c6200) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30bitbake.conf: We only care about the absolute value of baselibRichard Purdie
The value of baselib can be constructed in several different ways and from a sstate perspective we don't care how it was made up, we only care what the final value is. This uses the new functionality in bitbake to ensure we only include the value of baselib and not any intermediate dependencies. [YOCTO #1583] (From OE-Core rev: c38567894ebc31ac977f2bc89a076d0380bddcf8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30eglibc-initial: Ensure symlinks point to the correct location when built ↵Richard Purdie
from sstate cache If the sstate files are installed into a sysroot from the sstate cache, the directory to the main sysroot can change and the symlinks aren't adjusted to account for this. This is a problem specific to the toolchain bootstrap process. This patch adds up a function to recreate the symlinks, hence ensuring they always point at the correct location. (From OE-Core rev: ad0baa7d2f33a865011e0c6afe29f22aa1beea32) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30patch.bbclass: Add PATCHRESOLVE to excluded vars for generating sstate-cacheMatthew McClintock
The method of resolving the patch should not effect the sstate-cache signature. (From OE-Core rev: b64cbe0b511de8d8943ce34cbb4901239d9f0cb0) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30sstate.bbclass: Ensure we expand stamp-extra-infoRichard Purdie
Without this change we can end up looking for <stamp>.${MACHINE} instead of the expected expanded value. (From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30sstate: No need to spew out a debug message per file, summarise insteadRichard Purdie
(From OE-Core rev: c7b02c6e80819e30a0818282ab8d960243a2d0e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30sudo_1.8.1p2.bb: Pull patch from upstream to fix parallel build issueMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-01-30gcc-4.6: fix toolchain build for SH4Michael Brown
(From OE-Core rev: da7bf75bcdd5759a0f551dcb7a0326aa2f40921c) Signed-off-by: Michael Brown <Michael_E_Brown@dell.com> Port patch from base openembedded. Since 4.6 already has fixes for config.gcc, the fix only requires a one line change to gcc-cross4.inc. The patch was imported from the OpenEmbedded git server (git://git.openembedded.org/openembedded) as of commit id 3aa8afe97e9cf1340feb9c4442a6ed88b7e32c96. gcc-4.5: Fix toolchain builds for SH4/SH3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30libconvert-asn1-perl/libtimedate-perl: Convert to use allarchRichard Purdie
Both these recipes generate architecture independent packages. They can safely use the allarch class to ensure they really are indepentent from the target compiler and so forth and hence ensure sstate packages with good dependencies. [YOCTO #1075] (From OE-Core rev: 2856d3f6aca0c20acd40f7f8970ec8590e4889a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30libnss-mdns: avoid race condition in postinstPhil Blundell
Writing to "/tmp/nsswitch.conf" leads to a race condition if two copies of the postinst are running simultaneously. Fix this by modifying /etc/nsswitch.conf in place using sed -i. Also make the same change to the prerm for consistency although the race will not occur here in practice. (From OE-Core rev: 689884653938b98899fb3ba791221fdbe2f40e7f) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30alsa-lib: use PKGSUFFIX for every package to resolve multiple runtime ↵Martin Jansa
providers from target and nativesdk (From OE-Core rev: 60738953f6fee24de447cd0f9cf81cce6f8966a5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30webkit-gtk: force arm mode to work around binutils segfaultMartin Jansa
* this is just work around, would be better to fix in toolchain (From OE-Core rev: 2df59dad90f31aa48113ad8afe1af084b71a6a2c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30aspell: force ARM modeMartin Jansa
* this is just work around for ICE, better fix would be to fix gcc | ./common/fstream.hpp:23:9: note: the mangling of 'va_list' has changed in GCC 4.4 | modules/speller/default/typo_editdist.cpp: In function 'short int aspeller::typo_edit_distance(acommon::ParmString, acommon::ParmString, const aspeller::TypoEditDistanceInfo&)': | modules/speller/default/typo_editdist.cpp:77:3: internal compiler error: in gen_thumb_movhi_clobber, at config/arm/arm.md:5937 | Please submit a full bug report, | with preprocessed source if appropriate. | See <http://gcc.gnu.org/bugs.html> for instructions. | make[1]: *** [modules/speller/default/typo_editdist.lo] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/aspell-0.60.6.1-r0/aspell-0.60.6.1' (From OE-Core rev: eff532ea13a270c0e4ffaf4ab059403d612a3197) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30pulseaudio-0.9.23: force ARM modeMartin Jansa
* this is just work around, should be tested again after upgrade to pulseaudio-1.1 * otherwise build for armv4t (om-gta02) fails with this: | /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../src/modules -I../src/modules -I../src/modules/rtp -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth -I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss -I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop -I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11 -I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel -I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\" -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\" -DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\" -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c -o libbluetooth_sbc_la-sbc.lo `test -f 'modules/bluetooth/sbc.c' || echo './'`modules/bluetooth/sbc.ci | arm-oe-linux-gnueabi-libtool: compile: arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp/sysroots/om-gta02 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../src/modules -I../src/modules -I../src/modules/rtp -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/gconf -I../src/modules/bluetooth -I../src/modules/bluetooth -I../src/modules/oss -I../src/modules/oss -I../src/modules/alsa -I../src/modules/alsa -I../src/modules/raop -I../src/modules/raop -I../src/modules/x11 -I../src/modules/x11 -I../src/modules/jack -I../src/modules/jack -I../src/modules/echo-cancel -I../src/modules/echo-cancel -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_BUILDDIR=\"/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src\" -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9.23/modules\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS -DPULSE_LOCALEDIR=\"/usr/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" -DPA_ALSA_PATHS_DIR=\"/usr/share/pulseaudio/alsa-mixer/paths\" -DPA_ALSA_PROFILE_SETS_DIR=\"/usr/share/pulseaudio/alsa-mixer/profile-sets\" -O2 -pipe -g -feliminate-unused-debug-types -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option -c modules/bluetooth/sbc.c -fPIC -DPIC -o .libs/libbluetooth_sbc_la-sbc.oi | modules/bluetooth/sbc.c: In function 'sbc_synthesize_four': | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:553:18: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:565:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c: In function 'sbc_synthesize_eight': | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:595:29: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: declaration of 'tmp' shadows a previous local [-Wshadow] | modules/bluetooth/sbc.c:611:40: warning: shadowed declaration is here [-Wshadow] | {standard input}: Assembler messages: | {standard input}:6997: Error: selected processor does not support Thumb mode `mla r3,r0,ip,r3' | {standard input}:7012: Error: selected processor does not support Thumb mode `mla r3,r1,ip,r3' | {standard input}:7026: Error: selected processor does not support Thumb mode `mla r3,ip,r0,r3' | {standard input}:7215: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7230: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7241: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3' | {standard input}:7256: Error: selected processor does not support Thumb mode `mla r3,r0,r7,r3' | {standard input}:7267: Error: selected processor does not support Thumb mode `mla r3,r7,r0,r3' | {standard input}:7287: Error: selected processor does not support Thumb mode `mla r3,r7,r6,r3' | {standard input}:7301: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3' | {standard input}:7319: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3' | {standard input}:7327: Error: selected processor does not support Thumb mode `mla r3,r1,r0,r3' | {standard input}:7594: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7604: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7614: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7624: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7634: Error: selected processor does not support Thumb mode `mla r3,r5,r6,r3' | {standard input}:7647: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3' | {standard input}:7657: Error: selected processor does not support Thumb mode `mla r3,r2,r5,r3' | {standard input}:7815: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7837: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3' | {standard input}:7853: Error: selected processor does not support Thumb mode `mla r3,r9,r0,r3' | {standard input}:7875: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7891: Error: selected processor does not support Thumb mode `mla r3,r9,r7,r3' | {standard input}:7908: Error: selected processor does not support Thumb mode `mla r3,r0,r6,r3' | {standard input}:7931: Error: selected processor does not support Thumb mode `mla r3,r6,r5,r3' | {standard input}:7952: Error: selected processor does not support Thumb mode `mla r3,r0,r5,r3' | {standard input}:7960: Error: selected processor does not support Thumb mode `mla r3,r2,r0,r3' | make[4]: *** [libbluetooth_sbc_la-sbc.lo] Error 1 | make[4]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23/src' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/pulseaudio-0.9.23' | make: *** [all] Error 2 | + die 'oe_runmake failed' | + bbfatal 'oe_runmake failed' | + echo 'ERROR: oe_runmake failed' | ERROR: oe_runmake failed | + exit 1 | ERROR: Function 'do_compile' failed (see /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/pulseaudio-0.9.23-r6/temp/log.do_compile.3404 for further information) (From OE-Core rev: 31a20d50124344dc708ade282677b2c7dda171b0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30pulseaudio: inherit perlnativeKhem Raj
manpage generatition uses xmltoman utility which inturn uses xml-parser. So we add libxml-parser-perl-native to DEPENDS and also inherit perlnative so it does not use the one from build host (From OE-Core rev: 51f6a683ec1d740adf09d808671c7098dc3f83e2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30libatomics-ops: force ARM modeMartin Jansa
* otherwise ie spitz (armv5te) build fails with: | make[3]: Entering directory `/OE/shr-core/tmp/work/armv5te-oe-linux-gnueabi/libatomics-ops-1.2-r5/libatomic_ops-1.2/src' | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops.c | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_stack.c | arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp/sysroots/spitz -DHAVE_CONFIG_H -I. -fPIC -O 2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -c atomic_ops_malloc.c | atomic_ops_malloc.c: In function 'msb': | atomic_ops_malloc.c:223:2: warning: right shift count >= width of type [enabled by default] | rm -f libatomic_ops_gpl.a | ar cru libatomic_ops_gpl.a atomic_ops_stack.o atomic_ops_malloc.o | arm-oe-linux-gnueabi-ranlib libatomic_ops_gpl.a | {standard input}: Assembler messages: | {standard input}:286: Error: selected processor does not support Thumb mode `swp r1,r2,[r3]' | {standard input}:329: Error: selected processor does not support Thumb mode `swp r0,r1,[r3]' * this is just work around, proper fix proposed by Henning Heinold hm we should think of reworking this recipe now. Because since gcc 4.5 pulseaudio for arm can use the gcc internal atomicstuff and in oe-core and meta-oe we have 4.5 or 4.6 only. The lib is only needed for mips and it is still the old release, on cvs is a much better version, which supports thumb too, if remember correctly. (From OE-Core rev: 2d34fc0ce21fe06ff97208c8ffb65a718b444de9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie
The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30base-passwd: Move update-passwd into a separate packageRichard Purdie
update-passwd is the only user of the passwd/group.master files and was never used by OE since it wasn't run. This patch packages this separately and adds an appropriate postinst to make the package useful so people can include it as they wish. (From OE-Core rev: 77ab0f09546c5f6217a8e2f1bc30cf3d4306e3fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30base-passwd: Fix the broken preinst/postinstallRichard Purdie
The preinst accesses file which may not yet have been unpacked. The postinst is too late for the creation of these files for at least the opkg backend. This patch therefore encodes the file contents into the preinst, resolving the various issues once and for all. (From OE-Core rev: fc708d88f97e40a5bf929e4e02ed805fb3684ffe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30opkg: Ensure we use the uname/gname fields when extracting tarballsRichard Purdie
When extracting packages onto the target system in particular, we really want to ensure the name fields in the tarball are used over and above the numerical uid/gid values. This patch adds this functionality to opkg and ensures package upgrades work correctly permission wise. (From OE-Core rev: f2316ff39670ed99382411e15ac035550360fbdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30rootfs_ipk.bbclass: Ensure bad recommendations persist in the status fileRichard Purdie
Currently bad recommendations are added to the status file with status "ok". After a single opkg command, whilst it will ignore the recommendation, the status changes to "installed" even if the recommended package was not installed. Whilst this is likely a glitch in opkg's logic, the correct way to persist the information in the status file is to set the status to "hold" as deinstall packages with that status remain. With this change the bad recommendations persist accross multiple opkg runs and the system behaves as expected. [YOCTO #1758] (From OE-Core rev: 215ff6b2e9676c8c7dd8acfd696151bcd0f1490f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30xinit: rdepends on util-linux-mcookie to avoid brining whole util-linuxOtavio Salvador
(From OE-Core rev: a8ed4fcd79f6283c1d45f347dce894d784183900) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>