2579 Commits

Author SHA1 Message Date
Oleksandr Kravchuk b4ae53538b flatbuffers: update to 1.11.0
Add detection logic for strtoull_l function needed for musl builds

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-17 12:34:21 -08:00
Adrian Bunk 267ac62cd3 ltrace: Remove RDEPENDS on elfutils
It was added without a rationale and seems unnecessary.
A runtime dependency on libelf is already automatically generated.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-15 17:59:35 -08:00
Khem Raj 3984ac6e4f python-six: Update to 1.13.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 22:08:27 -08:00
André Draszik 5734546728 nodejs: support long directory names for ${B} / ${S}
Part of the NodeJS build builds V8, which at some stage tries to call
ar with all objects with *absolute* paths (and printf the command line
first).

This will fail if the build path is too long:
    make[1]: execvp: printf: Argument list too long
when trying to create Release/obj.target/deps/v8/gypfiles/libv8_base.a
via below gyp-generated out/Makefile rule:
    cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
i.e. something like
    printf rm -f Release/obj.target/deps/v8/gypfiles/libv8_base.a && arm-poky-linux-musleabi-gcc-ar crsT Release/obj.target/deps/v8/gypfiles/libv8_base.a ...

The above failure happened on a build-directory S with 204 characters
on a Jenkins machine.

While one could probably increase the ulimit on that specific machine,
that would be a pretty specific build machine fix which would need to
be applied everywhere, or switch to non-verbose builds / compilation,
but fortunately we can change all object references to be relative to
the build directory itself by setting the builddir_name make variable
and thus avoid the other two possible work-arounds.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
André Draszik c174217540 nodejs: use OE-provided compiler flags (arm)
This overrides yocto-provided build flags with its own, e.g we get
    arm-poky-linux-musleabi-g++  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 \
                                 ... \
                                  -march=armv7-a -mfpu=neon -mfloat-abi=hard -marm

Causing the latter to override the former, and compiler warnings:
    cc1plus: warning: switch '-mcpu=cortex-a7' conflicts with '-march=armv7-a' switch

Patch this out, so that yocto-provided flags take precedence.
Note that in reality the same should probably be done for all the other
supported architectures, too.

Note that this also switches to Thumb(2) mode (in my case). No obvious
problems have been noted during compilation or runtime.

Upstream-Status: Inappropriate [oe-specific]
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
André Draszik 0d4a59268c nodejs: allow use of system gyp
Now that there is a gyp (python2) recipe in meta-python,
allow its use instead of the bundled one for when
meta-python is enabled.

At the same time, unconditionally inherit pythonnative
as in either case gyp actually uses python, and the
build machine's python and installed modules should
never be used.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
André Draszik 0c6cdbe3db nodejs: delete all bundled deps in do_unpack() if needed
We can delete bundled deps where system-provided counterparts
should be used instead.
Amongst others, this ensures they are not used accidentally.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
André Draszik 08956bdd89 nodejs: ensure to use correct compiler & flags always
NodeJS comes with an embedded, patched, version of gyp.

Normally, gyp supports compiling for the build machine, e.g.
native tools that need to be compiled to run during the build,
and for the host, using different variables, e.g. CC and
CC.host, etc.
Most of this has been patched out in the NodeJS version of gyp,
and essentially it only supports compiling using one compiler -
${CC}. This modification excludes LDFLAGS for native tools, and
those still evaluate LDFLAGS.host (only).

While this modified behaviour is OK for the OE use-case of building
native and target tools separately, it means that this recipe can
not work as-is with standard gyp, and wrong LDFLAGS are being used
for some of the tools compiled (torque) in either case.

By setting the make variables that gyp-generated makefiles inspect,
we support use of unpatched gyp, and we ensure that all tools
are compiled with correct LDFLAGS in either case.

