Commit Graph

16122 Commits

Author SHA1 Message Date
Liwei Song d104def001 fio: disable compiler optimizations for x86 arch
with compiler optimizations enabled, "fio --help" will failed with
"Illegal instruction" on Intel Denverton board.
Enable it on condition that MACHINE_FEATURES include x86.

Related commits:
https://git.openembedded.org/meta-openembedded/commit/?id=c58d9d500f90246d2d879e720fdfa5bbbc731c7f
https://git.openembedded.org/meta-openembedded/commit/?id=739349da0826221f98648b64b693f9ae33e7d4ea

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 10:57:21 -07:00
Pierre-Jean Texier a76744d8ba cryptsetup: upgrade 2.3.0 -> 2.3.1
This is a bug-fix release, see full changelog:

 - https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.3/v2.3.1-ReleaseNotes

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 16:49:59 -07:00
Jaga e331ce08e4 nodejs: install gen-regexp-special-case only when icu is enabled
Fixes install errors when icu packageconfig is disabled

Signed-off-by: Jaga <jagadheesan_duraisamy@comcast.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 09:58:05 -07:00
Andreas Müller a12959c75e xfce4-power-manager: upgrade 1.6.5 -> 1.6.6
Release notes for 1.6.6

=======================
- Dismiss critical notification when connecting to AC
- Fix inhibiting xfce4-screensaver (Bug #16364)
- settings: Move % sign out of spinbutton (Bug #15994)
- panel-plugin: Toggle presentation mode on middle click
- panel-plugin: Properly show 'About' menu item
- panel-plugin: Add missing about callback
- panel-plugin: Properly hook up about signal
- panel-plugin: Replace deprecated call
- Switch to symbolic window-close icons

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 08:38:31 -07:00
Andreas Müller 2145fad9e5 xfce4-whiskermenu-plugin: upgrade 2.4.2 -> 2.4.3
Release notes for 2.4.3

=======================
- Fix loading incorrect icons for some applications. (bug #16461)
- Translation updates: Bulgarian, Finnish, Greek, Icelandic,
  Interlingue, Nepali, Norwegian Bokmal, Russian, Slovak.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 08:38:31 -07:00
Andreas Müller dc426d1149 xfce4-clipman-plugin: upgrade 1.4.3 -> 1.4.4
Release notes for 1.4.4

=======================
This is a bugfix release.

- settings: Improve layout
- settings: Drop some GtkStock items
- Update support URLs from goodies to docs.xfce.org (Bug #16141)
- Drop deprecated Gtk style properties
- Also show desktop file in Cinnamon (Bug #14058)
- Fix getting modifier in gsd-clipboard-manager (Bug #14642)
- Fix typo
- Translation Updates:
  Albanian, Armenian (Armenia), Belarusian, Catalan,
  Chinese (China), Czech, Danish, Finnish, French, Galician,
  Hebrew, Icelandic, Italian, Kazakh, Norwegian Bokmål, Polish,
  Portuguese, Slovak, Slovenian, Spanish, Turkish, Ukrainian

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 08:38:31 -07:00
Rajesh Ravi ebcd5103f3 python3-pycryptodomex: add 3.9.4 recipe
Add python3-pycryptodomex 3.9.4 recipe needed to build
such components as optee 3.8.0.

Signed-off-by: Rajesh Ravi <rajesh.ravi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12 00:47:45 -07:00
Yue Tao 6ce0a9c9f7 openjpeg: Fix CVE-2020-6851
Backport patch from upstream to fix heap-based buffer overflow

Upstream-Status: Backport
CVE: CVE-2020-6851

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Sakib Sajal <Sakib.Sajal@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 15:30:18 -07:00
Madhavan Krishnan 721f234bd2 libcamera: Added the meta multimedia packagegroup in libcamera image
Added the packagegroup of meta multimedia in the libcamera core image

After adding the meta multimedia packagegroup, we faced the faad2 componenet
was unknown during bitbake parsing.

In meta raspberrypi, faad has been included in gstreamer bbappend file, so we
have upstream the faad to be included only when commercial license is whitelisted.

Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 11:34:36 -07:00
nick83ola 9047a1db30 python3-kiwisolver: add recipe for version 1.1.0
This is a dependency for python3-matplotlib

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
nick83ola f83f29aa5d python3-cycler: add recipe for 0.10.0
This is a dependency for python3-matplotlib

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00
Pierre-Jean Texier f5d2bf55a8 python3-packaging: upgrade 20.0 -> 20.3
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:24 -07:00
Pierre-Jean Texier b650d8055e python-parse: upgrade 1.14.0 -> 1.15.0
License-Update: copyright years updated

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:24 -07:00
Pierre-Jean Texier 6549c2d7ea python3-pulsectl: upgrade 20.1.2 -> 20.2.4
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier bce68a4739 python3-pymisp: upgrade 2.4.119.1 -> 2.4.122
See full changelog https://github.com/MISP/PyMISP/blob/master/CHANGELOG.txt

Also add bash to RDEPENDS

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier e47b59f413 python3-tqdm: upgrade 4.41.1 -> 4.43.0
License-Update: copyright years updated

See full changelog https://github.com/tqdm/tqdm/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 558d321c46 python3-protobuf: upgrade 3.9.2 -> 3.11.3
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 8b6cda142b python3-pyroute2: upgrade 0.5.7 -> 0.5.9
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 47a6b2b731 python3-wrapt: upgrade 1.11.2 -> 1.21.1
See full changelog https://wrapt.readthedocs.io/en/latest/changes.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 3a9f81839b python3-jsonpatch: upgrade 1.24 -> 1.25
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 9b615bcfab python3-sqlparse: upgrade 0.3.0 -> 0.3.1
See full changelog https://sqlparse.readthedocs.io/en/latest/changes/

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier bf7de63a4f python3-pyperf: upgrade 1.7.0 -> 1.7.1
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier 73eb1578cf python3-lxml: upgrade 4.4.2 -> 4.5.0
See full changelog https://pypi.org/project/lxml/4.5.0/

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Pierre-Jean Texier ad371d63ca dbus-broker: upgrade 21 -> 22
See full changelog https://github.com/bus1/dbus-broker/releases/tag/v22

Also remove patches applied upstream

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 18:21:23 -07:00
Joshua Watt 72d403364c glmark2: Update to latest version
Updates to the most recent version of glmark2. In particular, this fixes
problems where the benchmark would fail to start due to improper
handling of EGL_NO_DISPLAY with EGL 1.5

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 13:49:35 -07:00
Khem Raj a4b0a7ca9a renderdoc: Upgrade to 1.7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 13:48:39 -07:00
Henry Chang 27d458c72d python-pandas: upgrade 0.23.4 -> 1.0.1
Signed-off-by: Henry Chang <mr.changyuheng@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 13:48:39 -07:00
Wang Mingyu 2773a9f02e kea: upgrade 1.7.4 -> 1.7.5
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10 13:48:39 -07:00
Khem Raj 3f6419c895 libde265: Update to 1.0.5
License-Update: Examples are now MIT see [1]

[1] https://github.com/strukturag/libde265/commit/4488ae0c3b287ef6f24a958004481b2b337abc76

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Khem Raj 33440e89fe minidlna: Use clock_gettime API insteaad of syscall
Makes it 64bit time_t safe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Khem Raj 70f464892b abseil-cpp: Depend on libexecinfo on musl
Needed for execinfo to work
Fixes
absl/debugging/internal/stacktrace_generic-inl.inc:14:10: fatal error: 'execinfo.h' file not found
         ^~~~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Khem Raj cfb432a714 kronoset: Disable sign-compare with clang
clang isn't suppressing warnings from system headers like it should
Fixes
../../git/libknet/transport_udp.c:326:48: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
                for (cmsg = CMSG_FIRSTHDR(&msg);cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Khem Raj cae26bb842 wireshark: Inherit mime and mime-xdg
Fixes
ERROR: QA Issue: package contains mime types but does not inherit mime: wireshark path '/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/wireshark/1_3.2.2-r0/packages-split/wireshark/usr/share/mime/packages/wireshark.xml' [mime]
ERROR: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: wireshark path '/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/wireshark/1_3.2.2-r0/packages-split/wireshark/usr/share/applications/wireshark.desktop' [mime-xdg]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 12:37:28 -07:00
Changqing Li 41eb6e1a61 python3-sqlparse: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-09 11:26:36 -07:00
Zheng Ruoqin 3173648279 dnf-plugin-tui: upgrade 1.0 -> 1.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 22:23:12 -07:00
Andreas Müller 24875f48ea mutter: add patch from upstream to fix build with mesa >= 20.0.x
Fixes:
| FAILED: cogl/cogl/d9c41d2@@mutter-cogl-5@sha/winsys_cogl-winsys-egl.c.o
| arm-mortsgna-linux-gnueabi-gcc -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot -Icogl/cogl/d9c41d2@@mutter-cogl-5@sha -Icogl/cogl -I../mutter-3.34.4/cogl/cogl -Icogl -I../mutter-3.34.4/cogl -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/libdrm -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/cairo -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/pixman-1 -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/uuid -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/freetype2 -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/libpng16 -I/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot/usr/include/gdk-pixbuf-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -O2 -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0=/usr/src/debug/mutter/3.34.4-r0 -fdebug-prefix-map=/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0=/usr/src/debug/mutter/3.34.4-r0 -fdebug-prefix-map=/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot= -fdebug-prefix-map=/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/mutter/3.34.4-r0/recipe-sysroot-native= -fPIC -pthread '-DCOGL_LOCALEDIR="/usr/share/locale"' -DCOGL_COMPILATION '-DCOGL_GL_LIBNAME="libGL.so.1"' '-DCOGL_GLES2_LIBNAME="libGLESv2.so"' -MD -MQ 'cogl/cogl/d9c41d2@@mutter-cogl-5@sha/winsys_cogl-winsys-egl.c.o' -MF 'cogl/cogl/d9c41d2@@mutter-cogl-5@sha/winsys_cogl-winsys-egl.c.o.d' -o 'cogl/cogl/d9c41d2@@mutter-cogl-5@sha/winsys_cogl-winsys-egl.c.o' -c ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c
| ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c: In function '_cogl_winsys_display_setup':
| ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c:467:23: error: 'CoglRendererEGL' {aka 'struct _CoglRendererEGL'} has no member named 'pf_eglBindWaylandDisplay'
|   467 |       if (egl_renderer->pf_eglBindWaylandDisplay)
|       |                       ^~
| ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c:468:14: error: 'CoglRendererEGL' {aka 'struct _CoglRendererEGL'} has no member named 'pf_eglBindWaylandDisplay'
|   468 |  egl_renderer->pf_eglBindWaylandDisplay (egl_renderer->edpy,
|       |              ^~
| ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c: In function '_cogl_egl_create_image':
| ../mutter-3.34.4/cogl/cogl/winsys/cogl-winsys-egl.c:902:17: error: 'EGL_WAYLAND_BUFFER_WL' undeclared (first use in this function)
|   902 |   if (target == EGL_WAYLAND_BUFFER_WL)
|       |                 ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Alistair Francis 87a44d82f2 python3-obd: Consolidate into a single file
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Gianfranco Costamagna d148bc4940 mosquitto: do not enable srv by default
Rationale can be found in the Debian packaging (debian/changelog):
Revert change enabling SRV functionality, it is disabled by default
upstream and of little benefit to any end user, but adds reasonable
complexity to the code.

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Gianfranco Costamagna 9f6d45379e mosquitto: refresh patches and sync with Debian packaging
Also add patch from debian to mqtt_protocol.h header file

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Khem Raj 7e6305da8e mraa: Fix build on x86 32bit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 16:38:30 -07:00
Khem Raj d62b225023 nss,nspr: Add recipes
oe-core has punted them, but they are still needed by many packages e.g.
mozjs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 08:15:34 -07:00
Khem Raj e15b04fa10 libqb: Build native version as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 08:15:34 -07:00
Khem Raj 5c051f8402 corosync: Update to 3.0.3
- Add dependency on kronosnet
- Remove obsolete options and packageconfigs
- Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 08:15:34 -07:00
Khem Raj a367e54deb kronosnet: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 08:15:34 -07:00
Adrian 3be47e7424 networkmanager: Upgrade 1.18.4 -> 1.22.8
- rebased patches
- added two more small patches
- Option --enable-polkit-agent is not available with current NM, removed
- Option --with-libnm-glib is not available with current NM, removed
- New package NM-cloud-setup for new experimental cloud setup feature
- NM tries to re-license from GPL to LGPL, added LGPL to LICENSES
- Removed empty packages libnmutil libnmglib libnmglib-vpn

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-08 08:13:34 -07:00
Jeremy Puhlman cd6b342f18 net-snmp: fix reproducibilty issues in net-snmp-config
Both STAGING_HOST_DIR and -fmacro-prefix-map path to WORKDIR were
encoded in the config.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 23:31:26 -08:00
Jeremy Puhlman 49e60520cc net-snmp: multilib fixes
net-snmp/net-snmp-config.h:
- encodes type sizes
- encodes pathing into the libdir
net-snmp-config:
- encodes build configuration data and lib pathing.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 17:37:14 -08:00
Martin Jansa 088ca60356 daemontools: remove native BBCLASSEXTEND
* it was used only to provide chkshsgr which is now replaced with no-op call
  since
  commit 50d526d06a
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Tue Jan 28 11:28:52 2020 -0800

    daemontools: Disable the chkshsgr tests

    Running the chkhsgr test during cross compile fails

    ./chkshsgr || ( cat warn-shsgr; exit 1 )
    Oops. Your getgroups() returned 0, and setgroups() failed; this means
    that I can't reliably do my shsgr test. Please either ``make'' as root
    or ``make'' while you're in one or more supplementary groups.

    All OE based targets have working getgroups()/setgroups()
    implementation, so its a safe assumption and therefore make the test
    to be a dummy

* the native chkshsgr from daemontools-native was actually being
  called only because of this chunk of cross-compile.patch:
  -       ./chkshsgr || ( cat warn-shsgr; exit 1 )
  +       chkshsgr || ( cat warn-shsgr; exit 1 )
  but all chkshsgr does is:
    short x[4];
    x[0] = x[1] = 0;
    if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
    _exit(0);
  which running on host system, doesn't say anything useful about the
  cross compile target, so it's easier to just remove the call in
  cross-compile.patch and simplify all this nonsense

* I came across this because daemontools-native was failing for me
  in "bitbake world" with zeus, which might be the same case as what
  Khem was seeing - just the final commit message doesn't reflect that

* daemontools-native fails to build without the above commit in
  zeus as well, when building inside docker container where my
  build user is in fewer groups (just 1) so the
  getgroups(1,x) call doesn't fail, but on more average OS the
  user will be in more than 4 groups and
  getgroups(1,x) would fail with errno 22 EINVAL
    - so setgroups isn't even called to return 1 error when chkshsgr is called
  http://man7.org/linux/man-pages/man2/setgroups.2.html
    If the calling process is a member of more than size
    supplementary groups, then an error results.
  if I increase the size of x enough for x to hold all groups, then setgroups
  will fail with errno 1 EPERM, which is the same error as shown
  under docker container where getgroups doesn't fail, because
  in both cases I'm using unprivileged user for builds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 17:23:54 -08:00
Pierre-Jean Texier 01e4b86ca1 python3-django: fix UPSTREAM_CHECK_REGEX
Fixes:

INFO: Skip package python3-django (status = UNKNOWN_BROKEN, current version = 2.2.7, next version = 1.15)

After this commit:

INFO: python3-django, 2.2.7, 3.0.4, None, N/A

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-06 17:23:54 -08:00