Commit Graph

5958 Commits

Author SHA1 Message Date
Martin Jansa
db36d53cc5 glmark2: add dependency on virtual/libgbm for drm-gl, drm-gles2 PACKAGECONFIG
* it's checked by wscript for all flavors with drm in it:
  ('gbm','gbm', None, list_contains(ctx.options.flavors, 'drm')),

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Hongzhi.Song
86860bd860 kernel-selftest: compatible with latest kernel
There are some new program added for bpf. So we make corresponding
modifications.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Khem Raj
1669187ef9 umip: Add bison-native to build deps
Fixes:
| ../ylwrap: line 176: yacc: command not found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-19 17:01:41 -04:00
Martin Jansa
8d3f06351e uw-imap: fix build with glibc-2.28
* fixes:
  ld: error: cannot find -lcrypt
  osdep.c:136: error: undefined reference to 'crypt'
  osdep.c:118: error: undefined reference to 'crypt'
  collect2: error: ld returned 1 exit status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Martin Jansa
b6d34f6519 cfengine: remove cf-consumer.service cf-redis-server.service
* they were removed from 3.12.0 release, see:
  8001b89c09
  d8426c42c0
* fixes:
  ERROR: SYSTEMD_SERVICE_cfengine value cf-consumer.service does not exist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Martin Jansa
c96c6a01e4 kernel-selftest: fix various issues
* respect PACKAGECONFIG when setting TEST_LIST
* call the sed in remove_clang_related only when bpf PACKAGECONFIG is
  enabled and if ${S}/tools/testing/selftests/bpf/Makefile doesn't exist
  then show more useful error message than:
  sed: can't read kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/Makefile: No such file or directory
  because kernels older than 4.10 don't have bpf selftest which was
  added in:
  5aa5bd14c5
* disable ldflags QA errors, the selftests Makefile explicitly overrides
  LDFLAGS to empty:
  5aa5bd14c5/tools/testing/selftests/Makefile (L46)
  and the vm/Makefile doesn't respect LDFLAGS anyway:
  5aa5bd14c5/tools/testing/selftests/vm/Makefile (L17)
  so it was causing a lot of errors:
  ERROR: kernel-selftest-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/thuge-gen'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/thuge-gen'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/transhuge-stress'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/transhuge-stress'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/userfaultfd'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/userfaultfd'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/hugepage-shm'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/hugepage-shm'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/on-fault-limit'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/on-fault-limit'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/hugepage-mmap'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/hugepage-mmap'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/compaction_test'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/compaction_test'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/mlock2-tests'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/mlock2-tests'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/map_hugetlb'
  No GNU_HASH in the elf binary: 'kernel-selftest/1.0-r0/packages-split/kernel-selftest/usr/kernel-selftest/vm/map_hugetlb' [ldflags]
* fix the formatting and useless append
* add dependency on rsync-native as it's used during do_install:
  | make: Entering directory 'kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/vm'
  | rsync -a  run_vmtests  compaction_test hugepage-mmap hugepage-shm map_hugetlb mlock2-tests on-fault-limit thuge-gen transhuge-stress userfaultfd kernel-selftest/1.0-r0/image/usr/kernel-selftest/vm/
  | /bin/sh: 1: rsync: not found
  | ../lib.mk:24: recipe for target 'install' failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-08-16 21:41:15 -04:00
Khem Raj
3519c45f5f ckermit: Pass -DNOARROWKEYS by default
glibc 2.28+ has caught up with rest of libraries
and now build complains in same manner as musl

ckucmd.c: In function 'cmdconchk':
ckucmd.c:7386:14: error: 'FILE' {aka 'struct _IO_FILE'} has no member named '_cnt'
     x = stdin->_cnt;
              ^~

