From patchwork Sun May 7 22:43:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C631C7EE26 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx.groups.io with SMTP id smtpd.web11.94676.1683499448084921584 for ; Sun, 07 May 2023 15:44:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=l4+YaTdA; spf=pass (domain: gmail.com, ip: 209.85.208.46, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-50bd37ca954so43816428a12.0 for ; Sun, 07 May 2023 15:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499446; x=1686091446; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Rj/uPWISTLqQYWvbU1LZ/pemH4k4NMxOTcDXL5175Ls=; b=l4+YaTdADWNdyEcOFUulUrsPecjTylT/rK49AjLOpOgpdSwc3trOhMRe8jKABrsDJ+ 6fCsg1t9751KTQCg/g3xe/drI2kc9zBvX2e5IwOCWt6oJ6NmWsQF57Bwn9X3A62IqrJ6 75njazHlzzMnMTH54xvS0QYJtUQd1+AvE2+XemWyse9qW3UgQwgxwtjGG9pKKhUleDA7 7s8lravWSdhEVlbcSD6JCKc/JtJzIT+ibdoCssRHMUzSZZc2t5zZ6r92SU6wB99j0onq l/8AjAXzSEbVue61gMQoYr6aE3hrBEwDHeXT+ekNPul/72dEOITFLyEAD2P3zDtvNlyh ReTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499446; x=1686091446; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Rj/uPWISTLqQYWvbU1LZ/pemH4k4NMxOTcDXL5175Ls=; b=YcTuzkebL6769nHLgg4MSxEC2/3ggsMGPzN6uEFehsyag6FKVPRd7Cqwcdi5MCMK8+ esCs4VZPR4Nwd9bTVFBi0Ubf7HDSooMYsWj6RSJwBAhTxv7W9RR36D7weVRN/in5CQi/ gBuKfsMZVgPWBgtpf3Tkn/rYYcX6bB2dQrXPvi7UJWVT12bPEkcv3mbRRw6+DZKxXjQo VI6qJ5WWej4UHoZg87fUs+12cpTbfbeALMN/xNfoRBIryJh+iRP6lXR0ZHSR5/yqRYMd 5gzhYdErMu4QYaQd5heOU4VDd3glm5fsh7X0kFUDsj8EWK2mzI6u/Pb0iRL2rpXwM4C6 04yA== X-Gm-Message-State: AC+VfDwGKA91hKMGwuGqXbW3WizhfNJFynrqiZANVB8UqI3FI/bgwWFX s5e6TTarbwpM6emq33pLYhBvrmIBQgM= X-Google-Smtp-Source: ACHHUZ6liGPv0XfP6uX7qu5iiFLcXJ5cOKh5MSMXugCpdxuikVaI+ed49g4yGYRXHIv5RKYToE+mng== X-Received: by 2002:a17:907:62a6:b0:95f:64d8:f795 with SMTP id nd38-20020a17090762a600b0095f64d8f795mr6411405ejc.27.1683499446376; Sun, 07 May 2023 15:44:06 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id gv43-20020a1709072beb00b009663cf5dc3bsm1557490ejc.53.2023.05.07.15.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:05 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 01/16] lirc: fix do_install with multilib Date: Mon, 8 May 2023 00:43:39 +0200 Message-Id: <20230507224354.1149327-1-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102363 * use ${S} instead of ${WORKDIR}/${PN}-${PV} and ${BP} instead of ${PN}-${PV} to fix build with multilib, where PN is lib32-lirc, but S is correctly set as ${WORKDIR}/${BP} and do_install fails with: mkdir: cannot create directory ‘lib32-lirc/0.10.1-r0/lib32-lirc-0.10.1/python-pkg/dist/’: No such file or directory Signed-off-by: Martin Jansa --- .../meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb index 88e3f0486b..fcb347a2e5 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.2.bb @@ -51,9 +51,9 @@ do_configure:append() { # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA do_install:prepend() { - rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ - mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ - tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S} + rm -rf ${S}/python-pkg/dist/ + mkdir ${S}/python-pkg/dist/ + tar --exclude='${S}/python-pkg/*' -czf ${S}/python-pkg/dist/${BP}.tar.gz ${S} } # In code, path to python is a variable that is replaced with path to native version of it From patchwork Sun May 7 22:43:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23554 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68C86C7EE2F for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mx.groups.io with SMTP id smtpd.web10.94796.1683499448716744540 for ; Sun, 07 May 2023 15:44:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=Mgsyogt9; spf=pass (domain: gmail.com, ip: 209.85.208.49, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-50bc1612940so7427477a12.2 for ; Sun, 07 May 2023 15:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499447; x=1686091447; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IECsR9cAQuk6pxEokrdSw6lYNylI+3bj7mTK7GlwO6Y=; b=Mgsyogt9sWbsIh/gWnnOK8Ew8DpgVPx1iyaAD+WnTy6H952O78IPLRzH0n2d6lZFOu kQ3SAmpUkWdmS5PJfBwnU4Ec2BGpFumbtL3gXna2THyeqiAVjY4dszv5VZgvJfpvZ2Uj EzFp1GFjEbQwvyKny6QMQZMkxROLZ6LuqLo1w4vdGkAf4pPeYb0h+S1QZfw9Tpb/6GYd 4Y3vQEQak8DPLTFUEiT1xfbuBzV0sxieZBtRfTKSCoFURvQXk2kYZAOMY9yAXGQvDQj1 mmhDebk/dnWbdOaw8HhLCucmmZhbvHDxwnLcU36mVwsVFTypu8iU8b3+cemeJjs4PoZ6 GoCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499447; x=1686091447; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IECsR9cAQuk6pxEokrdSw6lYNylI+3bj7mTK7GlwO6Y=; b=ORH5nOHoPG1WyY3cAx5hGyICp9pIi1Ow58AKAI1UBOuGOPjrpCIXxX9bmLLwykqlqu g8xFSYt9C3SWsoSOd96+Vy1IjeN/VbBmckeqQRgXkFup+7cm8VxuvvbKhOO1ZwWqrAG3 e8gcITHsal6oLGCclVY1vlHMtE6qY5MXJZSndSug0mqDXMojbfr6AdGt7fBlLIha/Jqf MFP+zHE7jIxI4CwtxOC56iRORJxTS5WBJzg+2N/+8KyxkE5jxV+2kO4T/XXGQmdLOZyu 0bVY61Uj4coTprsrubx5pws1UhAOieiNqj9Mv2Sx/mVZ/R3RyIOiZFCfSB8zapB6utun lwNw== X-Gm-Message-State: AC+VfDypM6FAVPetNxINeRmXPa8F2mBQEfdp4yh2F39y1Ea3BZ/+Vk85 HObi5OMmlaIlkeqboZbhAmltU67TrGI= X-Google-Smtp-Source: ACHHUZ4NTVTvUpBuBg5TbwDsLtTdVqb7YgYZzL7BW99mcZ3HyKyBlC2ELziTK0LyJuzPcHgfx6ll/A== X-Received: by 2002:a17:907:1b08:b0:94e:d951:d4e7 with SMTP id mp8-20020a1709071b0800b0094ed951d4e7mr7089441ejc.59.1683499447035; Sun, 07 May 2023 15:44:07 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id cb24-20020a170906a45800b0095fde299e83sm4124488ejb.214.2023.05.07.15.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:06 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 02/16] dleyna-{server,renderer}: fix dev-so QA issue with multilib Date: Mon, 8 May 2023 00:43:40 +0200 Message-Id: <20230507224354.1149327-2-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102364 * the libdir is arch specific, but the subdirectory is always BPN * fixes: lib32-dleyna-server-0.6.0+gitAUTOINC+eb895ae827: non -dev/-dbg/nativesdk- package lib32-dleyna-server contains symlink .so '/usr/lib/dleyna-server/libdleyna-server-1.0.so' [dev-so] lib32-dleyna-renderer-0.6.0: non -dev/-dbg/nativesdk- package lib32-dleyna-renderer contains symlink .so '/usr/lib/dleyna-renderer/libdleyna-renderer-1.0.so' [dev-so] Signed-off-by: Martin Jansa --- .../recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb | 2 +- .../recipes-multimedia/dleyna/dleyna-server_0.6.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb b/meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb index 3e43c0d2a7..e7f918333a 100644 --- a/meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb +++ b/meta-multimedia/recipes-multimedia/dleyna/dleyna-renderer_0.6.0.bb @@ -22,4 +22,4 @@ inherit autotools pkgconfig CFLAGS += " -I${S}" FILES:${PN} += "${datadir}/dbus-1" -FILES:${PN}-dev += "${libdir}/${PN}/*.so" +FILES:${PN}-dev += "${libdir}/${BPN}/*.so" diff --git a/meta-multimedia/recipes-multimedia/dleyna/dleyna-server_0.6.0.bb b/meta-multimedia/recipes-multimedia/dleyna/dleyna-server_0.6.0.bb index b25e446c41..071379758c 100644 --- a/meta-multimedia/recipes-multimedia/dleyna/dleyna-server_0.6.0.bb +++ b/meta-multimedia/recipes-multimedia/dleyna/dleyna-server_0.6.0.bb @@ -19,4 +19,4 @@ S = "${WORKDIR}/git" inherit autotools pkgconfig FILES:${PN} += "${datadir}/dbus-1" -FILES:${PN}-dev += "${libdir}/${PN}/*.so" +FILES:${PN}-dev += "${libdir}/${BPN}/*.so" From patchwork Sun May 7 22:43:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23548 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46A8CC7EE2E for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mx.groups.io with SMTP id smtpd.web11.94678.1683499449380092304 for ; Sun, 07 May 2023 15:44:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=ms7OfsX5; spf=pass (domain: gmail.com, ip: 209.85.218.46, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-965a68abfd4so731303566b.2 for ; Sun, 07 May 2023 15:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499448; x=1686091448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wHPKUUBfZRSfVlFuo303CvK5y3hdtqYFnnu1EN8xjes=; b=ms7OfsX5jDy42CLBFHYFBK7Epkc3BWTYqwLaKK6lred6FMyfpUCInQxnsN1yC2/YC/ Cz+5V9eQCgj09+WD/hGhbyDFTuSxmF4sVy+u39+k6kvzWLAwsV+matgH92S9F4FhnAi/ HXdbkPMj3VA43czV8LtBr7Un32q6jflbvdvmMNoJlijxwxmvQkyQJUVu9RsExWVDdC0p qxPyREbfHrBToaGn8HFR3TwE2wyInNfSUibXUw3s5+D9apZXaLtN1YAXQMujIFAGJ4AS KDjbI2rmvQmXwKvx9qKDjiEwxHFbdNhgrSdP5m9MLk/dJcjH0HXvXHUePH4usVVA9MFu BjrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499448; x=1686091448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wHPKUUBfZRSfVlFuo303CvK5y3hdtqYFnnu1EN8xjes=; b=bpzj+ReM/hNo7ksdx/2wVnAkdjrKPnjSjZwuHDyor9vUEmIvoYOcW62o5Jqc/o+XoJ 7m0nN5dJp4mB+LOSI+/oVWFNH5qfwWRuOIFyNmLlqr9PYRgfS7rqHBCjhFDn9op6RO+m IW6PFpP8X15P78kPrchnfylIRAv164OoUlNrN+HelkZvpawTmK79b8AZXbGLV23Usxcb fl3pa75Etn3E6t/XP1ihqva1Zhk7CfN8B4oFoq3EonyMf1nQoBidFrlhPbLYV/7RQPwB v5UCpk6Hxx8MB5AmIFucXVCFpIGNpnmqYDbPpLGC+U5pR2329oJ5uPPvvO+4T7Pt4h3+ Y8QQ== X-Gm-Message-State: AC+VfDzrl9UO4vixHKujpOE4oxRyBVc2IMMYzgIvIPz8PH5VNZlFfcse L+M0zzOSIqQq+AQNrxY+8/Q3k3r1VQk= X-Google-Smtp-Source: ACHHUZ4+PHJBx3gJDW19SnpprksrXdClSwDpV5QYiuhflM9SBTAbH4rUS0a458t9aSheM2VMCtDfKQ== X-Received: by 2002:a17:907:7b9b:b0:957:db05:a35d with SMTP id ne27-20020a1709077b9b00b00957db05a35dmr9129004ejc.48.1683499447712; Sun, 07 May 2023 15:44:07 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id e16-20020a170906845000b009603d34cfecsm4081302ejy.164.2023.05.07.15.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:07 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 03/16] libreport: add dependency on libarchive Date: Mon, 8 May 2023 00:43:41 +0200 Message-Id: <20230507224354.1149327-3-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102365 * 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 --- meta-oe/recipes-extended/libreport/libreport_2.17.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb index a8d1db65bf..1f2c55c699 100644 --- a/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb +++ b/meta-oe/recipes-extended/libreport/libreport_2.17.8.bb @@ -4,7 +4,7 @@ SUMMARY = "Generic library for reporting various problems" HOMEPAGE = "https://abrt.readthedocs.org/" LICENSE = "GPL-2.0-or-later" DEPENDS = "xmlrpc-c xmlrpc-c-native intltool-native \ - json-c libtar libnewt libproxy rpm \ + json-c libarchive libtar libnewt libproxy rpm \ augeas satyr systemd \ " From patchwork Sun May 7 22:43:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23552 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4933BC7EE32 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mx.groups.io with SMTP id smtpd.web10.94797.1683499450027179521 for ; Sun, 07 May 2023 15:44:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=BmmZDvTy; spf=pass (domain: gmail.com, ip: 209.85.218.42, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-9659c5b14d8so621790166b.3 for ; Sun, 07 May 2023 15:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499448; x=1686091448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YdPgmCfy1GsYYrPPzT+kkKWReAwWItEV1BJf6fo+R0g=; b=BmmZDvTyxjOsDtkhFTj0fgyLUzAkr17l50RWvFkJs6izM/w44rebAulSW4MHyAFdKV 8eaS22BmBMlxUJaZHqfhQTtvHZd+RgkWtagWRtSG5y7nDClXDfwoCQOiRnIa/s/8SS+m pQqM6Y6gypc+Mo2vBO6ndwg/XUlx1P/ZiXYBFlo3XRf6lcTVXBi8t0ZnjvH0JqMjTUGr OD0ZrsnMEfyrkPCIakzdBAGKNqeLPpNJpGwc6DJNIlSisd+lQmeAC85tw7jP1aE5shTp e2JM521IxitCTNqjYPHYJQ5tJEHF/dCSp8BPBRzseoga9xgkpWy90GWGWt5znCDAPlY+ IF8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499448; x=1686091448; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YdPgmCfy1GsYYrPPzT+kkKWReAwWItEV1BJf6fo+R0g=; b=X046drhckCKKriKaHibtwAQkUcCuR4sEqDSRzDo7ZdNMjUNGxfMP0d1KEvJHyEcMQS NbvFFvdzPr+4jhbBR1TvpgpaojFIJD5gRUbYDWrgEUXwwNCRBSbm6l65SrHKcPxy7CjD ozICv5keMR6xCCEZy2kSmuGM1ZJuAhZ3dNboftX4SgrjvMwk6zCJvGbo50gsang3H3Ub JM2TB8ETnK8dU+r4C22MJf6jDIe8ekODvoD+ACivMrTfwbFCSoddm0yeFWXyUs0LGL++ 75l06eSce2lwHesU2HCFLnoqI5Y8DEt83Bvda2BoDoYPmvWD8Sg/1OLO6di/oXvEDZwS Hc8g== X-Gm-Message-State: AC+VfDwHahUCseDGC+IrlGKpKFeL8WAoEcpmumn3MeT6Fw+luZl1mIM4 eJjoyc2VLqhyJvvxu9+cO0R9VB3EC3A= X-Google-Smtp-Source: ACHHUZ6DxNfDazRXfknJgd632IW15SximBA/9Had4pLImlb0dGZLrd7Ghw4FUuP3wmJ/YUAA0/ktgg== X-Received: by 2002:a17:906:974b:b0:965:ff38:2fb3 with SMTP id o11-20020a170906974b00b00965ff382fb3mr6092908ejy.74.1683499448374; Sun, 07 May 2023 15:44:08 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id hu7-20020a170907a08700b009661484e84esm2691304ejc.191.2023.05.07.15.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:08 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 04/16] libxmlb: add missing dependency on glib-2.0 and xz Date: Mon, 8 May 2023 00:43:42 +0200 Message-Id: <20230507224354.1149327-4-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102366 * without gobject-introspection-data in DISTRO_FEATURES it fails with: http://errors.yoctoproject.org/Errors/Details/702774/ Run-time dependency gio-2.0 found: NO (tried pkgconfig) ../git/meson.build:119:0: ERROR: Dependency gio-2.0 not found, tried pkgconfig and http://errors.yoctoproject.org/Errors/Details/702777/ Run-time dependency liblzma found: NO (tried pkgconfig) ../git/meson.build:121:0: ERROR: Dependency liblzma not found, tried pkgconfig Signed-off-by: Martin Jansa --- meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb index 3366b7e7f9..61abd07fda 100644 --- a/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb +++ b/meta-oe/recipes-gnome/libxmlb/libxmlb_0.3.10.bb @@ -8,6 +8,8 @@ SRC_URI = "git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \ SRCREV = "a6cac6a715d57c393bbddee4d0381ad943341af9" S = "${WORKDIR}/git" +DEPENDS = "glib-2.0 xz" + inherit gobject-introspection gtk-doc meson ptest-gnome lib_package PACKAGECONFIG ??= "\ From patchwork Sun May 7 22:43:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47BDFC7EE30 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mx.groups.io with SMTP id smtpd.web10.94798.1683499450721945662 for ; Sun, 07 May 2023 15:44:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=ONegoYKz; spf=pass (domain: gmail.com, ip: 209.85.218.51, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-966400ee79aso172303666b.0 for ; Sun, 07 May 2023 15:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499449; x=1686091449; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rJyMsw7dWMbci8VaDEaQ0PeEmTNYYTIYm3zwNKBSRZw=; b=ONegoYKz0j6RHkW+qrkoZGMCw7F5aQrYEPm/2Vy4BbrXkb0WpbMS6Zwj6V9mS5LnZ1 6jLBujayHMDEIJvO6LafCpNIJQ6wzD3M711ll5pseweqbxth5slVgMBpZ2I4QxKVKrf1 Ax9ZTKpehiA3YphPSbLSlM6yraJTBbrpS+e2tpn3GRpuyTv7ZEOtcNsjQdAzj4eIF34m HcQIBO/y9PjlmhRDSkaP15xVVSsUr2YpclwVhREUuDZGko7/ALe6E1ciXSKQgfket7xW b54zKH5YBKiyese6bYCO8SYqpBq/haVyGsEUXMSONvdU5Dhv1AGxIEjFFY+5sy1xyJu3 PyMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499449; x=1686091449; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rJyMsw7dWMbci8VaDEaQ0PeEmTNYYTIYm3zwNKBSRZw=; b=VY47azRo6JzL+Ip8mZDEe0XZvbUjZ+ywWGJuE7f/btF7OsmkiOB6XEAsMopMn/x7QX 89Oumk+UBWUQBkmMLiCiMV06ySuQffki5xcbxapscRvxW/mCoNNCdx0m7OTk83sax2hO 86vwMOU5E2TkNKY11q1zutUGzOMG24CuuMKB0pD77WbyHsk91J7umZWxtW8L7qFOuFvY UKUUmCWGTGQg1Iwe96uFu4FaHOFBIo1N4MZmRb1nT8Pz+gbA2rbIPpuObXjA9ExZlFPv YN0LoSaKTK/ZoEqZ9BqykXvfE8kjd152M7+38s2Y72DAVkW5RQxRv7wHyRJ/E3wvaHtw Yvnw== X-Gm-Message-State: AC+VfDwfEZ1JDbekXo2WtgFWddiHfBsZ05dGwcbwXLzekPq4AvSxnpG8 b29C+kpP9qBj6z7gUCanw2tJUKiTGUA= X-Google-Smtp-Source: ACHHUZ6FQTYRzmQIlG+6S3Fb4Fu5Q3f4hWILP+WEKqD1wcsZJ/9uScGp1o1L8NWTZeuD8Cy+on7Hhw== X-Received: by 2002:a17:907:31c9:b0:94f:6627:22b5 with SMTP id xf9-20020a17090731c900b0094f662722b5mr6672509ejb.47.1683499449056; Sun, 07 May 2023 15:44:09 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id jx13-20020a170907760d00b0094f1b8901e1sm4179370ejc.68.2023.05.07.15.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:08 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 05/16] geoclue: fix build without gobject-introspection-data Date: Mon, 8 May 2023 00:43:43 +0200 Message-Id: <20230507224354.1149327-5-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102367 Signed-off-by: Martin Jansa --- ...-try-to-use-g-ir-scanner-when-intros.patch | 30 +++++++++++++++++++ .../geoclue/geoclue_2.7.0.bb | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch diff --git a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch new file mode 100644 index 0000000000..18e7185649 --- /dev/null +++ b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch @@ -0,0 +1,30 @@ +From 6c434bdd31d674f85a82cb83248571813c7a37ff Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 3 May 2023 18:06:46 +0200 +Subject: [PATCH] libgeoclue: don't try to use g-ir-scanner when introspection + isn't enabled + +* it finds target g-ir-scanner, so gir is found(), but when it tries to call it, it fails: + http://errors.yoctoproject.org/Errors/Details/702778/ + geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found + +Signed-off-by: Martin Jansa +--- +Upstream-Status: Pending + + libgeoclue/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libgeoclue/meson.build b/libgeoclue/meson.build +index 5f05dad..7ed06a1 100644 +--- a/libgeoclue/meson.build ++++ b/libgeoclue/meson.build +@@ -77,7 +77,7 @@ gir_sources = [ libgeoclue_sources, + libgeoclue_headers, + libgeoclue_public_api_gen_sources[1] ] + +-if gir.found() ++if gir.found() and get_option('introspection') + geo_gir = gnome.generate_gir(libgeoclue, + sources: gir_sources, + namespace: 'Geoclue', diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb index f7039b5916..d05a309455 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb @@ -13,7 +13,9 @@ DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" inherit meson pkgconfig gtk-doc gobject-introspection vala useradd SRCREV = "bbfb6289dedb88cb8155d9f6868787d5432e1f90" -SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1" +SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1 \ + file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \ +" S = "${WORKDIR}/git" From patchwork Sun May 7 22:43:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23546 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2827FC7EE2D for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web10.94799.1683499451876720526 for ; Sun, 07 May 2023 15:44:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=SftUwnta; spf=pass (domain: gmail.com, ip: 209.85.218.45, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-965e4be7541so519871566b.1 for ; Sun, 07 May 2023 15:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499450; x=1686091450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fHO65dUebySbJGGVKSP2ByuOSoq9b8tMZkMCE9rax1E=; b=SftUwntawX5KQdZ3EohV5C9f8ndpHp4Y0tqRGyNCHRQ+vQXfDkg+i/pijx8+LiAtKZ xN00PAcs+bFz2Vzsu3Vh2BMQ71XI8RUyBLaOmHQaNTKZhfoiaWXZJ271uFzaNNqAmhrb oI1ULfBpvLmKgEE/bGWXsVGOJusTYI5h6V79pWgclJgkBgdvp0VTZ9VBrham/pY6BYTh NYyOYZy0BCa9v6SCrKP4JWC/psFSewdi5yrN7bw5bxgtEcF4XyEo417zQeIL3qEmBQHx NABDoviJuuq5B5AtizRcmgw8xmqJcnpTFuicvFwdYY3FdIAe/JwpzIl1v3IA4F2iZ/JW EwaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499450; x=1686091450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fHO65dUebySbJGGVKSP2ByuOSoq9b8tMZkMCE9rax1E=; b=hPuJhTJdZuG4GWGtM4cqTRQ6ssgtp12nPa9l0YzkLi9JM4A3Hfnh9SAcz5pJ13gwDn E71TijpjgyH4GsHnmwphAabWx802e+rWRIV3u7uxk/GRBLzy/ZCgIhEHSFubB1eCzwgT 8viwlPFJELjOOVsRZjzJUqq1YTH9pFd84RRYjY0Q3AMNtqbTcodnb5DrhqU8QubsYjx1 kcC+j/fOYCHWcZKNgct4IN766CffVshmtU65CZB0WZmRytjyxaQgPrHy3Ppv5QyS5qam uEPPZvrxnIlDsZMto0prU/b0AUq3PbhWq05WBV9J6vZzgQScrg1RvcOHJLzW5jejxsdB twCQ== X-Gm-Message-State: AC+VfDzcGnQuQDUZdbWdPJ++lAPnNOmSB2qXG3UNDgnK3uNW2H09Vm+c YFY0t1IAcQwA4qUYOS3WeMsqNEVYiqs= X-Google-Smtp-Source: ACHHUZ77ZMOZtrnyDF2/c0GXJcSsQR2IVUvbioomQSXBAKPOXee/8n0pbgXnH+myVTp23vyPtHljeA== X-Received: by 2002:a17:907:3d9f:b0:959:5454:1db7 with SMTP id he31-20020a1709073d9f00b0095954541db7mr7834015ejc.3.1683499450012; Sun, 07 May 2023 15:44:10 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id n18-20020a1709065e1200b00965a56f82absm4140126eju.212.2023.05.07.15.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:09 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 06/16] appstream: fix build without gobject-introspection-data Date: Mon, 8 May 2023 00:43:44 +0200 Message-Id: <20230507224354.1149327-6-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102368 * 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 --- meta-oe/recipes-support/appstream/appstream_0.16.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/appstream/appstream_0.16.1.bb b/meta-oe/recipes-support/appstream/appstream_0.16.1.bb index 50d8cdb4c2..b8cecec41f 100644 --- a/meta-oe/recipes-support/appstream/appstream_0.16.1.bb +++ b/meta-oe/recipes-support/appstream/appstream_0.16.1.bb @@ -21,7 +21,7 @@ DEPENDS = " \ inherit meson gobject-introspection gettext gtk-doc pkgconfig vala -GIR_MESON_OPTION = "" +GIR_MESON_OPTION = "gir" SRC_URI = "https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz" SRC_URI:append:class-target = " file://0001-fix-crosscompile.patch" From patchwork Sun May 7 22:43:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23550 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E27AC7EE2C for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mx.groups.io with SMTP id smtpd.web11.94679.1683499452181492960 for ; Sun, 07 May 2023 15:44:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=Ykygcah+; spf=pass (domain: gmail.com, ip: 209.85.208.54, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-50bc22805d3so5957312a12.1 for ; Sun, 07 May 2023 15:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499450; x=1686091450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EFl0bMwfz9CPu2SQe6GBs9aCHS8ffwzBHlE+0QCUIT0=; b=Ykygcah+ICyWXi1a0y+oVwhj1sG1LcrdrAKzbxLqddTwASYBOW6MWai3ylCcIaqIW8 KAAjd5M+HE+OetfVKYlEtmqE8xL+Y8Ha0lP5sCH34raHX07IkSW5bACeLefflHwMal3T WXF6iw9b6RK98aK01QaeA+IhS0mqSWSjN6Fd45uN+enNdNaEd0GZad6vzi78ss1aVHIV HYZLrp02eBkqGemCqFaLRQ6hNhuRd19znm3iFobbKWe+wKxLQIShUT5kM0qcz+AVI9sv DgQ5D7MDPy1DhPl7JW1cL6NbDfGB+PL8y+esrZdMjFMOOP3w+62HhsB3Kw3EN9AEA0Tj O2iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499450; x=1686091450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EFl0bMwfz9CPu2SQe6GBs9aCHS8ffwzBHlE+0QCUIT0=; b=hkCUnfW7gliFtTcs2Lx5BHE/uOLc9PGiqW3qhPqAnHUO+gLN5gfqkPcbtH4LBaeU6h eT6UHJyFe6K+Ry5zwoc/cg98HfrTs8lob8FsMvR+DXnqusH1ujlTKbLXLT7t0iHVefAU 8wozXZMEb5cRSStaHE4zV6mmugplC8io/sGxBmNGv+7nKSlHYNmhfeNKpYkIp22p/Sqa L6rONm2ohsHj8B5v/jhC/TNcHkYZySrsVuaEPJ3X0UxEcJj0R/11q31aJ4OM/uLQNDYF 7m6j6B/0grP9Rb+DYrLxPvKpULEMiLc/3C+fyajkIBZhCEatFubTIAM0mgG5RJlniPU2 Sm0Q== X-Gm-Message-State: AC+VfDzrey8VU175GsHpp2wwiLLmN1NGPkUUzHErjnVJieuEGnMRUoih 6EecjOT2UAhdXQqn8ZvfrMc0lI1GEoI= X-Google-Smtp-Source: ACHHUZ4mRPwsfF0O6fRx9qSjftAsZ/kDvhg3SbLrqeeUCl1VfCSk1CQss9DAxXYsk4ipOMTTny8bPg== X-Received: by 2002:a17:907:961c:b0:94e:98da:ef97 with SMTP id gb28-20020a170907961c00b0094e98daef97mr8626936ejc.27.1683499450676; Sun, 07 May 2023 15:44:10 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id w19-20020a17090652d300b0094f5179540fsm4098474ejn.83.2023.05.07.15.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:10 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 07/16] ostree: fix build without gobject-introspection-data Date: Mon, 8 May 2023 00:43:45 +0200 Message-Id: <20230507224354.1149327-7-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102370 * 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 --- 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 From patchwork Sun May 7 22:43:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25F89C77B75 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx.groups.io with SMTP id smtpd.web11.94676.1683499448084921584 for ; Sun, 07 May 2023 15:44:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=PjQcKLGx; spf=pass (domain: gmail.com, ip: 209.85.208.46, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-50bd37ca954so43816976a12.0 for ; Sun, 07 May 2023 15:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499451; x=1686091451; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Itq8s7nvXxSR6duwcOL7DYmTk9Kqfg8pPMUyaqWaOdk=; b=PjQcKLGxaXGMF+5Bx4f0VnmWbyY0IUU05ee4cbHM5wWR1hlMcNPnSMebsuPZV4JeDY Q5waEmsUJ1VFqLGu4RI1iOZ5R0XRCrOhLV1IKdBWEC9AtcK4u/DWYwVMF72uckhjuw1p te0BhCsy3Ed3ZE61mchXVu5o6gyGjp9vhXcyQN3HqE7trkIO5/Yp9gorT8+t1N+qOL15 FIhKlEMcwkUW9LG3t7hk/Bk3kKjp5cqz0pYw9capXwaFZ13ibtOb3NjptiP8UtdVFq31 LGk9NGeq4yCAkT1Tg6L+SXdn8xun4Ma27YTEhVp0NADNhQQ05UpVQsqd8ZPC3XEvaLm0 sU7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499451; x=1686091451; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Itq8s7nvXxSR6duwcOL7DYmTk9Kqfg8pPMUyaqWaOdk=; b=gmO+ufj8pjExhZWE5V7qkiZAPp013D5ZDrY0JF9KgrU/VSXZ4ocvghRAAugsWuFbHu nz5HXlqQRpBjLwXmlcWjhGPFJf7VhN8d0IrWXtpNR6Dw/UVf12tWqzCER0z2LAtTVtwV PmFF9kx47HqOyChQsgb8XWDH+G2sENLTs3DmIAPUt7PkKkMuNqYkgItqBT3LOoU90LM/ Z9DDDBIIP6dOL4v/yJ/r736dnAuuRKwwWeXFxpM6wRphWppKwp5AmVKBAfHQO/rE/p0u mYCkc3kBu67bm/olXRYVHh8ZrJepa7hP+87K3HI6Y+mlFhHMzSfpSnMffqFHkuTfElVP 9FIg== X-Gm-Message-State: AC+VfDw43A0WaEglqZThsH/RSdguprzvGxdIfIbEVRIB2wtbmVvtMxik 21fDhFqQ4PVkantwiYVSIZzyIwdUAPA= X-Google-Smtp-Source: ACHHUZ7jpCReC7EqW1jQTkqIO8stUtMn0q0AO8l4uZM47cfAI2yiVz0zMRhjpiaGcL9xiAzqDrhEIw== X-Received: by 2002:a17:907:6e13:b0:953:7f08:a9ee with SMTP id sd19-20020a1709076e1300b009537f08a9eemr8288767ejc.1.1683499451347; Sun, 07 May 2023 15:44:11 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id hv6-20020a17090760c600b00965eb608a28sm3737844ejc.40.2023.05.07.15.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:11 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 08/16] rdfind: fix build with -Werror=return-type Date: Mon, 8 May 2023 00:43:46 +0200 Message-Id: <20230507224354.1149327-8-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102369 Signed-off-by: Martin Jansa --- ...-configure.ac-fix-C-11-support-check.patch | 37 +++++++++++++++++++ .../recipes-support/rdfind/rdfind_1.5.0.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch diff --git a/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch b/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch new file mode 100644 index 0000000000..815939b82d --- /dev/null +++ b/meta-oe/recipes-support/rdfind/rdfind/0001-configure.ac-fix-C-11-support-check.patch @@ -0,0 +1,37 @@ +From 9070bc210b2ecff641b73e4ade30040c1461969c Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 3 May 2023 18:31:57 +0200 +Subject: [PATCH] configure.ac: fix C++11 support check + +* with -Werror=return-type in CFLAGS this test fails with: + + configure:4290: checking for C++11 support or better + configure:4303: x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/rdfind-1.5.0=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/rdfind-1.5.0=/usr/src/debug/rdfind/1.5.0-r0 -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/build=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/build=/usr/src/debug/rdfind/1.5.0-r0 -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot= -fmacro-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/lge/build/webos/mickledore/BUILD/work/qemux86_64-webos-linux/rdfind/1.5.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden conftest.cpp >&5 + conftest.cpp: In function 'int f()': + conftest.cpp:22:20: error: no return statement in function returning non-void [-Werror=return-type] + 22 | int f() { auto a=1;} | ^ + cc1plus: some warnings being treated as errors + ... + configure:4308: error: no c++11 support, please set CXXFLAGS properly + +* fix the test to pass + +Signed-off-by: Martin Jansa +Upstream-Status: Submitted [https://github.com/pauldreik/rdfind/pull/132] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index be1b2fd..9c3513c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -64,7 +64,7 @@ AC_SYS_LARGEFILE + + dnl make sure we have c++11 or better, + AC_MSG_CHECKING([for C++11 support or better]) +-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int f() { auto a=1;}])], ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int f() { auto a=1;return a;}])], + [AC_MSG_RESULT([yes])], + [AC_MSG_ERROR([no c++11 support, please set CXXFLAGS properly])]) + diff --git a/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb b/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb index 8f2c5e8852..dab66c3827 100644 --- a/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb +++ b/meta-oe/recipes-support/rdfind/rdfind_1.5.0.bb @@ -8,6 +8,7 @@ DEPENDS = "nettle autoconf-archive" SRC_URI = "https://rdfind.pauldreik.se/${BP}.tar.gz \ file://0001-configure-Fix-check-for-AC_CHECK_LIB.patch \ file://0001-include-standard-headers-limits-and-cstdint.patch \ + file://0001-configure.ac-fix-C-11-support-check.patch \ " SRC_URI[sha256sum] = "4150ed1256f7b12b928c65113c485761552b9496c433778aac3f9afc3e767080" From patchwork Sun May 7 22:43:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07455C77B7D for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mx.groups.io with SMTP id smtpd.web11.94680.1683499453520055299 for ; Sun, 07 May 2023 15:44:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=VMvjJwcE; spf=pass (domain: gmail.com, ip: 209.85.208.50, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-50bd37ca954so43817013a12.0 for ; Sun, 07 May 2023 15:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499452; x=1686091452; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3t4LDF4mf+RShlb3NtiAFabsZyP/pFAORBFzRLxwTBg=; b=VMvjJwcEoRb3NizDwiQlYiOoD1o84+psaCTWRzuTnrHglDSet+qPq9zJHn6FPrthPt TbomS1Kn0nwtECHl6Xxp828lUkhXUsJKdRy+oVRBw9pt5j8C0EV6HN1hDbtUhldq/4z7 e33RwdF8b4ouEX25tUu2Tt/nBseGBG7/m/ZjoVeDM7dywckvIJbVrzYPpP9xizm+wqk5 MKwN6IemX4v9oegaX7Youd/5+l6PUN/PCzbLHxyLM6paD3/jI8xakMpXaOYjhtRyQU2/ akT9L8AES6+g3nOP3igM8LyAVR18f/axGzfaCS0Fjx787cCMljhlx6IIqThqSiv1we07 1NDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499452; x=1686091452; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3t4LDF4mf+RShlb3NtiAFabsZyP/pFAORBFzRLxwTBg=; b=F13vVeIInUZht+uryXsLerGo64TRZr+/3qF8+SscIoXgNJMI3W4mtuJExRexshQ2nF 8ia2mfsTj4JSxaE88lmGx9kzclvTy4p2/a0SOZKYK4o6ZOMrV4WSqMOsYa5FN7IkTIQG FF5pXQW16YAVy1ed5r2RbCQQdLVpbbCgve1qRxBUAwZ/v2Ez2JygSPRO508ktVnQreXJ V80uImGUmQ+E41DKDwz3hnnX6Aj/d0kk54drXC51pXz/1wxGaMMTtyxFu0vcu55mZzds Rhj4YBgzVwG+2aR1GE2uenTb/Yj+qxvJ65eyBWEYGvaWdUHRyddYp5bGJhhMus0E/sbX ZAmQ== X-Gm-Message-State: AC+VfDxgVU+O080c8hvD130k6vWJbTPk0rMgkxw9uppfSCukvfv9SoPd fn6uDVme5SVQ+XhQSkWxnAzR4GPCLN8= X-Google-Smtp-Source: ACHHUZ7R4foymFrJAbHx7Yf/CRLS3JxkgjcjAoh00DISpl/s8+9UM0nbHIE0Ocl7UvAUxGBvHz/hSQ== X-Received: by 2002:a17:907:3e2a:b0:966:4973:b35 with SMTP id hp42-20020a1709073e2a00b0096649730b35mr2271278ejc.22.1683499452010; Sun, 07 May 2023 15:44:12 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id w11-20020a170907270b00b009600ce4fb53sm4163967ejk.37.2023.05.07.15.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:11 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 09/16] spice-gtk: respect gobject-introspection-data Date: Mon, 8 May 2023 00:43:47 +0200 Message-Id: <20230507224354.1149327-9-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102371 * 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 --- meta-networking/recipes-support/spice/spice-gtk_0.42.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb index 2d1b64967e..542ddb69b7 100644 --- a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb +++ b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb @@ -46,8 +46,13 @@ inherit meson pkgconfig vala gobject-introspection features_check REQUIRED_DISTRO_FEATURES = "opengl" -EXTRA_OEMESON = "-Dpie=true -Dvapi=enabled -Dintrospection=enabled" -EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' + +PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" +PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" +EXTRA_OEMESON = "-Dpie=true" +EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" FILES:${PN} += "${datadir}" From patchwork Sun May 7 22:43:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23544 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BBF3C7EE22 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by mx.groups.io with SMTP id smtpd.web11.94681.1683499454201866379 for ; Sun, 07 May 2023 15:44:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=BIjlEQ+2; spf=pass (domain: gmail.com, ip: 209.85.218.47, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-965ddb2093bso447799666b.2 for ; Sun, 07 May 2023 15:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499452; x=1686091452; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jFnMjdKHZrQ3dzidaWecklZb5uZ2WxXnRul0G3BsTfQ=; b=BIjlEQ+2ChXdvTF0fdCmzxnrtSVQnkPamgezEesfNUv/ENbY1h4m+DxkVTQ9wbNFQb Bshssqqdnjo3w+SST0S6CtWWebdKIyxZKTRZeoiZANDPlzJL30l4N8YNxFnW2ToHpWAB IQDVuaRZREXQ0Pj1TDG9F0G6p9Qjtu3MehLhDeGUtvQp62DH7c/wtlJbq5BuLB6wEfGj hL1Erxo8xNHcIndTy7QVo/OrxGtwov/GU8rhVGwYKynZuFuwwnFAzVHCklFm2QLC+ir3 HDnkRWmm6nZtTJCgAJWOUtOC+8VAp1GT0PXvfStndMwaQ3xtfAp8E2zPt7DvYyWzM1px qOdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499452; x=1686091452; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jFnMjdKHZrQ3dzidaWecklZb5uZ2WxXnRul0G3BsTfQ=; b=d+3A1yWnl8lBHoXsiyIhlin3agwZfEiToEw5+ScQmngwuqxkJmP4Ybfcqte0T4BAmE Xx1zW2jsX2XvUopeX6/3Q+fsjHaXxkGD4RBhQBM978cUAXo1wqSjHv1P0rYDgMmhwXYC qIs+/mzfakNZUVyLnUYpxfmIgR93RjoO76gyRXtyGGfbo3kDdYINMLRSe2u9WHIEANkN Lyn01h8fs00EeWUYKWXeV2HOnQLTXO1R0XIKROV0fwuUFdWrGjHLTYh7m7uMAxhqOEYW p+vGkFjTupqGmOujOCUlbAFZCTWBkhBs2Ui/Ur7icLf94GGcnP37+gppAv3RFsSnvZck w3Aw== X-Gm-Message-State: AC+VfDzzoxTAcVm0/SrwUrwV+zzFs2Wjqx0JMuz6qKo1vzoucXMrUAb8 kSIxdUb1Rh6DvyzwPGUNn9b6uZWxIxk= X-Google-Smtp-Source: ACHHUZ6jZ8J0rsQYa7IpSDcSphfvUUB4E9UcTkRniea1gur3Sybhphv0Jzhs7oeeszRfV3tXCG49bQ== X-Received: by 2002:a17:906:4fd1:b0:959:8575:2635 with SMTP id i17-20020a1709064fd100b0095985752635mr7681629ejw.17.1683499452666; Sun, 07 May 2023 15:44:12 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id jx4-20020a170907760400b00965f4171642sm3463869ejc.125.2023.05.07.15.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:12 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 10/16] cpulimit: fix do_install with multilib Date: Mon, 8 May 2023 00:43:48 +0200 Message-Id: <20230507224354.1149327-10-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102372 * 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 --- meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb index 86a58beda4..58e4fd6e88 100644 --- a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb +++ b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=86c1c0d961a437e529db93aa3bb32dc4" SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd" -SRC_URI = "git://g...@github.com/opsengine/cpulimit.git;protocol=https;branch=master \ +SRC_URI = "git://github.com/opsengine/cpulimit.git;protocol=https;branch=master \ file://0001-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch \ " @@ -15,7 +15,7 @@ do_compile() { } do_install() { install -d ${D}${sbindir} - install -m 0755 ${B}/src/${PN} ${D}${sbindir}/ + install -m 0755 ${B}/src/${BPN} ${D}${sbindir}/ } CFLAGS += "-D_GNU_SOURCE ${LDFLAGS}" From patchwork Sun May 7 22:43:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23553 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65E8DC7EE31 for ; Sun, 7 May 2023 22:44:15 +0000 (UTC) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mx.groups.io with SMTP id smtpd.web10.94801.1683499454816568397 for ; Sun, 07 May 2023 15:44:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=C8iCpjS9; spf=pass (domain: gmail.com, ip: 209.85.218.43, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-96622bca286so266025066b.1 for ; Sun, 07 May 2023 15:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499453; x=1686091453; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L9ieuQPCEI5ko4usvpKPzFADY7xrSoakE4gV5esaV7M=; b=C8iCpjS9ejJgJ9GfkVsl8SChd6U2oPuU8qpR8HltZlyHy6+CHZ4qwo6+8450cGoo9N qN8aKf4Z+7XMyOYBM4cR/mWkclttinbbaDBapi3bBIvOq5aSijU7C36ZBKM3w4fjRWCU odQcvPdbOIz4x8fBP1fOZ6AxLHJGxeW0RnOD/uU3iTnegsslNlKIdhm2IQpOq+SZiUjd 4W2OevPfe3z9a/0Ops0GFGE9BCg8Umj8HvSGNrjU4XKTUYTKiB4UOAF13OSuLLnkOPlw rJyJ+xmYl1tTMXKhhmNhrjjdX74Sh3jcCSVl0kDNZL5U2Jvf31NDRpc0vscL+X4yezjP wvdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499453; x=1686091453; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L9ieuQPCEI5ko4usvpKPzFADY7xrSoakE4gV5esaV7M=; b=Nv0ZippWB4gnGzZS/k2uuIpOJS6y2mJljdpR7kl3iCVLfwdn2fgViolOfdtV4XkvUx g8mZr5yaK2hpV4WcNBTBaFkdDnobbG9IhPKdv6BIj2rW58Ivbxxgx+JdKKowNnwwUDYi q14E052hRp4s/HWaJTJa/x9esJlaKlODeF20830+Rf9ZhtNxsurnztaPJeplbaJpeUQr 5A9+Wssc3VHaDpV6nfrxBJBry6WiML0RwTDjAgtQGtaD50E+lL7aNYHOcZoEfc4Ebuu4 LUi2/Lrdv4elZw6m9TidlOgyJBBnQfaeiMn2vfAJjZd5DRvxiIyAZQ8MgshrLN5hpvnK ti8w== X-Gm-Message-State: AC+VfDw6EOcLrTpgyouM4Sid0N3/nDu7y7GXTkK8w0NcaPhjWOHYTFLf RShadduJahzh/N7P69ykYFJseajaOB0= X-Google-Smtp-Source: ACHHUZ7+UD+xXRz/B1WLrTEyhUsVquzT2trLH7yPS35rFwT+aIS2JpTdAYjSJBBCgtClO8CotHdBzQ== X-Received: by 2002:a17:907:3d90:b0:968:236:eb17 with SMTP id he16-20020a1709073d9000b009680236eb17mr43281ejc.24.1683499453353; Sun, 07 May 2023 15:44:13 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id mm26-20020a170906cc5a00b0095ed3befbedsm4157964ejb.54.2023.05.07.15.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:13 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 11/16] libnfs: fix installed-vs-shipped issues with multilib Date: Mon, 8 May 2023 00:43:49 +0200 Message-Id: <20230507224354.1149327-11-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102373 Signed-off-by: Martin Jansa --- ...espect-CMAKE_INSTALL_LIBDIR-for-mult.patch | 61 +++++++++++++++++++ .../libnfs/libnfs_5.0.2.bb | 4 +- 2 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch new file mode 100644 index 0000000000..55595104aa --- /dev/null +++ b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch @@ -0,0 +1,61 @@ +From 95708ff427c12b58e53fab225a08c811ca358394 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 3 May 2023 22:27:10 +0200 +Subject: [PATCH] CMakeLists.txt: respect ${CMAKE_INSTALL_LIBDIR} for multilib + +* fixes: + ERROR: libnfs-5.0.2-r0 do_package: QA Issue: libnfs: Files/directories were installed but not shipped in any package: + /usr/lib/libnfs.so + /usr/lib/libnfs.so.11.1.0 + /usr/lib/libnfs.so.5.0.2 + /usr/lib/pkgconfig + /usr/lib/cmake + /usr/lib/pkgconfig/libnfs.pc + /usr/lib/cmake/libnfs + /usr/lib/cmake/libnfs/libnfs-config-version.cmake + /usr/lib/cmake/libnfs/libnfs-config.cmake + /usr/lib/cmake/libnfs/libnfs-config-noconfig.cmake + /usr/lib/cmake/libnfs/FindNFS.cmake + Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. + libnfs: 11 installed and not shipped files. [installed-vs-shipped] + + when libdir is /usr/lib64 with multilib + +Signed-off-by: Martin Jansa +Upstream-Status: Pending +--- + CMakeLists.txt | 6 +++--- + lib/CMakeLists.txt | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4fb0fe7..8e5a0e4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,11 +6,11 @@ project(libnfs + + set(SOVERSION 11.1.0 CACHE STRING "" FORCE) + +-set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") ++set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Installation directory for libraries") + set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") + set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages") +-set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") +-set(INSTALL_CMAKE_DIR "${CMAKE_INSTALL_PREFIX}/lib/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files") ++set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") ++set(INSTALL_CMAKE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files") + + option(BUILD_SHARED_LIBS "Build shared libraries" ON) + option(ENABLE_TESTS "Build and run test programs" OFF) +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt +index 88ba7b8..5ff89dc 100644 +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -23,5 +23,5 @@ set_target_properties(nfs PROPERTIES + + install(TARGETS nfs EXPORT libnfs + RUNTIME DESTINATION bin +- ARCHIVE DESTINATION lib +- LIBRARY DESTINATION lib) ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb b/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb index 7a40f4efc3..e0df18a50c 100644 --- a/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb +++ b/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.2.bb @@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/sahlberg/libnfs" LICENSE = "LGPL-2.1-only & BSD-2-Clause & GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada" -SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master" +SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master \ + file://0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch \ +" SRCREV = "40348f45d6beb8a8f50b6b63414a98fc1a061b7d" S = "${WORKDIR}/git" From patchwork Sun May 7 22:43:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23556 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44FFFC7EE22 for ; Sun, 7 May 2023 22:44:25 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web10.94802.1683499456065333014 for ; Sun, 07 May 2023 15:44:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=olLIZZPP; spf=pass (domain: gmail.com, ip: 209.85.218.44, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-94f4b911570so598053566b.0 for ; Sun, 07 May 2023 15:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499454; x=1686091454; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SaQbCVxU2SqR80OEH7QkcDFWI7/86DrpmsSzlFsC44U=; b=olLIZZPPM/ZDHPr0pBiiArdJWGR7FgmFXRO4650O+1HngEB2C+DFjGH4b21o+lfSAV DFSFjJ2p7bavUyYyzvz0qhZwxQLBlXMJ9Cst7iEgl2ETmn+qO8LbSLq3s9nx55kzw49D fgEqr+OYaDI3d6fvjeIpoLsewExJRZsN/2bD6XgNJt88Dd+aPk6GcfeWoOBohc8DwHJ9 koC3696EGAjm+cKVxOBfI/b9fjAPl8JNNmyIUH6ZAFaj3MIoOnI2oxaB+SP30B+KEfBJ 24mAVcnd6KovmIgLAOC4N/+BACEBoSMxwDhQx49DJ6ZjYv8npTw0Tk9trYQp4EcclkK5 TYZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499454; x=1686091454; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SaQbCVxU2SqR80OEH7QkcDFWI7/86DrpmsSzlFsC44U=; b=dU1wdn6uIxOZnV/mTxIYMQ9S+yZBZB1AyNnyB5FlvoL8/RQOs5CvzxoYz4dv2YzL9M oYRZcCl+RJFqf98GMkLDIkysR69RgP+m5Nk8RzFtsUIPoQO2z3sXmgpKNcjmR65sJOZu pIHxV4BaCcxINvNF6R7js1vHnIBqxRvtehij+vXOlPcfXvLeEbKS3jP2dVzCrL8QFfil wJlZEZWj4NIPp4q0wH2sPZzzhbPGYbR1RPh3P3rNEyJ0BgKFowkeIMA1bDAXsu9FhDYP PNY/DmU3QBu1k5pABKQzc/wIdxgejxdR3OhlDDYHdVf++ORZPfIE93OlvBXsJMW1ZNSJ OJAg== X-Gm-Message-State: AC+VfDw4IM4o4qIkjUA4tRzQjCK7O58iAg0QfrcDWVD/bfbgSBV7py9B thwJJumNHryJlMMrSOTWjGEeWLabw+E= X-Google-Smtp-Source: ACHHUZ4t0tVnSaoGiNVAWu4z4v7MhwwCvFQVPr6BbqtEvweqGKSaUHP5ceztm6FQFmlIuhhzEHIiBg== X-Received: by 2002:a17:907:7b98:b0:947:55ad:dd00 with SMTP id ne24-20020a1709077b9800b0094755addd00mr7804039ejc.26.1683499453995; Sun, 07 May 2023 15:44:13 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id w11-20020a170907270b00b009600ce4fb53sm4163994ejk.37.2023.05.07.15.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:13 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 12/16] btrfsmaintenance: install to ${datadir}/${BPN} Date: Mon, 8 May 2023 00:43:50 +0200 Message-Id: <20230507224354.1149327-12-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102374 * 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 --- .../recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb index a4573cf596..5761844f81 100644 --- a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb @@ -38,9 +38,9 @@ do_install() { ${D}${systemd_system_unitdir} install -Dm0644 ${S}/btrfsmaintenance-functions \ - ${D}${datadir}/${PN}/btrfsmaintenance-functions + ${D}${datadir}/${BPN}/btrfsmaintenance-functions install -Dm0755 ${S}/*.sh \ - ${D}${datadir}/${PN} + ${D}${datadir}/${BPN} install -Dm0644 ${S}/sysconfig.btrfsmaintenance \ ${D}${sysconfdir}/default/btrfsmaintenance From patchwork Sun May 7 22:43:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57AC2C7EE2D for ; Sun, 7 May 2023 22:44:25 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web10.94803.1683499456321146400 for ; Sun, 07 May 2023 15:44:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=HmCVaDVI; spf=pass (domain: gmail.com, ip: 209.85.218.48, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-965fc25f009so404295966b.3 for ; Sun, 07 May 2023 15:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499455; x=1686091455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eLJJ2RyW5Xk75IKfV1Wel0u/jh5JIZW4xVSjxaXuwG0=; b=HmCVaDVIYlJWUEUBW2Ko2tc6r7v66XuKANBs3dn2Rp8/frLcclpKfSkzgJSPok0eYx Bd/zuCjpwlMzA9QRvJWTHAdoOJKaIJ00etBkYzyS+aJ1tugXcSwpx5N9wAPH5oPX4dS1 TtSfaO0KszsmAW3Jea/2+zjcOY90Wkl4Nh1yU29RBL1u2/icoHZgAOh8zVSn81dbZlE0 CQKx7dVj8Un7tcvwbZyqgJNW4fn2lPZVVolAUl80Dxe+Ib3IJ1k09FkfMlceATfYNfBi PyYKqNJTDheeZUO9r2JChNlfu47RgZdYmwzeH/5wObD2T70D21sEAxsqrT3N5zXxfa31 oc4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499455; x=1686091455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eLJJ2RyW5Xk75IKfV1Wel0u/jh5JIZW4xVSjxaXuwG0=; b=ex32S/N1PkfJvEOoxI41Yb4ora18zACUM9QZ6YyzrV+3NT4BE/Z3shwTxYh5zlnkB7 6aOq1UfZ6ry4K3KVHtciEhFPLJBHrNFh5Jij0otXZEMyLSP0wzEk4wKUy7sRPNT+7Ks4 F+f+JS3p2EQNCvehadaU7p0cm7/jAn+jDzUb4mtgrTdylW4YpIaxQv/kuzjKGAtG4OjU C2ifCmpuXu67mTDFpUam6suO2uyOSw7y8DFTu0q1X2lFqtqU9F4+ZX3vAf7Bc4BQqIhz l08LL7nwvkG4k8omahAeTko9LFF1FdFcXR8CcRxiDClZrXT96/3p+eQ5PgoV0vyONNX8 1xKA== X-Gm-Message-State: AC+VfDzl99t8eujYVOYJTdq7nO3R9afBUnpQpbPS7AUc3fWrUjk+ZjVj E2qWKEweNCcfaSTFN5xBi8e15lRFdg4= X-Google-Smtp-Source: ACHHUZ4NI6H+s9p5GLo9i6MXHJW9bxNLL4Pr2/jd8XDCxllkHov8rnPHRmlArRGQJ1D8chuib9Gt7A== X-Received: by 2002:a17:907:9616:b0:94f:1a23:2f1b with SMTP id gb22-20020a170907961600b0094f1a232f1bmr7704801ejc.24.1683499454860; Sun, 07 May 2023 15:44:14 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id nb35-20020a1709071ca300b009663b7c95a3sm1643423ejc.144.2023.05.07.15.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:14 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 13/16] libtomcrypt: pass LIBPATH to fix installed-vs-shipped with multilib Date: Mon, 8 May 2023 00:43:51 +0200 Message-Id: <20230507224354.1149327-13-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102375 * 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 --- meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb index 357fd0ab8d..b144338921 100644 --- a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb +++ b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb @@ -17,5 +17,5 @@ do_compile() { } do_install() { - oe_runmake -f makefile.shared 'PREFIX=${prefix}' 'DESTDIR=${D}' install + oe_runmake -f makefile.shared 'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' install } From patchwork Sun May 7 22:43:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55616C7EE26 for ; Sun, 7 May 2023 22:44:25 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web10.94804.1683499457328907988 for ; Sun, 07 May 2023 15:44:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=lekhCm5U; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-9661047f8b8so299394366b.0 for ; Sun, 07 May 2023 15:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499456; x=1686091456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aY2ue3Q+SafhqHeecxwT/ai89xf+1gKjb4ppWhy7flo=; b=lekhCm5UARDvNpP5g7+4ohJws8ByD/VkclZTK7Eb879+0HBWGrfvZoh3o2WhS8kqkM 7nnpB76UpRHHiFv3tU1VaeU04N3w8ZOb0uREuWDrh8MZ6a2L9sS12Uk9BBDZGSSx/g9O vo6tz3nPVGnn9pNP5lj+CjqcxyKnMPnEGJCqDqzANuga2A8owrNCjtvyYWzUHczKay7h xiUJfw26HiZ+AOfnKixClEb4hAcGyZlc+MM27mZ5I7NuQeGWWsiUG0HvDh8ghnnFJEo4 eUM+441cWtHRQPOFjdouZ1X22Yj69xGGP48oEOQUZJ7aCM8n/MuprasO9cWEzpsDmHby Pz4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499456; x=1686091456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aY2ue3Q+SafhqHeecxwT/ai89xf+1gKjb4ppWhy7flo=; b=FSMIYoTXwZSl69uqQirT2dkLDSQNWBoGD5x3HB/tlppz4OYCrOgnDFXWyQDItehhme 1tgtS8d+0AhyLSJgLg5Kdistxg9CraBP+pLhOxKjivcf8l1LUTUJ59MYP5T0o5jQOheY GNfLQrSd44ftDa+lj3LxSAE3bgrqYO4+VDEraN9C2fFFQZzkUKdqzsvzhjxWD6x3bLXg l7q2+GIpNW2d5QHLMPk1ZUhkp/2+v4H95vxJmb/YDeYVRLTlYJR4IRGtJEOBqc1VqvpB 8ju3M2SCw14u4bJzfvKfZ6W0qGpL73cJilCGGeRY6EjfSPmzpld2Z+1tD4cHLH0GLkTV iW/w== X-Gm-Message-State: AC+VfDy0xeF/PNAl8OaXy4TkOrlYIXdAM3VJOiwB70FD6IWfxZLXjJ6y nLVcfMCRBeVFzl4OEhWmdem933r4b58= X-Google-Smtp-Source: ACHHUZ5gheHrFp7sSmf3n/xO9k1yoCAA/onyl9cGv8dRh46y7y01GHHmmg8e678tkanYLti2SeCHVQ== X-Received: by 2002:a17:907:da4:b0:966:4d99:b0aa with SMTP id go36-20020a1709070da400b009664d99b0aamr2298654ejc.59.1683499455701; Sun, 07 May 2023 15:44:15 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id z6-20020a170906240600b0094f4d2d81d9sm4140134eja.94.2023.05.07.15.44.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:15 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 14/16] nanopb: fix installed-vs-shipped with multilib Date: Mon, 8 May 2023 00:43:52 +0200 Message-Id: <20230507224354.1149327-14-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102376 * 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 --- ...llow-to-set-PYTHON_INSTDIR-from-outs.patch | 67 +++++++++++++++++++ .../recipes-devtools/nanopb/nanopb_0.4.7.bb | 6 +- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb/0001-CMakeLists.txt-allow-to-set-PYTHON_INSTDIR-from-outs.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb/0001-CMakeLists.txt-allow-to-set-PYTHON_INSTDIR-from-outs.patch b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb/0001-CMakeLists.txt-allow-to-set-PYTHON_INSTDIR-from-outs.patch new file mode 100644 index 0000000000..474f0f1584 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb/0001-CMakeLists.txt-allow-to-set-PYTHON_INSTDIR-from-outs.patch @@ -0,0 +1,67 @@ +From 30c79d1b49839a15c05a0d0ca7e54787cd7988c6 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Thu, 4 May 2023 07:17:57 +0000 +Subject: [PATCH] CMakeLists.txt: allow to set PYTHON_INSTDIR from outside + +CMakeLists.txt used: + +find_package(Python REQUIRED COMPONENTS Interpreter) +execute_process( + COMMAND ${Python_EXECUTABLE} -c + "import os.path, sys, sysconfig; print(os.path.relpath(sysconfig.get_path('purelib'), start=sys.prefix))" + OUTPUT_VARIABLE PYTHON_INSTDIR + OUTPUT_STRIP_TRAILING_WHITESPACE +) + +but with python3native this returns: + +nanopb/0.4.7-r0/git $ ../recipe-sysroot-native/usr/bin/python3-native/python3 -c "import os.path, sys, sysconfig; print(os.path.relpath(sysconfig.get_path('purelib'), start=sys.prefix))" +lib/python3.11/site-packages + +which doesn't respect target libdir which might be lib64 with multilib and with python3targetconfig +it also doesn't work right because of the long relative path: + +nanopb/0.4.7-r0/build $ ../recipe-sysroot-native/usr/bin/python3-native/python3 -c "import os.path, sys, sysconfig; print(os.path.relpath(sysconfig.get_path('purelib'), start=sys.prefix))" +../../../../../../../../../../../../usr/lib64/python3.11/site-packages + +CMake Error at cmake_install.cmake:46 (file): + file cannot create directory: + /OE/lge/build/starfish/nanbield/BUILD/work/o22-starfish-linux/nanopb/0.4.7-r0/image/usr/../../../../../../../../../../../../usr/lib64/python3.11/site-packages/proto. + Maybe need administrative privileges. + +Let CMake variable to be passed from the recipe to avoid this as we're already using +${D}${PYTHON_SITEPACKAGES_DIR} in do_install:append anyway. + +Signed-off-by: Martin Jansa +Upstream-Status: Pending +--- + CMakeLists.txt | 16 +++++++++------- + 1 file changed, 9 insertions(+), 7 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8d241c5..7d3f993 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,13 +39,15 @@ if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR) + set(CMAKE_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/nanopb") + endif() + +-find_package(Python REQUIRED COMPONENTS Interpreter) +-execute_process( +- COMMAND ${Python_EXECUTABLE} -c +- "import os.path, sys, sysconfig; print(os.path.relpath(sysconfig.get_path('purelib'), start=sys.prefix))" +- OUTPUT_VARIABLE PYTHON_INSTDIR +- OUTPUT_STRIP_TRAILING_WHITESPACE +-) ++if(NOT DEFINED PYTHON_INSTDIR) ++ find_package(Python REQUIRED COMPONENTS Interpreter) ++ execute_process( ++ COMMAND ${Python_EXECUTABLE} -c ++ "import os.path, sys, sysconfig; print(os.path.relpath(sysconfig.get_path('purelib'), start=sys.prefix))" ++ OUTPUT_VARIABLE PYTHON_INSTDIR ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++ ) ++endif() + + if(nanopb_BUILD_GENERATOR) + set(generator_protos nanopb) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb_0.4.7.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb_0.4.7.bb index 897caea2a7..9ad558146c 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb_0.4.7.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb_0.4.7.bb @@ -4,13 +4,17 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" DEPENDS = "protobuf-native" -SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https" +SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https \ + file://0001-CMakeLists.txt-allow-to-set-PYTHON_INSTDIR-from-outs.patch \ +" SRCREV = "b97aa657a706d3ba4a9a6ccca7043c9d6fe41cba" S = "${WORKDIR}/git" inherit cmake python3native +EXTRA_OECMAKE += "-DPYTHON_INSTDIR=${PYTHON_SITEPACKAGES_DIR}" + do_install:append() { install -Dm 0755 ${S}/generator/nanopb_generator.py ${D}${bindir}/nanopb_generator.py install -Dm 0755 ${S}/generator/protoc-gen-nanopb ${D}${bindir}/protoc-gen-nanopb From patchwork Sun May 7 22:43:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23555 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44FC2C77B75 for ; Sun, 7 May 2023 22:44:25 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by mx.groups.io with SMTP id smtpd.web10.94805.1683499458037253932 for ; Sun, 07 May 2023 15:44:18 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=E1JlfNCp; spf=pass (domain: gmail.com, ip: 209.85.208.44, mailfrom: martin.jansa@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-50bc3a2d333so5919263a12.0 for ; Sun, 07 May 2023 15:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499456; x=1686091456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BCSZn9YL97TGwLp3r//6n7mV32k7Zdu2knh/u3i5To4=; b=E1JlfNCp7MYYOFYBanYyTrt9tC1cRa9hXQMd/5yOnZtOHy7AsC1cnzottjlM30IgDW VsF879QJS8vQRpZSISM1isSMBI5JRVmdWYJCAgZhbIuzH2ohSiatk4P38Q8zg1sWSMmh EOfKAx7Id/LcZfUGwdROwGbkaw9J1InkI/eMWqEuNU0y1SImJeriQBIsTGY0PXxBPqPU wBLhxEhkjA6vYLVJzdPy9Lm/ippoB75fZJdVaeR+KYF6EoeK97PyvTFt3953+1FlfwsF YqjNlW/7drMtsVgxv/iA01+SvNOrbnQD+Ubw4Pu9Fm10CURBOm7EeoIA69T+qIyUZ9CT LThQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499456; x=1686091456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BCSZn9YL97TGwLp3r//6n7mV32k7Zdu2knh/u3i5To4=; b=BIATl+2jYa2FWI7iPrbYbbGM2QOmXNV8/H5AHYjVJrw01NfFrVatDlpsQFRnwXhqXd QDts96+/Hc6lXBSITVU5CaFHK28vSCPQZvynymAKOOyNV6Fnyd9dBNiyyL5D536JW38G ny76isuriWHZguqpXZq6UdZiBRzXus71Ki5MqSOAdPu0pnK82Q95WEE8hNCX+WUs24kN +TJ1jH+k6gwFvUgonY2m0p1RrPBuLa3T0P4hookNNclNHtSAnEYuGVYsReRQekWAHjUr QfmcQXrOlmSdFyZ/wQKTsUaf3Ot9NYpC8sFIhyioyPVYGrktpgDy/8+pSW0ihMrpwuwf aGlw== X-Gm-Message-State: AC+VfDwBm2+AgWzZzdJAhEe0ji69f2KcaGQrTWB4mI7rkzAZwO7iq4mM gE8qvoyRiGO4Mw9ePkqNjDH78W0wuME= X-Google-Smtp-Source: ACHHUZ58Mgdtkf7C4+2XLE+yKdrWuUI7dxWX708ud9CxYKopbtxzKNGMn2yPZodOIi2CFhqO5v+70w== X-Received: by 2002:a17:907:7b96:b0:966:1741:c93f with SMTP id ne22-20020a1709077b9600b009661741c93fmr5085078ejc.31.1683499456375; Sun, 07 May 2023 15:44:16 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id gv57-20020a1709072bf900b009663cf5dc43sm1586392ejc.181.2023.05.07.15.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:16 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 15/16] nv-codec-headers: fix installed-vs-shipped with multilib Date: Mon, 8 May 2023 00:43:53 +0200 Message-Id: <20230507224354.1149327-15-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102377 * 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 --- .../nv-codec-headers/nv-codec-headers_12.0.16.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb index 5ef7ead810..4bff4f24b7 100644 --- a/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb +++ b/meta-multimedia/recipes-multimedia/nv-codec-headers/nv-codec-headers_12.0.16.0.bb @@ -10,7 +10,7 @@ SRC_URI = " \ SRCREV = "c5e4af74850a616c42d39ed45b9b8568b71bf8bf" S = "${WORKDIR}/git" -EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}" +EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} LIBDIR=${baselib}" do_install() { oe_runmake install From patchwork Sun May 7 22:43:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 23557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B82AC77B7D for ; Sun, 7 May 2023 22:44:25 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mx.groups.io with SMTP id smtpd.web10.94806.1683499459450386616 for ; Sun, 07 May 2023 15:44:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=gsPI4ELV; spf=pass (domain: gmail.com, ip: 209.85.218.42, mailfrom: martin.jansa@gmail.com) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-966287b0f72so233696566b.0 for ; Sun, 07 May 2023 15:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683499458; x=1686091458; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dylY0Wu7b1dnjSBo4F3H2malLOZhbWxdUpEV46GfhTw=; b=gsPI4ELV/T0kiM5TpXLh0RrLkU8q1qJYTcbg5V75Te14vyG6IApnTERnYrjtnQxsyz nGBSFVZVHiUkngrp2tAuW0w5vNVVA40gAOFoJo2R+ZVQ1XRVrHkhFx3YT4miRgTODU+3 h+Zn9MfNpfsDrSN2em3J8dgvnFL51m6q3U4OCDjQE2zEs9xJwLOPH612L58WhiW43D64 og+BZGkTtKwQIonCnDoIA3iqj5uhgw2XPmFHfihB/q3zDCOrrj0nMnw5WDrCMgJDJLxK DeNaJ3B1Nu1D95od97ytviHrd8feTfi61CpwMYGsdO3qQKbP9JtmbyNmAD43Mdt3gYWj W1Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683499458; x=1686091458; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dylY0Wu7b1dnjSBo4F3H2malLOZhbWxdUpEV46GfhTw=; b=HzCNFGV3MugSJJVoTpNhsGTajDooBvihDHE7q5zrpZYOvmrJ3PIz6eOjwX+MEPXp6k pE3ntqHoYC7B0+tQfXTDKmsuMGl8lfO6DLzSP3/SBme4N9MGfJxrba9o5pfWeDIFcG4G B24AKNkni+SDEeJP3RvtSyW1wkEcuwLfmEng2rNVRscS1Vl5OA91lQRZbKYo1Bjhlwds Qh0uQmTygYVi/ZqQOcoRxQRYCgUaq7yPsaa7LpIXJAStj/ZMjAc/Aja7ItI0B0zs4+rB XLWZkezCs9bK4v37CLUdMzqfjccH4Y28yfdxJgLt5QKAdfaEwnSpVBfz6QGKlZNKs8nI CUDg== X-Gm-Message-State: AC+VfDzNfyQayLx4Go645/5XBFv2bHbMbCu4yerxIbLx8lLqZsOHmfvG +Gx3QGIHribXgO3BwgvNAXiLOWcBc1I= X-Google-Smtp-Source: ACHHUZ51Xeg5yZWWbI1YnCndeCahSJi5VvqaQajLkAW9Mo2NlB/yp9UEoYuzbUunYMN4WM8tw6H1Hw== X-Received: by 2002:a17:907:2d90:b0:966:40ad:3aec with SMTP id gt16-20020a1709072d9000b0096640ad3aecmr2995680ejc.6.1683499457090; Sun, 07 May 2023 15:44:17 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with ESMTPSA id z10-20020a1709063a0a00b0094b5ce9d43dsm4135020eje.85.2023.05.07.15.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 15:44:16 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 16/16] zfs: fix installation paths for multilib Date: Mon, 8 May 2023 00:43:54 +0200 Message-Id: <20230507224354.1149327-16-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230507224354.1149327-1-Martin.Jansa@gmail.com> References: <20230507224354.1149327-1-Martin.Jansa@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 07 May 2023 22:44:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102378 * 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 --- .../recipes-filesystems/zfs/zfs_2.1.9.bb | 36 ++++++++++++------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb index 77daab7dd5..573561db25 100644 --- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb +++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.1.9.bb @@ -27,12 +27,16 @@ EXTRA_OECONF:append = " \ --with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \ --with-mounthelperdir=${base_sbin} \ --with-udevdir=${base_libdir}/udev \ + --with-systemdunitdir=${systemd_system_unitdir} \ + --with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \ + --with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \ + --with-systemdmodulesloaddir=${sysconfdir}/module-load.d \ --without-dracutdir \ - " +" EXTRA_OEMAKE:append = " \ INSTALL_MOD_PATH=${D}${root_prefix} \ - " +" do_install:append() { # /usr/share/zfs contains the zfs-tests folder which we do not need: @@ -42,19 +46,25 @@ do_install:append() { } FILES:${PN} += "\ - ${base_sbindir}/* \ - ${base_libdir}/* \ - ${sysconfdir}/* \ - ${sbindir}/* \ - ${bindir}/* \ - ${libexecdir}/${BPN}/* \ - ${libdir}/* \ - " + ${nonarch_base_libdir}/modules \ + ${systemd_system_unitdir} \ + ${nonarch_base_libdir}/systemd/system-generators \ + ${nonarch_base_libdir}/systemd/system-preset \ + ${sysconfdir}/modules-load.d/${BPN}.conf \ + ${sysconfdir}/default/${BPN} \ + ${sysconfdir}/sudoers.d/${BPN} \ + ${sysconfdir}/${BPN} \ + ${base_libdir}/udev \ + ${sbindir} \ + ${bindir} \ + ${libexecdir}/${BPN} \ + ${libdir} \ +" FILES:${PN}-dev += "\ - ${prefix}/src/zfs-${PV}/* \ - ${prefix}/src/spl-${PV}/* \ - " + ${prefix}/src/zfs-${PV} \ + ${prefix}/src/spl-${PV} \ +" # Not yet ported to rv32 COMPATIBLE_HOST:riscv32 = "null" # conflicting definition of ABS macro from asm/asm.h from kernel