Commit Graph

9038 Commits

Author SHA1 Message Date
Sakib Sajal b356af07fb grpc: upgrade 1.36.1 -> 1.36.2
Changelog:
https://github.com/grpc/grpc/releases/tag/v1.36.2

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11 10:06:02 -08:00
Martin Jansa af7851aa40 ceres-solver: prevent fetching git hook during do_configure
* today I've found 2 jenkins jobs stuck way too long sitting in this do_configure
  Bitbake still alive (5000s)
  Bitbake still alive (10000s)
  Bitbake still alive (15000s)
  Bitbake still alive (20000s)
  Bitbake still alive (25000s)
  Bitbake still alive (30000s)
  ... manually killed, the CMake ...
  ERROR: ceres-solver-1.14.0-r0 do_configure: Execution of 'ceres-solver/1.14.0-r0/temp/run.do_configure.39438' failed with exit code 143:
  ...
  | -- Detected Ceres being used as a git submodule, adding commit hook for Gerrit to: ceres-solver/1.14.0-r0/git/.git
  | ceres-solver/1.14.0-r0/temp/run.do_configure.39438: line 213: 39485 Terminated              cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja ...

  I've seen it with dunfell and gatesgarth, but master has the same
  ADD_GERRIT_COMMIT_HOOK function (just in newer ceres-solver release),
  so probably needs the same.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11 10:06:02 -08:00
Changqing Li 9be6b4f5a2 php: allow php as empty
Since commit c4ffcaa2[php: split out phpdbg into a separate package],
package php is empty, we might met error:
nothing provides php needed by php-cli-7.4.9-r0.corei7_64

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11 00:12:55 -08:00
Matteo Croce ac05388b62 libbpf: use pkg-config
The libbpf makefile uses pkg-config to get the libelf build flags and
file paths.
Inherit pkgconfig so the install target can copy the binaries in the
sysroot, which are needed by other packages, like bcc.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11 00:12:55 -08:00
Martin Jansa 3c4e544007 glog: fix searching for Libunwind
* it used to be part of 0003-installation-path-fix.patch which was removed during
  the upgrade to 0.4.0 and now some recipes (e.g. mtp-server from meta-luneos) are
  failing like:
  CMake Error at /OE/build/luneos-hardknott/webos-ports/tmp-glibc/work/tissot-webos-linux/mtp-server/0.0.3+gitAUTOINC+bb4a81e61b-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
    By not providing "FindLibunwind.cmake" in CMAKE_MODULE_PATH this project
    has asked CMake to find a package configuration file provided by
    "Libunwind", but CMake did not find one.

    Could not find a package configuration file provided by "Libunwind" with
    any of the following names:

      LibunwindConfig.cmake
      libunwind-config.cmake

    Add the installation prefix of "Libunwind" to CMAKE_PREFIX_PATH or set
    "Libunwind_DIR" to a directory containing one of the above files.  If
    "Libunwind" provides a separate development package or SDK, be sure it has
    been installed.
  Call Stack (most recent call first):
    /OE/build/luneos-hardknott/webos-ports/tmp-glibc/work/tissot-webos-linux/mtp-server/0.0.3+gitAUTOINC+bb4a81e61b-r0/recipe-sysroot/usr/lib/cmake/glog/glog-config.cmake:35 (find_dependency)
    CMakeLists.txt:17 (find_package)

  because LibunwindConfig.cmake is provided by glog as:
  recipe-sysroot/usr/lib/cmake/glog/FindLibunwind.cmake
  but this directory wasn't searched by CMake.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11 00:12:55 -08:00
