pahole-native package needs some uapi headers such like linux/btf.h,
otherwise it would report error as below:
btf_loader.c:342:54: error: invalid use of undefined type ‘struct btf_enum64’
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pass --with-systemd* variables to install in more typical directories
* adjust FILES:${PN} to package them and more explicitly list some of
the directories like sudoers.d
* also remove unnecessary trailing /* and fix indentation of closing quote
* fixes:
ERROR: QA Issue: zfs: Files/directories were installed but not shipped in any package:
/lib
/lib/modules
/lib/modules/6.1.20-v8
/lib/modules/6.1.20-v8/extra
/lib/modules/6.1.20-v8/extra/zstd
/lib/modules/6.1.20-v8/extra/zfs
/lib/modules/6.1.20-v8/extra/unicode
/lib/modules/6.1.20-v8/extra/lua
/lib/modules/6.1.20-v8/extra/spl
/lib/modules/6.1.20-v8/extra/zcommon
/lib/modules/6.1.20-v8/extra/avl
/lib/modules/6.1.20-v8/extra/nvpair
/lib/modules/6.1.20-v8/extra/icp
/lib/modules/6.1.20-v8/extra/zstd/zzstd.ko.xz
/lib/modules/6.1.20-v8/extra/zfs/zfs.ko.xz
/lib/modules/6.1.20-v8/extra/unicode/zunicode.ko.xz
/lib/modules/6.1.20-v8/extra/lua/zlua.ko.xz
/lib/modules/6.1.20-v8/extra/spl/spl.ko.xz
/lib/modules/6.1.20-v8/extra/zcommon/zcommon.ko.xz
/lib/modules/6.1.20-v8/extra/avl/zavl.ko.xz
/lib/modules/6.1.20-v8/extra/nvpair/znvpair.ko.xz
/lib/modules/6.1.20-v8/extra/icp/icp.ko.xz
/usr/lib/modules-load.d
/usr/lib/systemd/system
/usr/lib/systemd/system-preset
/usr/lib/systemd/system-generators/zfs-mount-generator
/usr/lib/systemd/system/zfs-scrub@.service
/usr/lib/systemd/system/zfs-scrub-weekly@.timer
/usr/lib/systemd/system/zfs-import.service
/usr/lib/systemd/system/zfs-import-scan.service
/usr/lib/systemd/system/zfs-share.service
/usr/lib/systemd/system/zfs-mount.service
/usr/lib/systemd/system/zfs-volume-wait.service
/usr/lib/systemd/system/zfs.target
/usr/lib/systemd/system/zfs-load-key.service
/usr/lib/systemd/system/zfs-import.target
/usr/lib/systemd/system/zfs-import-cache.service
/usr/lib/systemd/system/zfs-zed.service
/usr/lib/systemd/system/zfs-scrub-monthly@.timer
/usr/lib/systemd/system/zfs-volumes.target
/usr/lib/systemd/system-preset/50-zfs.preset
/usr/lib/modules-load.d/zfs.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
zfs: 42 installed and not shipped files. [installed-vs-shipped]
when libdir is /usr/lib64 with multilib.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete more code from __init__.py as we'll never be running from inside
a build tree.
Replace the use of skbuild.setup() with setuptools.setup(): the same
Python module is built and the only value-add is the potential build of
ninja, which we don't want and delete anyway.
This means we can remove most of the DEPENDS and RDEPENDS.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Don't override B to do in-tree builds, and run bootstrap from ${S} so
that it works correctly.
Also, remove redundant SRC_URI checksums, as this recipe now uses git.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pass LIBDIR to install ffnvcodec.pc in right directory
* fixes:
ERROR: QA Issue: nv-codec-headers: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/pkgconfig
/usr/lib/pkgconfig/ffnvcodec.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nv-codec-headers: 3 installed and not shipped files. [installed-vs-shipped]
when libdir is /usr/lib64 with multilib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fixes:
ERROR: QA Issue: nanopb: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.11
/usr/lib/python3.11/site-packages
/usr/lib/python3.11/site-packages/proto
/usr/lib/python3.11/site-packages/proto/nanopb_pb2.py
/usr/lib/python3.11/site-packages/proto/nanopb.proto
/usr/lib/python3.11/site-packages/proto/_utils.py
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nanopb: 7 installed and not shipped files. [installed-vs-shipped]
when libdir is /usr/lib64 with multilib.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fixes:
ERROR: QA Issue: libtomcrypt: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libtomcrypt.so.1.0.1
/usr/lib/libtomcrypt.so.1
/usr/lib/libtomcrypt.so
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libtomcrypt.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libtomcrypt: 6 installed and not shipped files. [installed-vs-shipped]
when libdir is /usr/lib64 with multilib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fix installed-vs-shipped with multilib:
ERROR: QA Issue: lib32-btrfsmaintenance: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/lib32-btrfsmaintenance
/usr/share/lib32-btrfsmaintenance/btrfsmaintenance-functions
/usr/share/lib32-btrfsmaintenance/btrfs-defrag.sh
/usr/share/lib32-btrfsmaintenance/prepare-release.sh
/usr/share/lib32-btrfsmaintenance/btrfs-trim.sh
/usr/share/lib32-btrfsmaintenance/btrfsmaintenance-refresh-cron.sh
/usr/share/lib32-btrfsmaintenance/btrfs-scrub.sh
/usr/share/lib32-btrfsmaintenance/btrfs-balance.sh
/usr/share/lib32-btrfsmaintenance/dist-install.sh
/usr/share/lib32-btrfsmaintenance/btrfs-defrag-plugin.sh
/usr/share/lib32-btrfsmaintenance/update-balance-usage-defaults.sh
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-btrfsmaintenance: 13 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fixes:
DEBUG: Executing shell function do_install
install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory
WARNING: exit code 1 from a shell command.
* drop strange 'g...@' from SRC_URI
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* without gobject-introspection-data in DISTRO_FEATURES the bbclass
correctly disables it:
$ bitbake-getvar -r spice-gtk EXTRA_OEMESON
#
# $EXTRA_OEMESON [6 operations]
# :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/meson.bbclass:44
# " ${PACKAGECONFIG_CONFARGS}"
# :prepend[class-target] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:28
# "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}"
# :prepend[class-native] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:33
# "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
# :prepend[class-nativesdk] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:34
# "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}"
# set /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:49
# "-Dpie=true -Dvapi=enabled"
# :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:50
# " -Dcoroutine=libucontext"
# pre-expansion value:
# "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}-Dpie=true -Dvapi=enabled ${PACKAGECONFIG_CONFARGS}"
EXTRA_OEMESON="-Dintrospection=false -Dpie=true -Dvapi=enabled "
and prevents build failure:
http://errors.yoctoproject.org/Errors/Details/702789/
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig)
../git/meson.build:346:0: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig
* it just needs GIR_MESON_*_FLAG to be set to avoid:
meson.build:4:0: ERROR: Value "false" (of type "string") for combo option "Check for GObject instrospection requirements" is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto".
* and enable vapi only when introspection is enabled, use PACKAGECONFIG for that to avoid:
meson.build:358:4: ERROR: Problem encountered: VAPI support requested without introspection
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* there is a meson option to disable introspection, it's just called 'gir'
fix GIR_MESON_OPTION to resolve:
http://errors.yoctoproject.org/Errors/Details/702780/
Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig)
../AppStream-0.16.1/meson.build:173:4: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* it's often pulled by elfutils when debuginfod is in DISTRO_FEATURES, but
when it isn't, it fails with:
http://errors.yoctoproject.org/Errors/Details/702773/
checking for libarchive... no
configure: error: Package requirements (libarchive) were not met:
No package 'libarchive' found
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
x11 was recently removed from REQUIRED_DISTRO_FEATURES but it
should still respect x11 in DISTRO_FEATURES, now this causes:
ERROR: Nothing PROVIDES 'libxi' (but meta-oe/recipes-core/glfw/glfw_3.3.bb DEPENDS on or otherwise requires it)
libxi was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Nothing PROVIDES 'libxinerama' (but meta-oe/recipes-core/glfw/glfw_3.3.bb DEPENDS on or otherwise requires it)
libxinerama was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Nothing PROVIDES 'libxrandr' (but meta-oe/recipes-core/glfw/glfw_3.3.bb DEPENDS on or otherwise requires it)
libxrandr was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Nothing PROVIDES 'libglu' (but meta-oe/recipes-core/glfw/glfw_3.3.bb DEPENDS on or otherwise requires it)
libglu was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Nothing PROVIDES 'libxcursor' (but meta-oe/recipes-core/glfw/glfw_3.3.bb DEPENDS on or otherwise requires it)
libxcursor was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
when wayland and opengl are in DISTRO_FEATURES, but x11 isn't.
REQUIRED_DISTRO_FEATURES is satisfied by "opengl" and ANY_OF_DISTRO_FEATURES by "wayland",
but the default PACKAGECONFIG doesn't match with that.
Also move libglu to x11 PACKAGECONFIG, because that also has x11
in REQUIRED_DISTRO_FEATURES.
Return x11 to REQUIRED_DISTRO_FEATURES because even with this change
it still fails to build without x11 in DISTRO_FEATURES, so until
wayland support is resolved it does require x11 to build, otherwise fails with:
glfw/3.3+gitAUTOINC+781fbbadb0-r0/recipe-sysroot-native/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
| Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
pipes is an alias for shlex therefore switch to using shlex
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This tool is installed as a part of the build process (build.sh sources
test_lib.sh)
This tool has been removed in the latest etcd main branch. Installing it
as a part of the build process breaks bitbake (it doesn't allow
downloading of packages once in the build steps).
This tool is not needed to build etcd (it appears to be used for some
optional test cases).
The following upstream commit removes the use of gobin in the main
branch, but it's not clear to me if the alternative of just running "go
install" will fix this issue. Fundamentally etcd allows package install
during build and bitbake does not:
https://github.com/etcd-io/etcd/commit/900fc8dd7ea578fbf1944836a04e40e98a11f402
Upstream-Status: Inappropriate
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Investigating the potential use of etcd within an OpenBMC distribution
to manage data sharing and leader election in a multi-BMC system. Start
off with a basic recipe to build the package.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A typo that probably caused a left over from override syntax conversion.
INITSCRIPT_PARAMS$_${PN} --> INITSCRIPT_PARAMS:${PN}
Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is new location where the project is developed now.
Pass CFLAGS to compiler cmdline
Package init script
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes a bunch of the following errors:
ERROR: gensio-2.6.4-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: gensio path '/usr/libexec/gensio/2.6.4/libgensio_xxx.a'
Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>