All of lore.kernel.org
 help / color / mirror / Atom feed
From: Armin Kuster <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [kirkstone 11/39] libldb: Fix installed-vs-shipped and rebuild error
Date: Sat, 30 Apr 2022 12:17:51 -0700	[thread overview]
Message-ID: <231fd21671eac6dd679cdbca6e58f552b28e39c1.1651346200.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1651346200.git.akuster808@gmail.com>

From: Robert Yang <liezhi.yang@windriver.com>

Fixed when multilib is disabled on intel-x86-64:
MULITLIBS = ""
$ bitbake sssd

ERROR: sssd-2.5.2-r0 do_package: QA Issue: sssd: Files/directories were installed but not shipped in any package:
/usr/lib/ldb
/usr/lib64/ldb/modules/ldb/memberof.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
sssd: 2 installed and not shipped files. [installed-vs-shipped]

And also remove bin/ got get a clean rebuild, otherwise, the rebuild result may
be incorrect.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5f6156c0ef842bd39e9eb1f7ce02eb7c7c961d3a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../recipes-support/libldb/libldb_2.3.3.bb            | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb b/meta-networking/recipes-support/libldb/libldb_2.3.3.bb
index c46a9784e3..6dd3ec3a9a 100644
--- a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb
+++ b/meta-networking/recipes-support/libldb/libldb_2.3.3.bb
@@ -68,3 +68,14 @@ FILES:pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \
 FILES:pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \
                    ${libdir}/.debug/libpyldb-util.*.so.*"
 FILES:pyldb-dev = "${libdir}/libpyldb-util.*.so"
+
+# Prevent third_party/waf/waflib/Configure.py checking host's path which is
+# incorrect for cross building.
+export PREFIX = "/"
+export LIBDIR = "${libdir}"
+export BINDIR = "${bindir}"
+
+do_configure:prepend() {
+    # For a clean rebuild
+    rm -fr bin/
+}
-- 
2.25.1



  parent reply	other threads:[~2022-04-30 19:18 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-30 19:17 [kirkstone 00/39] Patch review Armin Kuster
2022-04-30 19:17 ` [kirkstone 01/39] crash: Upgrade to 8.0.0 Armin Kuster
2022-04-30 19:17 ` [kirkstone 02/39] crash: Fix build for mips target Armin Kuster
2022-04-30 19:17 ` [kirkstone 03/39] tcsh: Do not install symlinks into /bin with usrmerge Armin Kuster
2022-04-30 19:17 ` [kirkstone 04/39] arno-iptables-firewall: Do not use bitbake variable inside S Armin Kuster
2022-04-30 19:17 ` [kirkstone 05/39] fluentbit: Fix build with usrmerge distro feature Armin Kuster
2022-04-30 19:17 ` [kirkstone 06/39] tomoyo-tools: Define SBINDIR Armin Kuster
2022-04-30 19:17 ` [kirkstone 07/39] tomoyo-tools: Drop md5sum Armin Kuster
2022-04-30 19:17 ` [kirkstone 08/39] dietsplash: specify install rootdir Armin Kuster
2022-04-30 19:17 ` [kirkstone 09/39] linux-atm: Add knob to root prefix Armin Kuster
2022-04-30 19:17 ` [kirkstone 10/39] ufw: Fix build with usrmerge distro feature Armin Kuster
2022-04-30 19:17 ` Armin Kuster [this message]
2022-04-30 19:17 ` [kirkstone 12/39] klibc: Recognise --dyld-prefix clang option Armin Kuster
2022-04-30 19:17 ` [kirkstone 13/39] mozjs: Use vendored icu on ppc/clang Armin Kuster
2022-04-30 19:17 ` [kirkstone 14/39] boinc-client: Do not overwrite same file when using usrmerge Armin Kuster
2022-04-30 19:17 ` [kirkstone 15/39] pam-ssh-agent-auth: Use specific versions of BSD licenses Armin Kuster
2022-04-30 19:17 ` [kirkstone 16/39] fwupd: Enable build with musl Armin Kuster
2022-04-30 19:17 ` [kirkstone 17/39] evince: upgrade 42.1 -> 42.2 Armin Kuster
2022-04-30 19:17 ` [kirkstone 18/39] gspell: upgrade 1.9.1 -> 1.10.0 Armin Kuster
2022-04-30 19:17 ` [kirkstone 19/39] gtksourceview5: upgrade 5.4.0 -> 5.4.1 Armin Kuster
2022-04-30 19:18 ` [kirkstone 20/39] libadwaita: upgrade 1.1.0 -> 1.1.1 Armin Kuster
2022-04-30 19:18 ` [kirkstone 21/39] nautilus: upgrade 42.0 -> 42.1.1 Armin Kuster
2022-04-30 19:18 ` [kirkstone 22/39] htpdate: upgrade 1.3.3 -> 1.3.4 Armin Kuster
2022-04-30 19:18 ` [kirkstone 23/39] hexedit: upgrade 1.5 -> 1.6 Armin Kuster
2022-04-30 19:18 ` [kirkstone 24/39] lsscsi: upgrade 0.31 -> 0.32 Armin Kuster
2022-04-30 19:18 ` [kirkstone 25/39] libencode-perl: upgrade 3.16 -> 3.17 Armin Kuster
2022-04-30 19:18 ` [kirkstone 26/39] libextutils-cppguess-perl: upgrade 0.23 -> 0.26 Armin Kuster
2022-04-30 19:18 ` [kirkstone 27/39] libtest-harness-perl: upgrade 3.42 -> 3.44 Armin Kuster
2022-04-30 19:18 ` [kirkstone 28/39] makedumpfile: Upgrade to 1.7.1 Armin Kuster
2022-04-30 19:18 ` [kirkstone 29/39] lirc: install systemd units only when using systemd distro feature Armin Kuster
2022-04-30 19:18 ` [kirkstone 30/39] fluentbit: Disable systemd support when systemd distro feature is disabled Armin Kuster
2022-04-30 19:18 ` [kirkstone 31/39] absil-cpp: Update SRC_URI to to the latest google internal sync Armin Kuster
2022-04-30 19:18 ` [kirkstone 35/39] lirc: Delete systemd unit files on non systemd distros Armin Kuster
2022-04-30 19:18 ` [kirkstone 38/39] pipewire: Upgrade to version 0.3.50 Armin Kuster
2022-04-30 19:18 ` [kirkstone 39/39] boinc-client: Make script install not depend on host install paths Armin Kuster
2022-04-30 20:58 ` [oe] [kirkstone 00/39] Patch review Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=231fd21671eac6dd679cdbca6e58f552b28e39c1.1651346200.git.akuster808@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.