Commit Graph

4382 Commits

Author SHA1 Message Date
Alejandro Mery 718daa9754 gitver: fix broken ${GITSHA} and recursion in S when PV="${GITVER}"
v2:
* use git rev-parse instead of rev-list for consistency with get_git_pv
* fix getVar() to pass `expand` as required by morty's bitbake

Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:35:51 -07:00
Alejandro Mery c90b1753c9 gitver: extend class to use EXTERNALSRC if set
Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:35:51 -07:00
Alejandro Mery 2a53b11d6c gitver: fix try/except syntax for python3 support
https://www.python.org/dev/peps/pep-3110/

It's backward compatible with 2.6+

Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:35:43 -07:00
Denys Dmytriyenko 1ec6d57e43 devmem2: use different filename to avoid checksum conflicts
The newly resurrected devmem2.c file besides having a new location, also
updates its header, producing different checksums, which would conflict
with any previously cached or mirrored instances. To avoid such conflicts,
use a different filename in fetch(). Rename it back to original name at
unpack() for devmem2-fixups-2.patch to succeed w/o modifications.

WARNING: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c'. Checksum mismatch!
File: '/OE/master/downloads/devmem2.c' has md5 checksum be12c0132a1ae118cbf5e79d98427c1d when e23f236e94be4c429aa1ceac0f01544b was expected
File: '/OE/master/downloads/devmem2.c' has sha256 checksum ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191 when 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d"
SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

WARNING: devmem2-1.0-r7 do_fetch: Renaming /OE/sources/devmem2.c to /OE/sources/devmem2.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:29:44 -07:00
Nicolas Ferre 728873eabd devmem2: Change source URL to regain access to it
Change URL due to connexion error on the original page.
As the header of the new devmem2.c source file has changed, change the
signature and the LIC_FILES_CHKSUM specificaiton.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:29:39 -07:00
Martin Jansa 27cd419817 hwdata: use github instead of fedorahosted.org
* fedorahosted is retired
  https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:21:46 -07:00
Martin Jansa 9d58874ebc ttf-liberation-sans-narrow: use pagure.org instead of retired fedorahosted.org
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:21:30 -07:00
Martin Jansa d13eaa968c libqb: inherit autotools-brokensep
* otherwise build fails with:
  http://errors.yoctoproject.org/Errors/Details/138387/
  make[2]: *** No rule to make target 'auto_check_header_qbconfig.c', needed by 'auto_check_header_qbconfig.o'.  Stop.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:21:15 -07:00
Martin Jansa acb4380ff1 libqb: use github.com instead of retired fedorahosted.org
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:21:01 -07:00
Martin Jansa d2b564a4b4 mailcap: use pagure.org instead of retired fedorahosted.org
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-26 11:20:45 -07:00
Andreas Müller 4ed60283a8 lmsensors: fix fetch and unblacklist
Error was not caused by RSS but upstream package path renaming without version
bump - tse tse...

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
(cherry picked from commit 3a9e21d928)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-27 20:43:09 -05:00
Armin Kuster 1d07ba52ca lm_sensors: update SRC_URI
RROR: lmsensors-3.4.0-r0 do_checkuri: Fetcher failure for URL: 'http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.4.0.tar.bz2'. URL http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.4.0.tar.bz2 doesn't work
ERROR: lmsensors-3.4.0-r0 do_checkuri: Function failed: do_checkur

The project moved to google.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Khem Raj d501a7742d hplip: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a2e1a14961)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Max Krummenacher 5b41fff9bf tinymembench: fix QA warning for GNU_HASH
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1dcc6e1d04)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Thomas PERROT 7b9db5b7e6 makedumpfile: add ARM into COMPATIBLE_HOST
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 42a4690339)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Ricardo Ribalda Delgado 341b1e7b16 gflags: Fix fetch URL
Fixes:
ARNING: gflags-2.1.2-r0 do_fetch: Failed to fetch URL
git://github.com/gflags/gflags.git;branch=master, attempting MIRRORS if
available
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure: Unable to find
revision 1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c in branch master even
from upstream
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure for URL:
'git://github.com/gflags/gflags.git;branch=master'. Unable to fetch URL
from any source

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1ba2436bdd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Oleksandr Kravchuk c1127e2aeb iperf3: update to 3.1.3
Version 3.1.3 includes security fix and all users are encouraged by the
developers to update to this or newer version as soon as possible.