Randy MacLeod d7aa1a60f6 nss: upgrade 3.60.1 -> 3.62
The patch: nss-fix-nsinstall-build.patch is embedded specific
so set it's Upstream-Status to inappropriate.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-09 08:33:51 -08:00
Khem Raj e352b5bda7 musl-nscd: Make lex syntax posix'y
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 20:55:21 -08:00
zhengruoqin 63a96ba46f uthash: upgrade 2.2.0 -> 2.3.0
-License-Update: Copyright year updated to 2021.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 17:24:14 -08:00
Khem Raj d1a74bad36 glog: Link with libexecinfo on musl
some platforms e.g. riscv do not yet have libunwind ported so use
libexecinfo instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 16:24:25 -08:00
Khem Raj bbc3b9dd0f mpv: Link libatomic on riscv64
gcc uses __atomic_compare_exchange_1 which is not implemented for rv64

Fixes
video/out/vo_libmpv.c:186: undefined reference to `__atomic_compare_exchange_1'
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 16:24:24 -08:00
Joshua Watt 58ddb1445b classes: Add Android sparse image class
Adds a class to create sparse image files using the Android tools

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 14:11:59 -08:00
Yi Fan Yu bd09abe3e3 rsyslog: Fix rsyslog systemd service not starting
$(sbindir) -> ${sbindir}

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 14:11:59 -08:00
Nisha Parrakat 61e3bc3907 neon: use pkg-config instead of xml2-config to configure
xml2-config is broken for neon.
if packageconfig libxml2, webdav, zlib is enabled for neon
we get the following configure error in the yocto build.

| configure: WebDAV support is enabled
| checking for xml2-config... xml2-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config
| checking libxml/xmlversion.h usability... no
| checking libxml/xmlversion.h presence... no
| checking for libxml/xmlversion.h... no
| configure: error: could not find parser.h, libxml installation problem?
| WARNING: exit code 1 from a shell command.

The patch lets configure use pkg-config

Signed-off-by: Nisha Parrakat <nisha.parrakat@kpit.com>
Signed-off-by: Saloni Jain <Saloni.Jain@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 08:01:50 -08:00
Andreas Müller e74d2b62fe poppler: upgrade 21.02.0 -> 21.03.0
Release 21.03.0
core:
 * Fix parsing text in some broken pdf files. Issue #1040
 * Fix memory issue when using threads. Issue #1050
 * TextSelectionDumper: Fix getText() for space after word
 * Change signature of OutputDev:tilingPatternFill
 * Make PDFDocBuilder return a std::unique_ptr
 * Improve well formed check for shading functions
 * Fix leak in case of fread failing
 * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
 * PSOutputDev: Fix stack overflow in broken files

glib:
 * poppler_annot_free_text_get_callout_line: Fix wrong static cast
 * poppler-structure-element: fix memleak
 * Improve documentation
 * demo: keep same visual appearance between displayed and copied text

utils:
 * pdftotext: Add -cropbox option
 * pdftoppm: Add -progress option
 * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927

qt6:
 * Add missing poppler-qt6.pc.cmake

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-07 17:44:47 -08:00
Andreas Müller 85946f21b2 udisks2: upgrade 2.9.1 -> 2.9.2 / replace '_git' by version in recipe-name
This is a bugfix release, notable changes include:

* the /etc/fstab "noauto" mount option is now reflected in the org.freedesktop.UDisks2.Block.HintAuto property
* security: the recursive org.freedesktop.UDisks2.Filesystem.TakeOwnership() method call is now less prone to race conditions
* (e)MMC block devices are now always marked as non-removable and non-ejectable
* missing /etc/crypttab is now handled gracefully when adding or removing entries
* loop device setup fixes for recent kernels

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-07 17:44:47 -08:00
Randy MacLeod b17210e410 zabbix: upgrade 4.4.6 -> 5.2.5
Drop CVE patch that is not needed for 5.2.5. Add Upstream-Status: tag
for the configure patch which specifies the kernel version.
Specify the recipe specific sysroot path to avoid:
   QA Issue: ... [configure-unsafe]
for libpcre and iconv.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 21:40:35 -08:00
Randy MacLeod c64ab8ac63 gperftools: upgrade 2.8.1 -> 2.9.1
Add perl modules, sort RDEPENDS and add a description.
Add curl as RDPENDS since it's needed by pprof.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 21:40:35 -08:00
Khem Raj 2642184903 mongodb: Upgrade to 4.4.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 18:47:15 -08:00
Khem Raj 409cdb1280 packagegroup-meta-oe: Add libleak to packagegroup-meta-oe-extended
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 18:47:15 -08:00
Khem Raj 053ffb0974 libleak: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 18:47:15 -08:00
Khem Raj e337dcc00b libbacktrace: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 18:47:10 -08:00
Oleksandr Kravchuk a56c4a636e libnice: update to 0.1.18
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-06 07:53:38 -08:00
Yi Fan Yu 47cdc51e50 librelp: update 1.6.0 -> 1.10.0
Now pulling from the stable branch

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 20:24:59 -08:00
Khem Raj 8cb1ab780f open-vm-tools: Do not use volatile qualifier
gcc 11 has started to error on it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 12:22:57 -08:00
Khem Raj 9b62982d6c nss: Disable Werror
with newer compilers we are seeing new warnings, e.g.

error: argument 1 of type 'int[1]' with mismatched bound [-Werror=array-parameter=]
    8 |     extern void pr_static_assert(int arg[(((long unsigned int)-1) > (long unsigned int)1) ? 1 : -1]);
      |                                  ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

with gcc11 and clang has its own set which triggers here as well, its
better to disable werror therefore, we still have warnings if someone
wants to fix them but they wont break the builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 12:22:57 -08:00
Sam Van Den Berge 51f98865da libiio: fix build when python bindings are enabled
See https://github.com/openembedded/meta-openembedded/issues/248

Signed-off-by: Sam Van Den Berge <sam.van.den.berge@telenet.be>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 08:48:51 -08:00
Michael Vetter f6f0d171b0 jasper: upgrade 2.0.25 -> 2.0.26
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 07:57:09 -08:00
Clément Péron 9232086c26 grpc: move grpc plugins to a new grpc-compiler package
Like it's done for protobuf and flatbuffers move the binaries produce
by gRPC to a grpc-compiler package.

This is more explicit and keep coherency with protobuf and flatbuffers.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 07:28:07 -08:00
Andrej Valek d4ab3fd1ae jsoncpp: Upgrade to 1.9.4
- do not install obj files

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05 07:28:07 -08:00
Khem Raj 98175fd0cc opencv: Remove duplicate patch
<thread> include is already taken care with 0001-Fix-building-opencv-using-gcc-11.x-19244.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 10:57:59 -08:00
Khem Raj cbd15ecde5 opencv: Add packageconfig for building tests
This could be enabled when ptests are enabled but generally its fine to
disable them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 10:57:59 -08:00
Clément Péron 0265b235fa grpc: remove gflags dependency
gFlags has been removed since:
1f670397ce7f8a12dfb1fb32d8857b2233022856 Remove gflags.

With the move to abseil's flags, this removed the now-unnecessary submodule and installation commands.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
Clément Péron 7ed67b8963 grpc: Add PackageConfig to build only required plugins
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zhengruoqin a6c07fe69e sigrok-cli: upgrade 0.7.1 -> 0.7.2
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zhengruoqin 2c6219ba7c qpdf: upgrade 10.0.4 -> 10.2.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zhengruoqin a0a6f6827c nano: upgrade 5.5 -> 5.6
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zangrc ff4d17bfa7 mailcap: upgrade 2.1.49 -> 2.1.52
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zangrc 16f731f5f2 hwdata: upgrade 0.343 -> 0.345
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
Khem Raj 386d33c02a abseil-cpp: Ask for C++14 std explicitly
Newer gcc ( gcc11 ) will be defaulting to c++17 and abseil currently
needs work to get working with c++17, so pin to c++14 untill upstream
gets it working with c++17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 23:31:55 -08:00
Andrei Gherzan dad2aef6be nss: Fix warnings generated by getcwd
getcwd() conforms to POSIX.1-2001 which leaves the behaviour when the
buf argument is NULL, undefined. This makes gcc 10+ throw the following
warning:

argument 1 is null but the corresponding size argument 2 value is 4096

Initially, this was fixed by disabling NSS_ENABLE_WERROR. This patch
re-enables NSS_ENABLE_WERROR (by leaving it to its default value) and
takes advantage of the existing functionality in nss that wraps the
getcwd call into a function making sure that the buf argument is always
properly allocated.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 19:55:28 -08:00
Khem Raj 18e92f2c6c libyui-ncurses: Pass -DNCURSES_WIDECHAR in CXXFLAGS
We want the wide character functions from the ncurses header.
Unfortunately it doesn't provide them by default, but only
if either:
 * NCURSES_WIDECHAR is defined (for ncurses 20111030 and up)
 * _XOPEN_SOURCE/_XOPEN_SOURCE_EXTENDED are suitably defined

So far we have been implicitly relying on the latter, because
for GNU libc when we define _GNU_SOURCE this causes libc
to define the _XOPEN_SOURCE macros for us. Unfortunately
this doesn't work on all libcs, because some (like musl libc)
do not define _XOPEN_SOURCE when _GNU_SOURCE is defined.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 19:55:28 -08:00
Khem Raj b22572517b libyui: Adopt to new cmake option to disable Werror
Add -DCMAKE_BUILD_TYPE=RELWITHDEBINFO so we have balance between build
speed and debug info

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 15:38:25 -08:00
Khem Raj 7af511f644 libyui-ncurses: Disable Werror
There are new warnings seen with new clang 12 and gcc11
lets disable the warnings-as-errors for now

src/NCPopupTextEntry.cc:76:74: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
|    76 |                                                       NCInputField::PLAIN);
|       |                                                                          ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 14:18:55 -08:00
Khem Raj ae993f73ca libyui,libyui-ncurses: Upgrade to 4.0.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Pascal Bach <pascal.bach@siemens.com>
2021-03-03 14:10:53 -08:00
Khem Raj c9cd58aa6a mongodb: Include <optional> c++ header
Fixes build with gcc11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 13:00:14 -08:00
Khem Raj c3b91945d6 grpc: Upgrade to 1.36.1
Changelog
https://github.com/grpc/grpc/releases/tag/v1.36.0-pre1
https://github.com/grpc/grpc/releases/tag/v1.36.0
https://github.com/grpc/grpc/releases/tag/v1.36.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 12:42:17 -08:00
Khem Raj 078b4f8a33 opengl-es-cts: Disable -Wuninitialized for external/amber
the code in verifier.cc needs to be ported to use enums or memcpy as it
violates aliasing rules. Until then disable the warning

HexFloat16ToFloat, HexFloat10ToFloat, HexFloat11ToFloat are the
functions to be reworked in external/amber/src/src/verifier.cc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-03-03 12:17:27 -08:00
Yi Fan Yu 768532675a rsyslog: Update 8.2012.0 -> 8.2102.0
Ptest Results: (Timeout 800) (qemux86-64)
           2012 2102
    ================
    TOTAL: 424  424
    PASS:  369  369
    SKIP:  41   41
    XFAIL: 0    0
    FAIL:  14   14
    XPASS: 0    0
    ERROR: 0    0

Many ptest failures are due to
busybox logger not having the `-d` flag.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 11:11:06 -08:00
Khem Raj db5637f64e mozjs: Drop using JS_VOLATILE_ARM
JS_VOLATILE_ARM was a workaround for a gcc 4.7 bug on B2G where it
would generate unaligned word accesses that should have been
individual byte accesses.  firefox now a days require at least gcc 6.1+ (and ARM
systems support unaligned accesses). see [1]

in gcc11 volatile wont be accepted as argument qualifier in functions,
hence the build breaks, this patch unbreaks it

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1495731

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-03 11:11:06 -08:00
Kai Kang ffc6732d9d libinih: install header files without prefix dir inih
The other flavor of inih which adapted by Fedora and Ubuntu installs
header files to /usr/include directly. And xfsprogs 5.10.0 also checks
ini.h without extra search path and failed. So install header files
without prefix dir inih.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 11:08:29 -08:00