Commit Graph

857 Commits

Author SHA1 Message Date
Mingli Yu fce37fcfa2 mozjs: Fix do_patch error for mips64-n32
After mozjs upgrade to 60.5.2 in below commit:
9ca3aad9c mozjs: Upgrade to version 60.x

With below logic in local.conf:
MACHINE ??= "qemumips64"
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
require conf/multilib.conf

$ bitbake libn32-mozjs -cpatch
| NOTE: Applying patch '0001-fix-compiling-failure-on-mips64-n32-bsp.patch' (../layers/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs/0001-fix-compiling-failure-on-mips64-n32-bsp.patch)
| ERROR: Command Error: 'quilt --quiltrc TOPDIR/tmp/work/mips64-n32-wrsmllibn32-linux-gnun32/libn32-mozjs/60.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
| Applying patch 0001-fix-compiling-failure-on-mips64-n32-bsp.patch
| patching file build/moz.configure/init.configure
| patching file js/src/jit/mips-shared/Architecture-mips-shared.h
| Hunk #1 succeeded at 28 with fuzz 2 (offset 2 lines).
| Hunk #2 FAILED at 95.
| 1 out of 2 hunks FAILED -- rejects in file js/src/jit/mips-shared/Architecture-mips-shared.h
| patching file python/mozbuild/mozbuild/configure/constants.py
| Patch 0001-fix-compiling-failure-on-mips64-n32-bsp.patch does not apply (enforce with -f)

Rework 0001-fix-compiling-failure-on-mips64-n32-bsp.patch
to fix the above do_patch error.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-19 06:06:47 -07:00
Adrian Bunk 4257adeeb5 tipcutils: Remove the unnecessary dependency on virtual/kernel
This also makes it no longer specific to MACHINE_ARCH.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-18 15:58:26 -07:00
Stefan Agner 2ab1351087 haveged: fix CPU cache size detection
Fix ENOMEM error in case the kernel reports cache size of -1. This
lead to the following error when starting haveged:
  haveged starting up
  haveged: Couldn't initialize HAVEGE rng 5

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Mingli Yu 1163361b6a hwloc: Upgrade to 1.11.12
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Changqing Li bbf5e3f137 rrdtool: upgrade 1.7.1 -> 1.7.2
License-Update: Update year in COPYRIGHT and Update FSF address and fix UTF8

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Khem Raj 866daa14e3 polkit: Upgrade to 0.116
Make netgroup support optional so it can be disabled on musl
Drop backported patch 0001-backend-Compare-PolkitUnixProcess-uids-for-temporary.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:26:16 -07:00
Khem Raj 9ca3aad9cf mozjs: Upgrade to version 60.x
Disable JIT (ion) on all mips

It fails to compile in first place, even if we fix the compilation
next it assert failures and runtime test failures, its best to disable
it for mips for now

Fix build on riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-29 02:26:16 -07:00
Hongxu Jia 7ea6a62a26 rrdtool: improve reproducibility
- Pass var-CFLAGS (contains -fdebug-prefix-map) to perl Makefile.pl
  to strip build path prefix

- Do not generate .packlist which contains build path.
  (it refers cpan_do_configure in cpan.bbclass)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-23 10:46:34 -07:00
Qi.Chen@windriver.com ec45dce920 polkit: fix CVE-2019-6133
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 08:48:56 -07:00
Martin Jansa d776e6e353 triggerhappy: fix issues
* using PN instead of BPN in S causes all tasks to fail:
  make: *** No targets specified and no makefile found.  Stop.
* using github archives is bad, because they are regenerated from time to time
  with different checksums
* set PV, because this isn't exactly 0.5.0, because of the debian changes
  mostly the systemd support
* fix indentation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-20 09:49:00 -07:00
Adrian Bunk 3df653fe09 openwsman: Upgrade 2.6.8 -> 2.6.9
Remove patches applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
Adrian Bunk 9d3f1fde98 libqb: Upgrade 1.0.3 -> 1.0.5
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
Adrian Bunk 3a03334884 libcec: Upgrade 4.0.2 -> 4.0.4
Remove patch applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
Adrian Bunk 61e306ad71 fluentbit: Upgrade 0.12.1 -> 0.12.19
Remove patch applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
leimaohui 7b503471b0 mozjs: Make mozjs support arm32BE.
Fixed a build error on arm32BE.

