Commit Graph

1470 Commits

Author SHA1 Message Date
Khem Raj 82c654d4c5 libutempter: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Khem Raj 2ba483aecc pngcheck: Fix cross build and format string errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:52 +02:00
Khem Raj 1d79b36859 avro-c: Fix build with clang
Update SRC_URI to point to github mirror
Add a patch to fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:51 +02:00
Khem Raj 2d384da051 sharutils: Upgrade to 4.15.2
Fix format error warnings with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:51 +02:00
Khem Raj 5dba3ddf79 fftw: Add -D_GNU_SOURCE to CFLAGS
Helps fix build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:50 +02:00
Khem Raj dcb4c91837 ckermit: Fix build with musl
arrow keys piece is a bit unportable, disable it for now
for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:50 +02:00
José Bollo 7308d33131 libmicrohttpd: update to version 0.9.53
Change-Id: Idc7ef7c532a326eb094b4e557f1a80d4254411d2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 11:00:49 +02:00
Andreas Müller 4ad82c0f14 hunspell: update 1.3.3 -> 1.6.1
hunspell moved to github and changed licence

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
Liwei Song 4ddc0a58a7 mcelog: upgrade to 1.49 to support Denverton SoC
Update mcelog to 1.49 to support Denverton SoC, and delete the additional
patches which are already involved in v1.49.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
Andreas Müller ee4460ffa3 poppler: update 0.51.0 -> 0.53.0
c++ is now set by poppler itself [1]

[1] https://lists.freedesktop.org/archives/poppler/2017-March/012106.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:50 +02:00
Andreas Müller 2c78fa9134 fltk: rework completely
* Use cmake as build system. Projects also using cmake and depending on fltk
  would not find all required components. Note that FindFLTK.cmake is part of
  cmake.
* Add a native recipe and split out common - we need fluid (Fast Light User
  Interface Designer) as working binary

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:42 +02:00
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
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:
https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6

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
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:
https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35

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
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 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 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
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 2d5b14144e picocom: Upgrade to 2.2
Package has moved to github
License file got some cosmetic changes see
https://github.com/npat-efault/picocom/commit/13fd331d410c2e8c39fa041bd54c3b0a93df64e1

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 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
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 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 23361dfa39 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>
2017-03-31 13:26:04 +02:00
Martin Jansa 8e804afebc 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>
2017-03-31 13:26:03 +02:00
Khem Raj fbfaf104c7 atop: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:03 +02:00
Khem Raj 0ef3f00161 log4cpp: Upgrade to 1.1.2 rc5
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:01 +02:00
Khem Raj df3d2beaf9 lio-utils: Fix GNU_HASH QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:00 +02:00
Khem Raj f646f52eac libnice: Upgrade to 0.1.13
works with gst1x therefore unblacklist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:00 +02:00
Khem Raj aa4daa9990 libssh: Force to use gcc toolchain
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Patrick Ohly ff30e01f62 lvm2: fix lvm2-native RRECOMMENDS problem
lvm2-native doesn't have packages, so the RRECOMMENDS must be limited
to the target case. This fixes:

ERROR: Nothing RPROVIDES 'lvm2-native-scripts-native' (but virtual:native:.../meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Patrick Ohly 269d009a81 lvm2: libdevicemapper package needs udev rules and dmsetup
Applications like kpartx and cryptsetup were broken by moving only
libdevicemapper itself into a separate package: as a result of that
change, lvm2 was not getting pulled into images anymore although
libdevicemapper depends on dmsetup and udev rules to be fully
functional.

For example, "kpartx -as" started to hang while waiting for the udev
rules to trigger, which is what creates the /dev/mapper/ entries for
the new partitions (see also
https://github.com/docker/docker/issues/22025#issuecomment-243943728).

Putting udev rules and dmsetup also into libdevicemapper is perhaps
counter-intuitive, but necessary to keep the package functioning. A
full lvm2 installation is guaranteed to pull them in, too, both
because of implicit library dependencies and (just to be sure) an
explicit RDEPENDS.

lvm2-native doesn't have packages, so this RDEPENDS must be limited to
the target case.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Peter Kjellerstedt af279a8e74 lvm2: Avoid an unnecessary dependency on bash
Rather than having the lvm2 package depend on bash, modify the init
scripts it may contain to use /bin/sh instead of /bin/bash.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Khem Raj bfc16ec09d digitemp: Update past 3.7.1 release
Fetch from github

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj fb9224ed9e samsung-soc-utils: Remove -static
It does not build with all combinations e.g. with -fPIE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj 64640f4e30 zile: Fix build with musl
With musl charset.alias is generated due to a gnu-config bug

Fixes

QA Issue: zile: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/charset.alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj d92ee32a61 gradm: Fix GNU_HASH QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Khem Raj 738d386c8c procmail: Fix GNU_HASH errors, pass LDFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Qi.Chen@windriver.com 02cf7aba3c gperftools: fix do_compile failure for qemuppc
Fix the following error for qemuppc.

  error: 'siginfo_t' does not name a type

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:55 +02:00
Paul Gortmaker d63e5687c7 eject: use update-alternatives for manpage
To fix:

   file /usr/share/man/man1/eject.1 conflicts between attempted installs
   of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-22 13:31:45 +01:00