therefore add -DNOARROWKEYS even for glibc as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
eedd174a26 stress-ng: Upgrade to 0.09.37
Carries fixes needed for building with glibc 2.28+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Paul Eggleton
ada136e89f faad2: set LICENSE_FLAGS
Commercial usage requires a license according to the homepage, so set
LICENSE_FLAGS = "commercial" to indicate that.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Paul Eggleton
b30773b375 faad2: set more accurate SUMMARY and add HOMEPAGE
Make it clear what this library is for and provide a link for more
information.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Hongxu Jia
ca016f115d libblockdev: drop obsolete patch
Since libblockdev is upgraded to 2.18, the local patch is obsolete.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Fritjof Jonsson
dccb790e18 Move lonely libcereal from meta to meta-oe
Change-Id: I2462274575e121466b5afc4cda006215e32fd34b
Signed-off-by: Fritjof Jonsson <fritjofj@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Martin Jansa
29a51db18a openocd: prevent fetching git submodules during do_configure
* I've tried just disabling them with:
  --disable-internal-jimtcl --disable-internal-libjaylink
  but that still tries to use missing jim.h:
  | ./src/helper/jim-nvp.h:47:10: fatal error: jim.h: No such file or directory
  |  #include <jim.h>
  |           ^~~~~~~
  | compilation terminated.
  | Makefile:3619: recipe for target 'src/libopenocd_la-openocd.lo' failed
  | make[2]: *** [src/libopenocd_la-openocd.lo] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
a793c6d9d1 cfengine,cfengine-masterfiles: Upgrade to 3.12.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
43b089317b tcsh: Add dep on virtual/crypt
libcrypt is now a separate package starting glibc 2.28+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
66fd2a9e04 udisks: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
0ec84a04e4 atop: Upgrade to 2.3.0
Drop already upstreamed patch
Fix build with glibc 2.28+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
dc34422037 lockdev: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
8df1a1b43e lsscsi: Upgrade to 0.30
rename folder to match recipe name

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
00eb88d1ce eject: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj
cdceca0bd1 toybox: Add missing dep on virtual/crypt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Changqing Li
30bbde3d09 oprofile: upgrade 1.2.0 -> 1.3.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:53 -07:00
Changqing Li
a6b72344a2 postgresql: upgrade 9.4.18 -> 10.4
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:53 -07:00
Changqing Li
422fbb7527 php: upgrade 7.2.7 -> 7.2.8
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:53 -07:00
Martin Jansa
3c37bdcea6 sg3-utils: fix build with glibc-2.28
Fixes:
http://errors.yoctoproject.org/Errors/Details/185896/

TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld:
sg_map26.o: in function `nd_match_scandir_select':
/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:359:
undefined reference to `major'
TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld:
/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:361:
undefined reference to `minor'
TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld:
sg_map26.o: in function `nt_typ_from_filename':
/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:218:
undefined reference to `major'
TOPDIR/tmp-glibc/work/core2-64-oe-linux/sg3-utils/1.42-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.2.0/ld:
/usr/src/debug/sg3-utils/1.42-r0/sg3_utils-1.42/src/sg_map26.c:219:
undefined reference to `minor'
collect2: error: ld returned 1 exit status
Makefile:806: recipe for target 'sg_map26' failed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:52 -07:00
Martin Jansa
72220d6088 android-tools: fix build with glibc-2.28
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-11 20:16:52 -07:00
Gianfranco Costamagna
47d2bfaff1 cpprest: update to new 2.10.3 release, simplify recipe now that it has a cmake file in the root location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:13 -07:00
Hongxu Jia
19b47730e0 libblockdev: add PACKAGECONFIG for lvm-dbus
Currently, recipe lvm2 does not support dbus very well, so add
PACKAGECONFIG lvm-dbus for libblockdev and disable it by default.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:13 -07:00
Chen Qi
36ddb5233c rsyslog: add PACKAGECONFIG for imjournal
Add PACKAGECONFIG for imjournal, and add corresponding configuration
to /etc/rsyslog.d/imjournal.conf when it's enabled. Default to disable it.