This now also allows us to drop the patch that had been applied to
work-around this problem.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
Peace Lee f804ed1b3a guider: upgrade 3.9.4 -> 3.9.6
Signed-off-by: Peace Lee <iipeace5@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:17 -08:00
Andreas Oberritter fba182f5e5 pugixml: Update to version 1.10
Licence checksum changed due to updated copyright statement.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-10 07:52:39 -08:00
Khem Raj 44f4f89d7d sip: Upgrade to 4.19.19
Needed for QT 5.13 based python modules

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-10 07:52:39 -08:00
Zheng Ruoqin 05c93854e9 protobuf: upgrade 3.10.0 -> 3.10.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
André Draszik 5abd5bccd5 nodejs: allow use of system nghttp2
We can't enable this by default, though, as nghttp2 is
in the meta-networking layer, which might not be enabled.

At least this gives people a simple way to do so if
they want.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Alistair Francis 1115eb44bc openocd: Update to latest git version
Update to the latest git version and allow native builds.

The 0001-esirisc_flash-Rename-PAGE_SIZE-to-FLASH_PAGE_SIZE.patch has
been merged into master, so we can remove it.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 19:58:01 -08:00
Adrian Bunk 840f24a68d cgdb: Upgrade 0.6.8 -> 0.7.1
Obsolete patch removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
André Draszik 8337a8bb1a nodejs: allow use of system libuv (and make default)
Use system libuv via PACKAGECONFIG by default. So far,
nodejs had been built using its embedded copy of libuv,
which we generally try to avoid, for the known reasons
(independent updates, cve & license checks, etc).

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Adrian Bunk 5826b0f1dd php: Upgrade 7.3.9 -> 7.3.11
Patch for issue fixed upstream removed.
Also merge the inc into the recipe.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Adrian Bunk a0361dad8b nodejs: Upgrade 10.16.3 -> 10.17.0
Patch applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Adrian Bunk bf5d790232 doxygen: Upgrade 1.8.15 -> 1.8.16
Backported patch removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
André Draszik 76dd3dac1f nodejs: allow use of system c-ares (and make default)
Use system c-ares via PACKAGECONFIG by default. So far,
nodejs had been built using its embedded copy of c-ares,
which we generally try to avoid, for the known reasons
(independent updates, cve & license checks, etc).

Notes:
* otherwise nodejs uses its bundled version of c-ares
* the PACKAGECONFIG variable is 'ares' so as to be in
  line with other uses of this (wget & curl recipes in
  OE core)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Andreas Müller ae9f2ba86d geany-plugins: upgrade 1.34 -> 1.36
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:42:44 -07:00
Andreas Müller 88200e48d9 geany: upgrade 1.34.1 -> 1.36
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:42:44 -07:00
David Roman 95d95dcb10 nlohmann-json: upgrade 3.3.0 -> 3.7.0 2019-10-25 10:29:52 -07:00
Christophe PRIOUZEAU e023880905 yasm: Clarify BSD license variant
The License of yasm is MIT.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
Christophe PRIOUZEAU 392c33d6b7 mcpp: Clarify BSD license variant
The License of mcpp is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
Christophe PRIOUZEAU 4e3c6d9f57 cscope: Clarify BSD license variant
The License of cscope is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
Zang Ruochen 81f0a3c12f ltrace:Bug fix for data type length judgment
...
if (byte_size == sizeof(long)) {

        *type = is_signed ? ARGTYPE_LONG : ARGTYPE_ULONG;

        return true;

}
...

If ltrace's target command has a dbg package, ltrace will look for the debug file and analyze its contents.
Ltrace determines the type of analysis result variable. The type of the variable is longlong.
On 32-bit systems, longlong is 8 and long is 4 (same as in).
An error occurred because the ltrace code did not process a variable of length 8.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Wang Mingyu <wangmy.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-21 04:44:10 -07:00
Zang Ruochen 99303c190e protobuf: upgrade 3.9.2 -> 3.10.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 08:33:53 -07:00
Tekkub 329eeed421 nlohmann-fifo: Add recipe
Adding nlohmann-fifo, a c++ header library for fifo maps.