Upstream-Status: Pending

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:21 -07:00
Ming Liu 425c605a6d libmodbus: add documentation PACKAGECONFIG
asciidoc, xmlto programs are being checked to decide if documentation
should be generated or not depending on if they are present, this will
definitely lead to a non-deterministic build.

Fix it by adding documentation to PACKAGECONFIG.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-02 14:13:57 -07:00
Mingli Yu 7392f986b6 rrdtool: Upgrade to 1.7.1
Backport 3 patches to fix below error:
ERROR: rrdtool-1.7.1-r0 do_package: SYSTEMD_SERVICE_rrdcached value rrdcached.socket does not exist

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Mingli Yu 9fa40ad5f4 indent: Upgrade to 2.2.12
Add two patches to fix the build error.

Add -Wno-error=unused-value for native build
to silence below error:
| In file included from ../../indent-2.2.12/src/indent.h:60:0,
                 from ../../indent-2.2.12/src/indent.c:77:
| ../../indent-2.2.12/src/indent.c: In function 'main':
| ../../indent-2.2.12/src/libgettext.h:88:5: error: statement with no effect [-Werror=unused-value]
     ((void) (Domainname), (const char *) (Dirname))
     ^
| ../../indent-2.2.12/src/indent.c:1064:5: note: in expansion of macro 'bindtextdomain'
     bindtextdomain(PACKAGE, LOCALEDIR);

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Khem Raj 4509bbd580 redis: Upgrade to 4.0.14
Add needed depends
Do not build jemalloc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-14 23:26:42 -07:00
Khem Raj 4a9deabbc8 lcdproc: Fix parallel build
This happens with larger parallelism e.g. -j 44
also reported here
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214766

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-08 10:28:06 -07:00
Khem Raj 5ec597d839 redis: Fix ocasional parallel build failure
Sometimes with high parallel build we see compile errors e.g.

clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:52: lua] Error 1

Therefore try to build dependencies before main build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-07 08:25:57 -07:00
Zang Ruochen 0041b8da7e lockfile-progs: upgrade 0.1.17 -> 0.1.18
-Upgrade from lockfile-progs_0.1.17.bb to lockfile-progs_0.1.18.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Gianfranco Costamagna 0f5e076f09 libmodbus: start to prefer version 3.1.4 as default
Now that even Debian testing is using it, and upstream declares this version as "very stable",
 it might be time to switch using it as default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Andreas Müller 9b454233e8 rrdtool: fix build by disabling docs
Have no idea what caused it but on all of my build machines started to fail
with recently:

| Attempt to reload Encode.pm aborted.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33.
| Compilation failed in require at (eval 7) line 1.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Usage.pm line 30.
| Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19.
| make[1]: *** [Makefile:692: rrddump.1] Error 255
| make[1]: *** Waiting for unfinished jobs....

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Vincent Prince 8f78e302b9 Rsyslog: Add mmjsonparse to PACKAGECONFIG
Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Mark Kubiak 60ec82d18c Add triggerhappy hotkey daemon recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-29 16:32:14 -07:00
Randy MacLeod 61c73067cb rsyslog: Update from 8.37.0 to 8.1903.0
Remove obsoleted fix-ptest-not-finish patch which is
no longer required after rsyslog commit:
   a5b9fbc02 testbench: remove no longer needed .conf files

Add libgcc and python dependencies for ptest:
  Testsuite summary for rsyslog 8.1903.0
  ========================================================================
  # TOTAL: 351
  # PASS:  309
  # SKIP:  38
  # XFAIL: 0
  # FAIL:  4
  # XPASS: 0
  # ERROR: 0
for qemux86[-64] when run with ptest-runner -t 800 since some tests
are stress tests and take quite a while to complete.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 21:53:00 -07:00
Mingli Yu 666c23a48a librelp: Upgrade to 1.4.0
Remove one backported patch.

Add openssl to Depends.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-14 07:24:03 -07:00
Khem Raj d06ded1803 mozjs: Fix cross-builds of nsinstall
nsinstall must be built for host, so we need to define HOST_* compiler
defines so, it gets built using native compiler correctly

Disable stripping, OE will do it

Disable optimizing, set BUILD_OPT

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-26 10:16:24 -08:00
Nicolas Dechesne 62a8c64a02 polkit: add REQUIRED_DISTRO_FEATURES for polkit
After below commits to add polkit as a required
distro feature:
97a1a55 polkit: add polkit as a required distro feature
c049e02 polkit: inherit distro_features_check

