From patchwork Sat May 27 01:36:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24592 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 F264BC77B7C for ; Sat, 27 May 2023 01:36:37 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.3269.1685151395713669517 for ; Fri, 26 May 2023 18:36:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=GSwboHEQ; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1b025d26f4fso2359415ad.1 for ; Fri, 26 May 2023 18:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685151395; x=1687743395; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZoB79rr4HJZEBlbeJZdoK7d6jBEgGl3L8JR/QyKo9iM=; b=GSwboHEQ/z/DhImhl1vFA2xZYGXVtRLZIii4g0mN3F3i9ih9aRDEmCtC3yB9B3K5IA SGHiaH+NGUIP6HFU4gyBIbvlMZ9NzDxkpc3vi4hmwxSgYVuREVrpe386gk/uvawWaxIt jMVKZZ94bskp+Bqy1ESKz0qeJJajKgfqkDBtI0eJJ8srMSCIpYFUh8sz3iHAW3UrmV81 bSG25fO9l4VwD5hzivqKzrwoSjnURNceSePFGSnKnuYSWYGlg4/Rx66fQ4F3IrA79BM3 ATEcQvetQY07MjZZTKyFCpcNjLNPGRi+8HSWGrZWQPZKHpekzvPPV35xHxhGV7OFwC9Z o2WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685151395; x=1687743395; 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=ZoB79rr4HJZEBlbeJZdoK7d6jBEgGl3L8JR/QyKo9iM=; b=EOZu9YD+CGOi+mi8zJ6arzuwh2It/QykimsbWRGWlAbZtvaWdB23LB1Uj/p1PdDKKR lqHwt4SBRFdMd2n2M9jlRCo9hJ6YGFnHJ6VA/MND2Yj7cXF12lWsL5jAAkSuM4R7Km13 TSEUZb5/jdEEtXbgedGvNgqShJbFBJXhFqoCBvG9RKjwkq0ybl2HJUELl6XsR6ROjA3w dvES+OdHemC+SOMhyX43uOW5eFIkmjvNeMyEfijQnMVL27hZ9atMVwdfBtKdaRIxUlig 39Ps5jJK8PbrLAj/bhbma6wjXhrPH8T2Farm38yDkb84MWhGCyS9ZaP5jZHsU+3NlXmO XyVQ== X-Gm-Message-State: AC+VfDwv+udVt/O5m06569Gl3Nv2C0kpf4+sSlcBVHNZZXJkyM92kuGJ JckwFlxN9b56bKR++xY71mgGyghiHGk= X-Google-Smtp-Source: ACHHUZ7Kqvrp3WxhFrfIg4PEIEtJSDYUhVsrcJfBmzCzGxFMf08F5OyA/3iLTsbFKCw3GBtBrFv6QA== X-Received: by 2002:a17:902:7147:b0:1ac:4735:45d7 with SMTP id u7-20020a170902714700b001ac473545d7mr3059090plm.6.1685151394673; Fri, 26 May 2023 18:36:34 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c4c0]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b001aafe4f9b8esm3802191plp.180.2023.05.26.18.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 18:36:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 1/5] ipvsadm: Pass build environment cflags to compiler Date: Fri, 26 May 2023 18:36:28 -0700 Message-Id: <20230527013632.96030-1-raj.khem@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 ; Sat, 27 May 2023 01:36:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102874 This helps in avoiding absolute build time paths in binaries debug info Fixes WARNING: ipvsadm-1.31-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/ipvsadm in package ipvsadm-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- .../ipvsadm/0001-Add-CCFLAGS-to-cflags.patch | 36 +++++++++++++++++++ ...-libipvs-Include-missing-sys-types.h.patch | 28 +++++++++++++++ .../recipes-support/ipvsadm/ipvsadm_1.31.bb | 8 +++-- 3 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 meta-networking/recipes-support/ipvsadm/ipvsadm/0001-Add-CCFLAGS-to-cflags.patch create mode 100644 meta-networking/recipes-support/ipvsadm/ipvsadm/0001-libipvs-Include-missing-sys-types.h.patch diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-Add-CCFLAGS-to-cflags.patch b/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-Add-CCFLAGS-to-cflags.patch new file mode 100644 index 0000000000..a2923088e8 --- /dev/null +++ b/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-Add-CCFLAGS-to-cflags.patch @@ -0,0 +1,36 @@ +From 1bc180ec333d90e1a11deff46b5639ab5d40408d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 26 May 2023 09:29:23 -0700 +Subject: [PATCH] Add CCFLAGS to cflags + +This is to append the flags from build environment. + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + Makefile | 1 + + libipvs/Makefile | 3 +++ + 2 files changed, 4 insertions(+) + +--- a/Makefile ++++ b/Makefile +@@ -50,6 +50,7 @@ else + CFLAGS = -Wall -Wunused -Wstrict-prototypes -g + endif + ++CFLAGS += $(CCFLAGS) + + ##################################### + # No servicable parts below this line +--- a/libipvs/Makefile ++++ b/libipvs/Makefile +@@ -1,6 +1,9 @@ + # Makefile for libipvs + + CFLAGS = -Wall -Wunused -Wstrict-prototypes -g -fPIC ++ ++CFLAGS += $(CCFLAGS) ++ + ifneq (0,$(HAVE_NL)) + CFLAGS += -DLIBIPVS_USE_NL + CFLAGS += $(shell \ diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-libipvs-Include-missing-sys-types.h.patch b/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-libipvs-Include-missing-sys-types.h.patch new file mode 100644 index 0000000000..8b08482be7 --- /dev/null +++ b/meta-networking/recipes-support/ipvsadm/ipvsadm/0001-libipvs-Include-missing-sys-types.h.patch @@ -0,0 +1,28 @@ +From 4fc59f5733d187941e9a7ce5e9ea33714d85285c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 26 May 2023 09:30:59 -0700 +Subject: [PATCH] libipvs: Include missing sys/types.h + +Its needed for u_intXX_t types + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + libipvs/ip_vs.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libipvs/ip_vs.h b/libipvs/ip_vs.h +index 2670c23..625b6cd 100644 +--- a/libipvs/ip_vs.h ++++ b/libipvs/ip_vs.h +@@ -8,6 +8,7 @@ + + #include + #include ++#include + #include + #include /* For __beXX types in userland */ + +-- +2.40.1 + diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.31.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.31.bb index 01bde4a68d..442e231ad4 100644 --- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.31.bb +++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.31.bb @@ -20,6 +20,8 @@ SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/utils/kernel/ipvsadm/${BP}. file://0001-Modify-the-Makefile-for-cross-compile.patch \ file://0003-ipvsadm-remove-dependency-on-bash.patch \ file://makefile-add-ldflags.patch \ + file://0001-Add-CCFLAGS-to-cflags.patch \ + file://0001-libipvs-Include-missing-sys-types.h.patch \ " SRC_URI[md5sum] = "f6d1707c5baf684b58fd33682d67871f" @@ -27,10 +29,10 @@ SRC_URI[sha256sum] = "1a0a5e25b5a1226435d2fb76341656f83a710183aebb0d204db39c0ec3 UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/ipvsadm" +EXTRA_OEMAKE += "CCFLAGS='${CFLAGS}'" + do_compile() { - oe_runmake \ - CC="${CC} -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3 -L${STAGING_LIBDIR}" \ - all + oe_runmake all } do_install() { From patchwork Sat May 27 01:36:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24593 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 00545C77B73 for ; Sat, 27 May 2023 01:36:38 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web10.3270.1685151396229506281 for ; Fri, 26 May 2023 18:36:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=Lw+8hoxz; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1ae3ed1b0d6so9036595ad.3 for ; Fri, 26 May 2023 18:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685151395; x=1687743395; 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=uyLOLcBnHeypqEzmYXF7Uq67xqmQOxCUCY5+djX6k9c=; b=Lw+8hoxzhuZ4HT0tprJZCQ9yxFH37QAF9b3EdCFPA9JE9z1x6RDOgmZ8fVIzq5kLVY UrYqDQRKihpE3cEAAqg9hVGPZn/ci8fEBocGLNUrp2cgBqXMdYNEuScf/q9qh+da6eoX ZAOQBYTdSMzG8k/lc+NMvnV2ildAV39LtVkd5dU6SR97x44nWy3d2F1ayjmjh+3QRtK+ BZ+/iK4oqt0bQ9vu9XF1Q0wWuZTiCe8Hw67FMlo2/s1CC5HONazsQpYQW1brL5PI3opp yM2SNToF6YlcphZYz0wuQQOApYrGlmbp6ylciAZlKFWz1Kv+xDtjdynIa5GCE97xxWMV RU7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685151395; x=1687743395; 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=uyLOLcBnHeypqEzmYXF7Uq67xqmQOxCUCY5+djX6k9c=; b=WX6eQO43sbDWmDmXDLH2VUl9VwHJQtycIBezVz5SNaCWYlrjqYsow5j4U7625kkqYV 0eIOnGAgc+oYWnQoRcJYUo1r7Q5BChzIWq0GF49q8IPqmqsoRNHvMxHAVkAWW6lEfQis GLDT/zaAlFnQVPvqYho1EDHcF9hIOU/CDG2AQPigbp7uMbHeMeUKEGCObn6Zkv/lflEL y+dtd+YVipx3jLStOr0Y8W3iVy1nx8CD3QlCSxhLbjfki5cNhq7PcQDnRiHhCB7Vh8cx y47GFcmqU6aMw0eQgghX4Fuo/TcxBWneOcdXaNLgGr1S5hVujK7nTKDtSPnrdcM6k650 F+TA== X-Gm-Message-State: AC+VfDyx8G8HvM+ZSoyOfYDciDD4KJzKh1ig8zAbT2eVABXah1AQn2LN jWLTWtg039Pccu8hozpXVua5zt6KH/E= X-Google-Smtp-Source: ACHHUZ4IHYkAimLQ1+nGe+H1yTVZl/hLF9fE2laZ1Um0vap3CfDZaKIwnXvcOyHbhl0NbJFhABv4Ig== X-Received: by 2002:a17:902:ce8b:b0:1af:c602:cd52 with SMTP id f11-20020a170902ce8b00b001afc602cd52mr4853368plg.67.1685151395364; Fri, 26 May 2023 18:36:35 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c4c0]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b001aafe4f9b8esm3802191plp.180.2023.05.26.18.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 18:36:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/5] orrery: Pass OE provided cflags Date: Fri, 26 May 2023 18:36:29 -0700 Message-Id: <20230527013632.96030-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230527013632.96030-1-raj.khem@gmail.com> References: <20230527013632.96030-1-raj.khem@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 ; Sat, 27 May 2023 01:36:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102875 Drop Makefiles from packaging /usr/share as a result of mass copy Fixes WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- ...instead-of-overriding-in-Makefile.am.patch | 28 +++++++++++++++++++ .../recipes-navigation/orrery/orrery_2.7.bb | 4 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch diff --git a/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch b/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch new file mode 100644 index 0000000000..829ace09b5 --- /dev/null +++ b/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch @@ -0,0 +1,28 @@ +From e13f15205425c67e1101031a33107fa9cd2d65f9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 26 May 2023 10:32:53 -0700 +Subject: [PATCH] Append cflags instead of overriding in Makefile.am + +Fixes +WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths] + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index b64449f..23637b3 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-CFLAGS = -g -O3 -Wall ++CFLAGS += -g -O3 -Wall + + bin_PROGRAMS = orrery + orrery_SOURCES = planetInfo.c orrery.c orrery.h phaseConstants.h +-- +2.40.1 + diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb index 100ecb1331..96a7018de2 100644 --- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb +++ b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb @@ -13,6 +13,7 @@ SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.ta file://orrery.png \ file://use.GdkPixbuf.patch \ file://0001-orrery-Fix-sprintf-format.patch \ + file://0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch \ " SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b" @@ -22,7 +23,7 @@ S = "${WORKDIR}/${BPN}" do_configure:prepend() { # fix DSO issue with binutils-2.22 - sed -i 's/ -lrt/ -lrt -lm/g' ${S}/Makefile.am + sed -i 's/ -lrt$/ -lrt -lm/g' ${S}/Makefile.am } do_install:append() { install -d ${D}${datadir}/orrery @@ -30,6 +31,7 @@ do_install:append() { chown -R root:root ${D}${datadir}/orrery install -d ${D}${datadir}/icons install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons + rm -rf ${D}${datadir}/orrery/Makefile* } FILES:${PN} += "${datadir}/icons/orrery.png" From patchwork Sat May 27 01:36:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24594 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 0326FC7EE2F for ; Sat, 27 May 2023 01:36:38 +0000 (UTC) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web10.3271.1685151397318220676 for ; Fri, 26 May 2023 18:36:37 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=ZogTgjDe; spf=pass (domain: gmail.com, ip: 209.85.215.171, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-53f448cde66so1217459a12.1 for ; Fri, 26 May 2023 18:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685151396; x=1687743396; 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=94OstvN65kcQ49dTc5i+WyAxyNmwswWfXFAzUYf+euQ=; b=ZogTgjDeesrVLdDHbOxBB7bxlZsFEBRyOCRDK+beWERvJcafs83m1Bcfn6iNO5HXBQ FAj1cl8l0WOSzQwgarCYDWfKzgwywjVcXP2v78k4ZGgJ3XBVdPijDuIEAhbbBhDuFfti G62B0OB4bo/tR8WGoOz7E3WZMRr7QZZ8PBlip+DVZyEYKY2WWMRpQQJnJVRQwpvWm1f0 4rDhXENWea6Uj7l2WlhCVjYdZ7WlGMzdeRpwJK4/ClBE2jJfprDlugDnd6yJDwVz9id5 po76ghp68lH+JCQUtQKJ41EWW585wjzlfR5JXofsW8CbpKxbq1keSL/hBT/py0rSgLm0 i6bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685151396; x=1687743396; 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=94OstvN65kcQ49dTc5i+WyAxyNmwswWfXFAzUYf+euQ=; b=cMEQfOPLavc/3IGnG9gRBKHAd+wSgxq59tZTknwsr+p3UtKebzr9ZMby5+Q2AcHVTo DAmsUGpwBcNGhKmczzip2yAiC/7zUWrTgHxZ1H2oEP9QS/+QS41dpwkO89ljpo2GyEZ+ Nb5ZKk6QWE88zyDb1Ij0viop//7G30Z2tsVbdTuE7g1D9ArCMN9qbEu3X1nZbCk79nbQ /VF4mMV8/dPSr1C1r+3bXFWC5EyNNHQ28E2LsAusmOCKc6DBu6Dkmo1ZAMGP8989fiXD Bar2CLi2mk3cYCQ7ayiQN/WaeRt0Tjx9UQXxYHuKB/QdBXn3zdig7XdSRv71JPQpTeLr gq9w== X-Gm-Message-State: AC+VfDwdhpuRHfqepQQGBjJ60euALtIGbK4gQG3xhJa712zh2uJGaF+e 4mBMLk4Lw83ZvxQ2vw+AdkucTY3E4s8= X-Google-Smtp-Source: ACHHUZ7C04SjR32t2kIqZB3jMpsWO37O4itkYeZiwpfIbJMiAaseTEjHaJhvxU1+4PzdKKCgY10irA== X-Received: by 2002:a17:903:1246:b0:1ad:cb4b:1d50 with SMTP id u6-20020a170903124600b001adcb4b1d50mr4894278plh.43.1685151396410; Fri, 26 May 2023 18:36:36 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c4c0]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b001aafe4f9b8esm3802191plp.180.2023.05.26.18.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 18:36:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/5] libleak: Upgrade to 0.3.6 Date: Fri, 26 May 2023 18:36:30 -0700 Message-Id: <20230527013632.96030-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230527013632.96030-1-raj.khem@gmail.com> References: <20230527013632.96030-1-raj.khem@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 ; Sat, 27 May 2023 01:36:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102876 Do not overwrite cflags when calling make on libwuya Fixes WARNING: libleak-1.0+gitAUTOINC+ea2bb608ae-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libleak.so in package libleak-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- .../0001-respect-environment-variables.patch | 13 ++++++------- .../libleak/{libleak_git.bb => libleak_0.3.6.bb} | 5 ++--- 2 files changed, 8 insertions(+), 10 deletions(-) rename meta-oe/recipes-extended/libleak/{libleak_git.bb => libleak_0.3.6.bb} (92%) diff --git a/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch b/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch index bbdfa3c960..979fd323ae 100644 --- a/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch +++ b/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch @@ -8,18 +8,17 @@ Signed-off-by: Khem Raj Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/Makefile b/Makefile -index 1d70f17..c7e726e 100644 --- a/Makefile +++ b/Makefile -@@ -1,5 +1,5 @@ +@@ -1,8 +1,8 @@ -CFLAGS = -g -O2 -Wall -fPIC -Ilibwuya -LDFLAGS = -Llibwuya +CFLAGS += -g -O2 -Wall -fPIC -Ilibwuya +LDFLAGS += -Llibwuya libleak.so: libleak.o - CFLAGS='-fPIC' make -C libwuya --- -2.30.1 - +- CFLAGS='-fPIC' make -C libwuya ++ make -C libwuya + $(CC) -shared -o $@ $^ $(LDFLAGS) -lwuya -lpthread -ldl -lbacktrace + + clean: diff --git a/meta-oe/recipes-extended/libleak/libleak_git.bb b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb similarity index 92% rename from meta-oe/recipes-extended/libleak/libleak_git.bb rename to meta-oe/recipes-extended/libleak/libleak_0.3.6.bb index a83a11c684..e3e4c01acb 100644 --- a/meta-oe/recipes-extended/libleak/libleak_git.bb +++ b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb @@ -8,13 +8,12 @@ LIC_FILES_CHKSUM = "file://README.md;beginline=18;endline=21;md5=de4f705f12cdedb DEPENDS += "libbacktrace" +PE = "1" +SRCREV = "1c56b0a2ba643db976f589ec04b246e693b6c0ce" SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https;branch=master \ file://0001-respect-environment-variables.patch \ " -PV = "1.0+git${SRCPV}" -SRCREV = "ea2bb608ae25701692269a37d39d77e966b887ac" - S = "${WORKDIR}/git" do_configure () { From patchwork Sat May 27 01:36:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24595 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 B61C6C7EE2C for ; Sat, 27 May 2023 01:36:47 +0000 (UTC) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.web11.3367.1685151397941712780 for ; Fri, 26 May 2023 18:36:38 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=hJJ7zuKk; spf=pass (domain: gmail.com, ip: 209.85.215.177, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-52c30fbccd4so1225364a12.0 for ; Fri, 26 May 2023 18:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685151397; x=1687743397; 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=nLZtfsb+dVXp/rEMGVDhaOTy6ZmA/2dZjJap84kFuJg=; b=hJJ7zuKkITpxnnR+m+kU4UFHsiPKy4Pm6y7in3uG54hjgZUXKphBMZNC9mKtBHxqf0 Lng7u3Gcd7jMF3KJszhzibWJhmXhDH1uyLMUEArDSroF/eG7nuALGjil+UPsWKaBtAtR t6MVLCp7ZxjEhjmqz28HXHua52A08givUIj6NpMnQmTctxBnNN7gJP4HONTuNgxXQRkn tS4u/Mz0mGilw9mXPS5rt2oztlq0CpTgBLjYTux5YiG5J42AUfBcO0pQzfDTD8fq2bsA EfVLeZdtLj4P9kp+PcA+bUXJawUuA73jjRD6nVPGhO+S8pvLas2F1yCiOxl8CJOeSw6P ihcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685151397; x=1687743397; 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=nLZtfsb+dVXp/rEMGVDhaOTy6ZmA/2dZjJap84kFuJg=; b=LJettpk3nxGGum1iUH1fvCvjUCFXtCCqhPo1Rky4X2Kilsu3M8ke5H0nsTsqMa9JMF 181wy28X3ZugXlDxQ28BBQ1dwuug7xjAuT1oMk6l2BpFCM5HNqn0OOFZcVdi3o9V8YW5 OflGAyG2OylerntXLwBe74fg0d5278uqBl01dVLCkZVogJYNVMu9MSUyUQYEgt13Oy5x hYN5vlSEcLJCR4EwoChK5UThwHQxa2Dfp+15iLX8Q0OR6WOOVhurrG6btCrB35ucttIZ diWeJwRJsDmg7fePVk3+oFuuEG7hlKSs24YRAiWKi9HnG014nHAOWXMF/Bg/2jsk2lot YoDA== X-Gm-Message-State: AC+VfDyUCg8OUNb+/GTRTsrNIoSm04RS0Bo8nhLknug65zSg9MjV0mz2 Psq28BRMIdPf27XyLN0uwEBf+eiLTR4= X-Google-Smtp-Source: ACHHUZ4ENXXJMGJJnPxo1WGotWzWOWKBq30mrLotnvhNyIvpuHJLXfjWy1/fIgFVnAHkj0v/TPQqAQ== X-Received: by 2002:a17:902:db09:b0:1af:dfd8:940c with SMTP id m9-20020a170902db0900b001afdfd8940cmr5449823plx.23.1685151397019; Fri, 26 May 2023 18:36:37 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c4c0]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b001aafe4f9b8esm3802191plp.180.2023.05.26.18.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 18:36:36 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 4/5] zeroconf: Pass cflags from environment Date: Fri, 26 May 2023 18:36:31 -0700 Message-Id: <20230527013632.96030-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230527013632.96030-1-raj.khem@gmail.com> References: <20230527013632.96030-1-raj.khem@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 ; Sat, 27 May 2023 01:36:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102877 Fixes WARNING: zeroconf-0.9-r1 do_package_qa: QA Issue: File /usr/sbin/.debug/zeroconf in package zeroconf-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb b/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb index 4f8d4f6c6e..0b9e05b324 100644 --- a/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb +++ b/meta-networking/recipes-protocols/zeroconf/zeroconf_0.9.bb @@ -27,6 +27,8 @@ SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${BPN}-${PV}.tar.g SRC_URI[md5sum] = "bdafb16b008ebb5633e4e581f77821d2" SRC_URI[sha256sum] = "a8c74df127753e2310fa1e072f3c9ca44a404bb0bbce9cfec7a84c6dff8bec7b" +EXTRA_OEMAKE += "CPPFLAGS='${CFLAGS}'" + do_install () { install -d ${D}${sbindir} install -d ${D}${sysconfdir}/network/if-up.d From patchwork Sat May 27 01:36:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 24596 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 B51B9C77B7C for ; Sat, 27 May 2023 01:36:47 +0000 (UTC) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web11.3368.1685151398500542888 for ; Fri, 26 May 2023 18:36:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20221208 header.b=CxqhXNZ/; spf=pass (domain: gmail.com, ip: 209.85.215.169, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-528cdc9576cso913247a12.0 for ; Fri, 26 May 2023 18:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685151398; x=1687743398; 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=sj4Y5nJDS6gffq4ryENeunuakfyOBk8cEkmBrq0f7Os=; b=CxqhXNZ/wWCPTSVz2f6UPIvtyy3S8OJ/RSZOE8JaBfacqrN218S16ZYcSBEtxQe1yP Gl6P8F6o+SzkL62CDdDmOLvNaSN6NDIZNNJvrC28YFOgXGcagyZjBm6CRkPnbWdMBJrY j243CofP3BIl6dHI7agY9ss4WJxEBvdokXFMZHDtED5DLmTj1zpVPtNEnF8egTQTiOnX 0VylsvQWfF2VnLVXoIJGt0iLGTBC4tW6doh2MaglepyPxLvtmI7OSVWgQv32b22IYMMQ zrLuGSGuRyOZbCoEFD8t/iF+l53ogH8MQZSKR0lpG1w0QmIE9paJaS9zH3f/f+XvyXo+ xLKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685151398; x=1687743398; 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=sj4Y5nJDS6gffq4ryENeunuakfyOBk8cEkmBrq0f7Os=; b=dyIpDznrdAKhVwO7P17UEVvgigWfXyQviFGcKUiCMgEnwNj6E/z827hUVVgUARVFEG qJWSq/iS/yl6moBThR7eZ6VtFSMXgZkno45NdSazRrwYEMoq6lqPXumnvZpGKqKO9bVO scQGCBusljbm/CmXTb1XndEO0lQhlR+6diYUHbpPIbKuWtUTcILiy6v8S+e+1Etoxaga sqhsVgEwYRQnNVFulpeZjz4rQk3jzBOqALlOZQ7guYivk0n+molWiUtMscsbVAq5SFVw VbetLSCp7HuCw2Co0SHfn9Jwa1hTp1YFPlRyjT5TMozFBMQYMerOYqK6EBfqLoGhUc/2 DzcQ== X-Gm-Message-State: AC+VfDxUA26hrROaqlscWPzO+Pj34/gLi8QOEgoAVjR5ImlQokg+m1v+ 829CbUl+3+rXg4Pyr9YhM/T0H9hLOqE= X-Google-Smtp-Source: ACHHUZ6Ceknt0Y37GOaQ0hfH06g+oOIk5LvqX4Ct9hR9rHiNn/KY2Edg+7JWuH2nyv185fyFpvWRXQ== X-Received: by 2002:a17:903:453:b0:1af:fb59:6a5 with SMTP id iw19-20020a170903045300b001affb5906a5mr4387984plb.10.1685151397654; Fri, 26 May 2023 18:36:37 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9181:d380::c4c0]) by smtp.gmail.com with ESMTPSA id n24-20020a170902969800b001aafe4f9b8esm3802191plp.180.2023.05.26.18.36.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 18:36:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 5/5] lshw: Pass OE cflags via RPM_OPT_FLAGS Date: Fri, 26 May 2023 18:36:32 -0700 Message-Id: <20230527013632.96030-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230527013632.96030-1-raj.khem@gmail.com> References: <20230527013632.96030-1-raj.khem@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 ; Sat, 27 May 2023 01:36:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/102878 These flags are needed to edit absolute build paths which get encoded for debug informaiton etc. Fixes WARNING: lshw-02.19.2+gitAUTOINC+42fef56573-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/lshw in package lshw-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb b/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb index f2de593cf1..6420c7e325 100644 --- a/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb +++ b/meta-oe/recipes-devtools/lshw/lshw_02.19.2.bb @@ -29,7 +29,7 @@ PACKAGECONFIG[sqlite] = "SQLITE=1,SQLITE=0,sqlite3" PACKAGECONFIG[zlib] = "ZLIB=1,ZLIB=0,zlib gzip-native" # use the PACKAGECONFIG configurations arguments -EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" +EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} RPM_OPT_FLAGS='${CFLAGS}'" do_compile() { # build core only - don't ship gui