fixes: CVE-2016-4303
see https://raw.githubusercontent.com/esnet/security/master/cve-2016-4303/esnet-secadv-2016-0001.txt.asc

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit fa65be9ba7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-24 19:33:29 +00:00
Khem Raj f2cbe4f7d3 mpv: Add libvdpau to DEPENDS
Fixes
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libvdpau, but it isn't a build dependency, missing libvdpau in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 761639b9d7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-02-22 08:37:41 -08:00
Andreas Oberritter ef77b38495 imagemagick: use correct major version in program suffix
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:09:23 -05:00
Martin Jansa 0801c1876b libxml++: fix LICENSE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:08:15 -05:00
Khem Raj fa579d121c meta_oe_security_flags.inc: Disable PIE for luajit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:07:52 -05:00
Khem Raj f3ad98dca5 mpv: Add PACKAGECONFIG for vaapi
Now that we have libva its important to enable/disable vaapi
explicitly

Fixes

WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva-x11, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: mpv-0.15.0-r0 do_package_qa: QA Issue: mpv rdepends on libva, but it isn't a build dependency, missing libva in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:07:26 -05:00
André Draszik 9aba5089be meta_oe_security_flags: disable PIE for libdbus-c++
The short version - it ain't working.

The long version:

For shared libraries made from C++ sources, configure
runs some code to determine how to link shared libraries
(from libtool.m4) using g++. In particular, it calls
g++ ${CFLAGS} -c conftest.c
g++ ${CFLAGS} -nostdinc -shared -v conftest.o
to then parse the gcc -v output.

If CFLAGS contains -pie -fpie, g++ adds Scrt1.o to the
objects being linked together to form the final output.

Once Scrt1.o is pulled into a shared library, it becomes
impossible to link this DSO against a final binary. I
didn't investigate why, by I suspect because of
-Wl,relro -Wl,now

libtool takes note of Scrt1.o (and all other libraries
added by gcc, but those don't matter here) and adds it
everywhere a shared library is being created, see
predep_objects= and postdep_objects= in the
'LIBTOOL TAG CONFIG: CXX' section.

In other words, the the shared library created during
the build can't be linked against. This includes
some applications that are part of the libdbus-c++
source tree, but also any other external user.

While I am not sure if the root of the issue is in
- gcc (should it really add Scrt1.o despite -shared),
  or in
- libtool (should it filter out -pie -fpie during the
  configure step), or even in
- OE (should it really be adding -pie -fpie to
  everything, even shared libraries by default and
  unconditionally),
we can make things work by using SECURITY_NO_PIE_CFLAGS
instead.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:06:27 -05:00
Khem Raj 99fe0daf83 libvdpau: Disable PIE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 19:02:56 -05:00
Nicolas Ferre 0eb5d0c7e8 nbench-byte: fix project URL
www.tux.org/~mayer/linux/ location can't be found anymore. It seems that the
www.math.utah.edu website gives an alternative to reach nbench-byte tool: use
this one to fix the issue.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-01-29 18:57:44 -05:00
Nicolas Dechesne 1efa5d623b gpsd: fix multilib build
While testing arm 64/32 multi, the following issue was observed:

WARNING: gpsd-3.14-r0 do_package: QA Issue: gpsd: Files/directories were
installed but not shipped in any package:
  /usr/lib/libgpsd.so.22.0
  /usr/lib/libgps.so.22
  /usr/lib/libgpsd.so.22.0.0
  /usr/lib/libgpsd.so.22
  /usr/lib/libgps.so.22.0.0
  /usr/lib/libgps.so
  /usr/lib/libgps.so.22.0
  /usr/lib/libgpsd.so
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/libgpsd.pc
  /usr/lib/pkgconfig/libgps.pc
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
gpsd: 11 installed and not shipped files. [installed-vs-shipped]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/cgps contained in
package gps-utils requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gps-utils? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/sbin/gpsdctl contained in
package gpsd requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/gpsctl contained in
package gpsd-gpsctl requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd-gpsctl? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: gpsd-dbg: found library in wrong
location: /usr/lib/.debug/libgpsd.so.22.0.0
gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgps.so.22.0.0 [libdir]

gpsd SConstruct file defaults to using '/lib' suffix, which needs to be
overriden in the recipe.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 45837e6c56)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-12-03 07:45:12 -08:00
Khem Raj 5829238b2f modemmanager: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a9ca41110b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj 9dc61c378a libmad: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f708267ebd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj 3cb5bcda7d fribidi: Fix build with security flags turned on
Clang complains like below
| ../../fribidi-0.19.7/charset/fribidi-char-sets-cap-rtl.c:148:7: error: expected expression
|       DBG ("warning: could not find a mapping for CapRTL to Unicode:");

Therefore quick fix is to remove FORTIFY_SOURCE from cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1c8afeed17)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj c6bb22050e flashrom: Remove redundant const qualifier
This is flagged by latest clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit eef06e7cbe)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj 7ac8ead611 md5deep: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 856ac210ab)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj 6a0899986f openldap: Fix Build error due to missing -fPIC
Fixes errors e.g.

relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `stderr@@GLIBC_2.17' can not be us
ed when making a shared object; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5d22f06617)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Khem Raj ae254b4d16 libqmi: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c5fd46f74a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Koen Kooi 1ae5293c4b android-tools: fix do_install
The previous patch introduced 2 bugs that made packaging fail:

1) Always failing grep
2) Conditionally install systemd files

Systemd.bbclass doesn't handle conditional installation and will throw an error.

Tested with -native and regular cross builds.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 4cd27df21d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Wenzong Fan a67677bdf7 rsnapshot: fix host path in rsnapshot.conf.default
Fix host path for commands: mount, umount:

  .../tmp/sysroots/x86_64-linux/bin/mount  -> /bin/mount
  .../tmp/sysroots/x86_64-linux/bin/umount -> /bin/umount

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit aea3dbd89c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:23 -08:00
Jackie Huang 74ee171e5d libunique: add x11 to REQUIRED_DISTRO_FEATURES
libunique depends on gtk+ which requires x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ba879d436b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Jackie Huang 258f4f35b7 pavucontrol: add x11 to REQUIRED_DISTRO_FEATURES
pavucontrol depends on gtkmm which requires x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 426734113d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Jackie Huang c30411db75 gtkmm: add x11 to REQUIRED_DISTRO_FEATURES
gtkmm depends on gtk+ which requires x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 8a90713473)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Wenzong Fan d08864a289 opencv: checking existence of /usr/lib
Remove install errors:

  mv: cannot stat '.../tmp/work/mips64-wrs-linux/opencv/3.1+gitAUTOINC
  +92387b1ef8-r0/image/usr/lib/*': No such file or directory

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit cefba87ff0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Wenzong Fan cb2477355d libeigen: set tarball name as ${BP}.tar.bz2
Rename tarball name: 3.2.8.tar.bz2 -> libeigen-3.2.8.tar.bz2

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ba0717b0cf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Wenzong Fan 00b89f2aa5 opencv: fix QA issue
Replace '/lib' with '${baselib}' to fix QA issue:

  ERROR: do_package_qa: QA Issue: non -staticdev package contains \
  static .a library: opencv-apps path \
  '.../opencv-apps/usr/share/OpenCV/3rdparty/lib64/libippicv.a' \
  [staticdev]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit a36efdd02f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Jackie Huang d8d90a61c0 openjpeg: rename the download file
Rename the download file to avoid collisions in DL_DIR.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit d0fa502a22)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
André Draszik 0ec9cb2c5e asio: fix a musl compilation warning
This is the same patch as applied to boost's copy
of asio in openembedded-core, with slightly
massaged paths

Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 902a38b989)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
André Draszik c840f78350 asio: DEPENDS on openssl
asio may or may not build examples and tests that
depend on OpenSSL, alas, it has no way to explicitly
enable or disable OpenSSL support, which is enabled
unconditionally whenever openssl/ssl.h can be found.

Due to that we get non-deterministic build behaviour,
based on whether or not some other package pulled
OpenSSL into the sysroot before asio's configure is
running.

Additionally, we can get random compilation failures
if openssl/ssl.h exists during configure time, but is
removed from sysroot later, e.g. due to a concurrent
rebuild of OpenSSL at the same time as building asio.

Having an explicit DEPENDS avoids both these problems.
We can not use PACKAGECONFIG, because as mentioned
above there is no way to explicitly disable OpenSSL
support.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 334608d5dd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:22 -08:00
Khem Raj d2a990bc72 lockdev: Pretend GNU libc on musl
it has all needed features but expects " -D__GNU_LIBRARY__"
so make it happy when using musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b70dd8f2af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00
Khem Raj 02bca9e5f4 libplist: Remove rpaths surgically
Check for files first before operating on it

Fixes QA errors like below

  /usr/lib/python2.7/site-packages/plist/__init__.py
  /usr/lib/python2.7/site-packages/plist/_plist.so
  /usr/lib/python2.7/site-packages/plist/plist.py
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libplist: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ecdf2c3080)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00
dengke.du@windriver.com 45c2854b04 augeas: fix QA warning
Add PACKAGECONFIG for libselinux.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 20d98f67a1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00
Qi.Chen@windriver.com ebc3e16c7d edac-utils: fix systemd service
Fix edac-utils systemd service file so that `systemctl stop edac' doesn't
fail.

Remove the ExecStop line as there's no '--unload' option for edac-ctl.
Also, disable edac service by default.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit caf48f2ea5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00
Tim Orling 54b566a00a mariadb: use faster download URL
The current URL takes about 2 hours to download.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 2f652ec3dc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00
Khem Raj 4ef0a720f9 krb5: Add -fPIC to compile flags
Fixes errors on x86_64 e.g.
errors.so: relocation R_X86_64_PC32 against symbol `k5_vset_error' can not be used when making a shared object; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1d01458df9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-29 08:22:21 -08:00