Commit Graph

4978 Commits

Author SHA1 Message Date
Kai Kang
fa943b1138 opencv: correct subpackage name for multilib
Subpackage python3-${PN} is not right for multilib and it will be
extended to such as lib32-python3-lib32-opencv.

Replace PN with BPN to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Kai Kang
2688cbadeb gflags: correct S and update library install directory
The current setting of S is not right for multilib. Remove the setting
and use the default value.

And library install directory is not right for multilib either. It fails
with [installed-vs-shipped] QA error:

| ERROR: gflags-2.2.0-r0 do_package: QA Issue: gflags: Files/directories
| were installed but not shipped in any package:
|   /usr/lib/libgflags.so
|   /usr/lib/libgflags_nothreads.so.2.2

Set cmake variable LIB_INSTALL_DIR with ${baselib} to fix the issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Marek Vasut
56c956f6c0 fbida: Fix compile-host-path error
Remove the explicit reference to /usr/local/* in Variables.mk.
This is completely bogus and causes failure during cross-compilation.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Catalin Enache
f66465d4d5 gd : CVE-2016-10167, CVE-2016-10168
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics
Library (aka libgd) before 2.2.4 allows remote attackers to cause a
denial of service (application crash) via a crafted image file.

Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before
2.2.4 allows remote attackers to have unspecified impact via vectors
involving the number of horizontal and vertical chunks in an image.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10167
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10168

Upstream patches:
fe9ed49daf
69d2fd2c59

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:39 +02:00
Florian Wickert
dcd6d5b240 jack: remove (non-existing) package jack from dependencies of jack-dev
jack-dev depends on jack, which does not exist. This patch removes this dependency.

Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:39 +02:00
Ming Liu
3405347d58 librcf: install missing SF headers
A flaw was introduced by commit 414426a3:
[ librcf: add new recipe ]

in which, the SF headers wasn't installed, this could cause build
errors in projects that compiling/linking to librcf while librcf
was built with LIBRCF_USE_SF_SERIALIZATION option enabled.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:38 +02:00
Catalin Enache
f882211c14 gd : CVE-2016-10166
Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c
in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers
to have unspecified impact via vectors related to decrementing the u variable.

Reference:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10166

Upstream patch:
60bfb401ad

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:38 +02:00
Ismo Puustinen
2cdea6c5bb opencv: do not depend on swig.
Since swig is a code generator, just depend on swig-native.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:31 +02:00
robert_joslyn@selinc.com
cea7dff3ef plymouth: Fix virtual RPROVIDES
Runtime package names cannot have slashes in them, so replace "virtual/"
with "virtual-" in RPROVIDES.

Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:31 +02:00
Ismo Puustinen
f84a551f2d v4l-utils: update to 1.12.3.
Also add a patch which fixes building outside the source tree.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:31 +02:00
Khem Raj
147046ced7 corosync: Update to 2.4.2
Also fixes build with latest libqb 1.0.1+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:30 +02:00
Khem Raj
440258c30a synergy: Add unzip-native depenedency to right task
Fixes
run.do_unpack_extra.26047: unzip: not found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:30 +02:00
Khem Raj
1250668972 uml-utilities: Fix problem founds during musl build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:30 +02:00
Khem Raj
10ad20d913 libuio: Fix build with musl
It needs fcntl.h which is indirectly included on glibc
append SRCPV to version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:29 +02:00
Khem Raj
6c4caeee6f libnih: Drop SIGCLD
Its not portable, especially musl does not support it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:29 +02:00
Khem Raj
bc4d1aa833 libqb: Upgrade to 1.0.1 release
Add a patch needed for cross compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00
Khem Raj
82dbf3f408 minicoredumper: Update to 2.0.0
* Clarify licensing and switch to github for fetching
* Delete empty /var/run
  Fixes
  minicoredumper-2.0.0: minicoredumper: Files/directories were installed but not shipped in any package:
    /run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00
Khem Raj
3ad787c673 lvm2: Fix patch errors found with musl
The patches had syntax errors which are only
visible when using musl libs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00
Khem Raj
10e27be997 gpm: Update to use git src uri
Additional patches are upstream to fix build with gcc6 and clang
Add systemd unit file

Create missing symlink for dev shared object

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00
Martin Jansa
cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Khem Raj
61d1d45d2f v4l-utils: Depend on argp-standalone for musl
musl does not bundle libargp like glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:30:35 +02:00
Martin Jansa
0e1d1787ed dlm: fix ldflags QA warning
* fixes:
  dlm-4.0.2: No GNU_HASH in the elf binary:
  '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/lib/libdlmcontrol.so.3.1'
  No GNU_HASH in the elf binary:
  '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/sbin/dlm_tool'
  No GNU_HASH in the elf binary:
  '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/sbin/dlm_controld'
  [ldflags]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Martin Jansa
ad9c16bb7b xdotool: prevent compile-host-path QA issues
* as shown in the log.do_compile:
  cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]

* it's caused by Makefile doing:

  DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
  DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include

  LIBS=$(shell pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)")
  INC=$(shell pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)")

  which always uses the DEFAULT_* since RSS, because there was no
  pkg-config in the recipe sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Martin Jansa
1214d169f5 uml-utilities: respect LDFLAGS not only for mconsole but for other binaries as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Martin Jansa
9097d4a3fb pngcheck: respect LDFLAGS
* fixes:
  No GNU_HASH in the elf binary:
  '/tmp/work/armv5te-oe-linux-gnueabi/pngcheck/2.3.0-r0/packages-split/pngcheck/usr/bin/pngcheck'
  [ldflags]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Martin Jansa
490409c268 flite-alsa: Blacklist as old and unmaintained
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:31 +02:00
Dmitry Rozhkov
b0699e496f opencv: remove redundant build dependency on python2
The recipe opencv_3.2.bb inherits to either distutils-base or
distutils3-base classes or both which do add appropriate
build dependency on python or python3 respectively.
There's no need to have python in DEPENDS explicitly.

It can even make things needlessly complicated in case a user
wants to build python3-only images.

The redundant build dependency on python is removed from DEPENDS.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:31 +02:00
Khem Raj
01feee2cd9 jsonrpc: Backport and create patches to build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Khem Raj
38f0f1310b networkmanager: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Khem Raj
254a9f82a6 pavucontrol: Backport patches to build with c++11 std
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Khem Raj
e2d8066922 libunique: Fix build with secutiy flags on
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Khem Raj
b17f499131 lxdm: Find libexecinfo if its on platform
fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:29 +02:00
Khem Raj
386f2eadda libexecinfo: Add recipe
This package is handy especially with musl to port
apps which use glibc backtrace APIs

build for musl systems alone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:29 +02:00
Khem Raj
2d5b14144e picocom: Upgrade to 2.2
Package has moved to github
License file got some cosmetic changes see
13fd331d41

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:29 +02:00
Khem Raj
8acb143f45 utouch: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:28 +02:00
Khem Raj
50c14d2535 libgxim: Fix build with security flags turned on
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:28 +02:00
Khem Raj
6061558819 live555: Do not use XLOCALE on musl
musl does not have xlocale.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:28 +02:00
Khem Raj
accb3f4ea6 libraw1394: Update to 2.1.2 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:27 +02:00
Khem Raj
43f5811017 usb-modeswitch-data: Add dep on native tcl
it has a tclsh need for executing a script during build
Fixes

| ./gen-rules.tcl
| /usr/bin/env: ‘tclsh’: No such file or directory
| make: *** [Makefile:26: 40-usb_modeswitch.rules] Error 127
| WARNING: /mnt/b/build/tmp-musl/work/all-oe-linux/usb-modeswitch-data/20170205-r0/temp/run.do_compile.30695:1 exit 1 from 'exit 1'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:27 +02:00
Khem Raj
b545c0643d mariadb: Do not use ucontext_* APIs with musl
musl has ucontext.h header but does not implement the APIs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:27:26 +02:00
Khem Raj
211beca606 poco: Upgrade to 1.7.8
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:27:26 +02:00
Khem Raj
4ecaaf8c1d tcsh: Update to 6.20.00 release
Fix segfaults on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:26:13 +02:00
Martin Jansa
b8368598ae zile: fix do_install
* --ignore-fail-on-non-empty works when the directory isn't empty, but still reports
  failure when the directory doesn't exist at all, like in:
  http://errors.yoctoproject.org/Errors/Details/138248/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
385cb88530 tcsh, dt: blacklist because tcsh doesn't respect CC variable
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
4cf51a6177 vboxguestdrivers: upgrade to 5.1.18 to fix compatibility with 4.10 kernel
* 5.1.14 fails with default linux-yocto version:
  CC [M]  qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
          qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
     .readlink       = generic_readlink,
                       ^~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
a9715573c0 vboxguestdrivers: make sure that do_compile fails when some module failed to build
* otherwise we get the failure from do_install with useless log:
  DEBUG: Executing shell function do_install
  install: cannot stat 'vboxsf.ko': No such file or directory
  WARNING: exit code 1 from a shell command.
* instead of the real issue like 5.1.14 currently has with default linux-yocto
  version:
  CC [M]  qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
          qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
     .readlink       = generic_readlink,
                       ^~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
2c4b17449d 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>
2017-03-31 13:26:04 +02:00
Martin Jansa
2e408bdbaa ttf-abyssinica: fix SRC_URI
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:04 +02:00
Martin Jansa
1a9dc23031 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>
2017-03-31 13:26:04 +02:00
Martin Jansa
18893ec949 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>
2017-03-31 13:26:04 +02:00