All recipes that includes polkit-group-rule.inc will fail to parse
when polkit is not in DISTRO_FEATURE, especially 'world'. e.g.

ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'udisks', 'polkit']

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:53 -08:00
Changqing Li d251663575 smartmontools: upgrade 6.6 -> 7.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
Manjukumar Matha 5d5c14ef49 upm_git.bb: Add fix for installing the python files
Use SWIG_SUPPORT_FILES to find the list of python files generated by
CMake Swig module and install those files. This should be applicable to
cmake version 3.12 or higher

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Khem Raj 20e298af0e lcdproc: Disable serialVFD driver on arm/aarch64
This driver uses inb/outb instructions which seems to have trouble on
arm/aarch64 compiler

server/drivers/serialVFD_io.c
:45:
| ../../../git/server/drivers/port.h:344:32: error: invalid output constraint '=a' in asm
|
|         __asm__ volatile ("inb %1,%0":"=a" (value)
|                                       ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Khem Raj ad8709febc pam-ssh-agent-auth: Port to work with openssl 1.1.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-03 07:07:51 -08:00
Khem Raj c4432a5f62 mozjs: Fix symbol visibility with clang/libc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Stefan Agner c049e02663 polkit: inherit distro_features_check
Make the recently added REQUIRED_DISTRO_FEATURES effective by
inheriting distro_features_check.

Fixes: 97a1a55f47 ("polkit: add polkit as a required distro feature")
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-28 07:06:19 -08:00
Stefan Agner 97a1a55f47 polkit: add polkit as a required distro feature
Make sure polkit is in DISTRO_FEATURERS if this package is being
installed. This will make sure that people who do use polkit in
their image also do enabled the recently introduced distro feature
polkit in their distro.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 10:15:44 -08:00
Hong Liu e6f9d00977 logwatch:replace mv with cp
1.Mv is used in the original code, which may cause "mv: cannot stat 'conf/': No such file or directory".
  So we use cp instead of it.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 10:06:20 -08:00
Khem Raj eb6cf36865 haveged: Upgrade 1.9.4
Upstream release mechanism has switched to using github
Forward port and update patch status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-14 10:46:36 -08:00
Khem Raj 22ddd2cd31 redis: Update to 4.0.12
Exclude atomics on ppc as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj e1db44b73f mozjs: Remove -Werror=format from CXXFLAGS
This is to make way for gcc9 since it spews some extra warnings
which need to be eventually fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj 014b90ee43 collectd: Upgrade to 5.8.1 release
Fix build with gcc9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 22:15:59 -08:00
Hongxu Jia 17845a7a33 libreport: 2.9.6 -> 2.9.7
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18 18:44:59 -08:00
Brad Bishop 030e8d445a rsyslog: curl-less build with fmhttp PACKAGECONFIG
With all other configure options at their defaults, the dependency on
libcurl can be removed if fmhttp is configured out.  Add an fmhttp
PACKAGECONFIG, still enabled by default, to enable this.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 10:18:59 -08:00
Oleksandr Kravchuk 3d4e72ce6d jansson: update to 2.12
License MD5 hash has been changed due to modified copyright year in the
LICENSE file.

Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-05 10:18:59 -08:00
leimaohui 32403728e7 mraa: To file do_package error in multilib.
do_package: QA Issue: mraa: Files/directories were installed but not shipped in any package:
  /usr/lib/python3.5/site-packages/mraa.py
  /usr/lib/python3.5/site-packages/_mraa.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-02 11:05:02 -08:00
Otavio Salvador cce5af60b1 mozjs: Avoid use of X11 from host when X11 is disabled
The mozjs build system makes use of host headers and libraries if not
passed an invalid path for `--x-includes` and `--x-libraries`. This
fixes host contamination while building in a development host.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-28 21:48:21 -08:00
Hongxu Jia be16770cc4 libblockdev: 2.18 -> 2.20
Add nvdimm support since upstream python3-blivet [20ae5ea Re-add
nvdimm plugin Recommends on 3.1+.]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:37 -08:00
Hongxu Jia cc46014a49 volume-key: 0.3.11 -> 0.3.12
Add PACKAGECONFIG to build with python3 rather than python2.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Hongxu Jia 652ddc6221 libreport: 2.9.5 -> 2.9.6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00