This patch also enables rsyslog.conf to include configuration files
/etc/rsyslog.d/*.conf.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-05 23:31:28 -07:00
leimaohui
32d2981427 Fix bug when inherit archiver.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Hongxu Jia
eedd084d3b mozjs: tweak location of tmp dir creation
The tmp dir creation is out of build dir which has
the risk to be broken by others.
...
|   File "build/tmp-glibc/work/i586-wrs-linux/mozjs/52.8.1-r0/
mozjs-52.8.1/build/moz.configure/util.configure", line 190,
in try_invoke_compiler
|     os.remove(path)
| OSError: [Errno 2] No such file or directory: '/tmp/conftest.OiV37V.cpp'
...

Set var-TMP for tempfile.mktemp to use current build dir to
replace default `/tmp'.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Mingli Yu
edc253a4d2 mariadb: Upgrade to 5.5.61
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Khem Raj
09a2eb4701 openlmi-tools: Fix setup.py clean during build
setuptools bbclass now runs clean target before configure
therefore create the setup.py before main configure task

secondly, all action happens inside cli subdir so mark it
default S

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Changqing Li
6d8982b61e mozjs: fix coredump caused by wrong use of getenv
getenv need include header stdlib.h, or an assumed int
return for getenv to char * pointer will tripping up
the code

Signed-off-by: Changqing Li <changqing.li@windriver.com>
2018-08-02 11:23:03 -07:00
Richard Leitner
f7ed3cfdf8 pam-plugin-ccreds: remove local patches
As our patches were merged upstream [1]  we can safely remove them and
use the new upstream revision.

[1] https://github.com/PADL/pam_ccreds/pull/1

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Dima Zavin
ac01d61cb1 numactl: remove perl runtime dependency
numactl has not been a perl script for a long time.

Signed-off-by: Dima Zavin <dmitriyz@waymo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongzhi.Song
146de1dfda kernel-selftest: Add a recipe on kernel selftest
The recipe builds the framework for kernel-selftest. Now, it just
contains two sets of testcase, bpf and vm. We will append more to
this recipe.

The following kernel config fragments must be manually enabled,
i.e. in local.conf, to use this test suite.
KERNEL_FEATURES_append += "features/bpf/bpf.scc \
                        cfg/debug-kselftest.scc \
                   features/hugetlb/hugetlb.scc \
"

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
f38ff38f48 isomd5sum: 1.2.1 -> 1.2.3
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
2f04ee22e1 libreport: 2.9.2 -> 2.9.5
Drop 0005-remove-python2-support.patch and use option
`--with-python2/3' to replace.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
da13357948 tigervnc: 1.8.0 -> 1.9.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
4c258b784e volume-key: 0.3.10 -> 0.3.11
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
1ffb90072a lvm2/libdevmapper: 2.02.177 -> 2.02.180
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
9beba98f5e efivar: 0.31 -> 0.36
- Drop obsolete patches
  0001-makeguids-Do-not-use-__bswap_constant_-16-32-macros.patch
  musl-strndupa.patch
  0001-efivar-dp.h-Add-Wunknown-attributes-when-using-clang.patch
  0003-efivar-fix-for-cross-compile.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
c45b619df0 efibootmgr: 0.15 -> 0.16
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
0d4aa6076c thin-provisioning-tools: 0.6.3 -> 0.7.6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
3bea987cde libblockdev: clean up obsolete patches
Since upgrading libblockdev to 2.18, these patches are
useless, remove them.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Li Zhou
5f6ed51870 usleep: use update-alternatives
To solve below error:
update-alternatives: Error: not linking [...]/rootfs/bin/usleep to /bin/busybox.nosuid since [...]/rootfs/bin/usleep exists and is not a link
add using update-alternatives in usleep.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Ricardo Salveti
2585bc07ee mozjs: add support for RISC-V
Based on pending patch that was already submitted at
https://bugzilla.mozilla.org/show_bug.cgi?id=1318905.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Mingli Yu
2694423f1c makedumpfile: Upgrade to 1.6.4
Refresh the patches to avoid fuzz warnings

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Mingli Yu
7e4d87bde2 crash: Upgrade to 7.2.3
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00