All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Subject: [meta-oe][mickledore][PATCH 07/16] ostree: fix build without gobject-introspection-data
Date: Tue,  9 May 2023 09:06:46 +0200	[thread overview]
Message-ID: <20230509070655.70784-7-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <20230509070655.70784-1-Martin.Jansa@gmail.com>

* add --disable-introspection to UNKNOWN_CONFIGURE_OPT_IGNORE to fix:
  http://errors.yoctoproject.org/Errors/Details/702779/
  ERROR: QA Issue: ostree: configure was passed unrecognised options: --disable-introspection [unknown-configure-option]

* add glib-2.0-native to DEPENDS to fix:
  http://errors.yoctoproject.org/Errors/Details/702787/
  glib-mkenums \
    --template ../libostree-2023.2/src/libostree/ostree-enumtypes.h.template \
    ../libostree-2023.2/src/libostree/ostree-fetcher.h > src/libostree/ostree-enumtypes.h.tmp && mv src/libostree/ostree-enumtypes.h.tmp src/libostree/ostree-enumtypes.h
  /bin/bash: line 2: glib-mkenums: command not found
  make: *** [Makefile:9990: src/libostree/ostree-enumtypes.h] Error 127

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-extended/ostree/ostree_2023.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2023.2.bb b/meta-oe/recipes-extended/ostree/ostree_2023.2.bb
index 2990122959..7eeb77474f 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2023.2.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2023.2.bb
@@ -9,6 +9,7 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
 
 DEPENDS = " \
+    glib-2.0-native \
     glib-2.0 \
     e2fsprogs \
     libcap \
@@ -28,6 +29,8 @@ S = "${WORKDIR}/libostree-${PV}"
 
 inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd
 
+UNKNOWN_CONFIGURE_OPT_IGNORE = "--disable-introspection --enable-introspection"
+
 # Workaround compile failure:
 # |../git/src/libotutil/zbase32.c:37:1: error: function returns an aggregate [-Werror=aggregate-return]
 # so remove -Og and use -O2 as workaround
-- 
2.40.1



  parent reply	other threads:[~2023-05-09  7:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09  7:06 [meta-oe][mickledore][PATCH 01/16] lirc: fix do_install with multilib Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 02/16] dleyna-{server,renderer}: fix dev-so QA issue " Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 03/16] libreport: add dependency on libarchive Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 04/16] libxmlb: add missing dependency on glib-2.0 and xz Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 05/16] geoclue: fix build without gobject-introspection-data Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 06/16] appstream: " Martin Jansa
2023-05-09  7:06 ` Martin Jansa [this message]
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 08/16] rdfind: fix build with -Werror=return-type Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 09/16] spice-gtk: respect gobject-introspection-data Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 10/16] cpulimit: fix do_install with multilib Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 11/16] libnfs: fix installed-vs-shipped issues " Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 12/16] btrfsmaintenance: install to ${datadir}/${BPN} Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 13/16] libtomcrypt: pass LIBPATH to fix installed-vs-shipped with multilib Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 14/16] nanopb: " Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 15/16] nv-codec-headers: " Martin Jansa
2023-05-09  7:06 ` [meta-oe][mickledore][PATCH 16/16] zfs: fix installation paths for multilib Martin Jansa

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=20230509070655.70784-7-Martin.Jansa@gmail.com \
    --to=martin.jansa@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.