Signed-off-by: Aatir <aatrapps@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-17 08:33:52 -07:00
Khem Raj 0272da33e7 jsonrpc: Disable coverage in default build
Building with intrumentation is only useful during development or
optimization phases, in production, this will just make it slow and in
some cases not work where file system might be readonly.

If its needed then enable the packageconfig via a bbappend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Alexander Kanavin 54d9fe3e5f lua: change a hard readline dependency into an optional one
This requires patching the source code, as readline is hardcoded
in there.

The rationale is to allow disabling the dependency on a gplv3
component (readline) where that license is blacklisted.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Peter Kjellerstedt 1958ce5282 kconfig-frontends: Retrieve the Git repository from GitLab
The ymorin.is-a-geek.org site has been down since September and there
is no indication of when, if ever, it will be back. Retrieve the
repository from GitLab instead, recommended by the maintainer, Yann E
Morin.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Adrian Bunk 5f9f4cba2f xmlrpc-c: Remove the RDEPENDS on perl
The tools that use perl are no longer built.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-06 18:44:20 -07:00
Trevor Gamblin ec48bd3bdf php: fix CVE-2019-6978
Patch for php to sync with the fix for the same issue in
libgd.

CVE: CVE-2019-6978
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-04 19:11:55 -07:00
Qi.Chen@windriver.com 489d3b4b93 protobuf-c: fix race condition
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30 16:54:51 -07:00
Zang Ruochen 466fd78ac6 protobuf: upgrade 3.9.1 -> 3.9.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-24 10:35:46 -07:00
Oleksandr Kravchuk e14f5f7714 python-cpuset: update to 1.6
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 65dca46def python-pytoml: update to 0.1.21
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 7cd6cf7035 python-pyobject: update to 3.34.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk f94ba50385 jsonrpc: update to 1.2.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:12 -07:00
Oleksandr Kravchuk 9f825cb31c capnproto: update to 0.7.0
License checksum changed due to minor change to the LICENSE file
mentioning other contributors (see @64db3a6def96453f775d).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-12 21:34:18 -07:00
Khem Raj ebe908a21a breakpad: Update dont-clobber-rsp patch to latest
This is based on upstream submission

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 16:01:49 -07:00
Khem Raj 054804de14 openocd: Add --disable-werror always
toolchain-gcc override is only valid when meta-clang is included in
layers, but this knob is actually needed for gcc to work, so having an
empty override would not add this option while the default compiler
remains gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 14:24:30 -07:00
Khem Raj 5fc1bf0dbe android-tools: Recognise i686 for HOST_ARCH
qemux86 now uses i686

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 21:54:22 -07:00
Adrian Bunk c943bc5ea9 php: Move more into php.inc after php5 removal
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 06:54:01 -07:00
Adrian Bunk 7c9881e254 php: Remove no longer needed CFLAGS_append_aarch64
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 06:54:01 -07:00
Yi Zhao 54983c1351 php: fix module path in mod_php.conf
The apache2 module's path has been changed from ${libdir} to
${libexecdir} in commit 8d4d608b4e. Update
mod_php.conf to adapt it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 06:54:01 -07:00
Khem Raj c31468e37a php: Turn PCRE JIT off for riscv
Its not yet supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 00:45:48 -07:00
Khem Raj 5d4b25aa9c openocd: disable werror when building with gcc
gcc 9.x warns more

TOPDIR/build/tmp/work/mips32r2-yoe-linux/openocd/0.10+gitrAUTOINC+7ee618692f-r0/recipe-sysroot/usr/include/bits/string_fortified.h:71:10: error: '__builtin_memset' offset [509, 512] from the object at 'buff' is out of the bounds of referenced subobject 'reserved7' with type 'mg_io_uint8[186]' {aka 'unsigned char[186]'} at offset 322 [-Werror=array-bounds]
|   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-09 08:36:20 -07:00
Adrian Bunk e23ac2e27e librcf: Remove, PNBLACKLIST since April 2018
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-08 14:00:39 -07:00