From patchwork Fri Aug 26 06:11:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11915 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 023FCECAAD6 for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web08.34198.1661494313928152884 for ; Thu, 25 Aug 2022 23:11:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cl82Fy+O; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id a65so674054pfa.1 for ; Thu, 25 Aug 2022 23:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=opOkk4WziBbOE4OVsgtXCoeLrCwjpl9/ru+psISlE5Y=; b=cl82Fy+OmOuOcpk1R+tWu3YeOzc9eh+tQ+CCPG3sNixw368WC+BTmbTPkJLmvocjh8 UB2zDHOJ/+kIhBb81y7+nf2xklbdzyxoOHPPY8f25Q2ebd90KM5zNpd/5kOtE6eqVYGm fE6l8MroXQTrg6fc2jF5ZHw/KvAvpjzxeVy5N2XGmbEKK039/e3nG1xfi7aPdAP08PJg RJnKZYNoJ3V3U4Znl5B4IyLrY+D5QiBCr1ZNAHaS4qyV37OIiLjcu7aVHLQU4KwZiQ6+ az0mFzsh4atqLlfoxfqsfX1GyRuzw9E03Vg9CyhuMUXwHqh1ubZBgqYr7S6JAmgo1Ukn wa+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=opOkk4WziBbOE4OVsgtXCoeLrCwjpl9/ru+psISlE5Y=; b=wJBOB2Bx5/+EKkc/2WoRQWrCyxebim6kCyfIikuvQVm5sRsYvY63no05lV1NLdq+UJ 8YP9h0yc8T+J9DnahRiw8VUZGqpz/2KUzhflrsWj9b6qMkFtW7dHCbtNZQyc7zqS2tHr 1ynpCSczdSzNr/ZBeozhFUVI3Fs84GRmTPHBvaPCg81LWyPh7WDDwQgm3IMvYEFNDt2K uSlAKHtcOQE2KZS+aNFRKyeFG/koy/X5MOmAIhlMilpAAjNWM+yJKn9flgeS22opotcm H+3ChaUpcMCLzpwAtobt2EnyFGVKS3lhd+z5DuP4DyIBH+ulLbCwBVpd5uvjMY/QCY8N CPMw== X-Gm-Message-State: ACgBeo14XhlsQFZZZiDIjz1ZFN0oUtjc4poYT5VBzMsnkqN6u08AHR2l nwPMRPAqVKG1LDfrNXy12oJH6GNEJxINNQ== X-Google-Smtp-Source: AA6agR5by8iuwz/DXGQ+9VIfMmXvuG5lwPghP1zF9AG6e/ml53KIFoY6wirld0ClM3KSg5GYFnjQBQ== X-Received: by 2002:a62:6347:0:b0:531:c5a7:b209 with SMTP id x68-20020a626347000000b00531c5a7b209mr2508666pfb.60.1661494313097; Thu, 25 Aug 2022 23:11:53 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:52 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/9] fio: Fix additional warnings seen with musl Date: Thu, 25 Aug 2022 23:11:42 -0700 Message-Id: <20220826061150.3030485-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98464 Signed-off-by: Khem Raj --- ...ring-Replace-pthread_self-with-s-tid.patch | 45 +++++++++++++++++++ meta-oe/recipes-benchmark/fio/fio_3.31.bb | 3 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-benchmark/fio/fio/0001-io_uring-Replace-pthread_self-with-s-tid.patch diff --git a/meta-oe/recipes-benchmark/fio/fio/0001-io_uring-Replace-pthread_self-with-s-tid.patch b/meta-oe/recipes-benchmark/fio/fio/0001-io_uring-Replace-pthread_self-with-s-tid.patch new file mode 100644 index 0000000000..766b1fe274 --- /dev/null +++ b/meta-oe/recipes-benchmark/fio/fio/0001-io_uring-Replace-pthread_self-with-s-tid.patch @@ -0,0 +1,45 @@ +From 269164337e0168b93661bb95c6a4e462ae6d8b61 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 24 Aug 2022 18:08:53 -0700 +Subject: [PATCH] io_uring: Replace pthread_self with s->tid + +__init_rand64 takes 64bit value and srand48 takes unsigned 32bit value, +pthread_t is opaque type and some libcs ( e.g. musl ) do not define them +in plain old data types and ends up with errors + +| t/io_uring.c:809:32: error: incompatible pointer to integer conversion passing 'pthread_t' (aka 'struct __pthread *') to parameter of type 'uint64_t' (aka 'unsigned long') [-Wint-conver +sion] +| __init_rand64(&s->rand_state, pthread_self()); +| ^~~~~~~~~~~~~~ + +Upstream-Status: Submitted [https://github.com/axboe/fio/pull/1455] +Signed-off-by: Khem Raj +--- + t/io_uring.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/t/io_uring.c b/t/io_uring.c +index 35bf1956..f34a3554 100644 +--- a/t/io_uring.c ++++ b/t/io_uring.c +@@ -799,15 +799,14 @@ static int submitter_init(struct submitter *s) + int i, nr_batch, err; + static int init_printed; + char buf[80]; +- + s->tid = gettid(); + printf("submitter=%d, tid=%d, file=%s, node=%d\n", s->index, s->tid, + s->filename, s->numa_node); + + set_affinity(s); + +- __init_rand64(&s->rand_state, pthread_self()); +- srand48(pthread_self()); ++ __init_rand64(&s->rand_state, s->tid); ++ srand48(s->tid); + + for (i = 0; i < MAX_FDS; i++) + s->files[i].fileno = i; +-- +2.37.2 + diff --git a/meta-oe/recipes-benchmark/fio/fio_3.31.bb b/meta-oe/recipes-benchmark/fio/fio_3.31.bb index d655d6c98f..f8d63014ae 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.31.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.31.bb @@ -24,7 +24,8 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl" SRCREV = "6cafe8445fd1e04e5f7d67bbc73029a538d1b253" SRC_URI = "git://git.kernel.dk/fio.git;branch=master \ -" + file://0001-io_uring-Replace-pthread_self-with-s-tid.patch \ + " S = "${WORKDIR}/git" From patchwork Fri Aug 26 06:11:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11923 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 24493ECAADF for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web11.34040.1661494314793338692 for ; Thu, 25 Aug 2022 23:11:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=K6Wusr1l; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id p185so636182pfb.13 for ; Thu, 25 Aug 2022 23:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=DMbLyD6y47HEeNVo5VSSXohA5efGd0s1/OTahBV96YQ=; b=K6Wusr1lOYGAUYQ9aGIKQsCq/xELP6maPJr784ZIG5UMzR2egZ7pWVRrCMHWjBGXXW HNSBMAGqhXEffEN+6VO9prVrm5zk/H6xvu5GzoaB4iLhfyG9E7MqR51JnlJVoFCGmT+C bF1IWtG01rmWQ4Z1NbRqzfP0AjyjAotAy6gNywFZNy9jSwXu8waXM0Et4cjb1bkQ7eNI KpdfSzb/hoeZABsDiYsAjglPvReQqmRZ1wGGMQEwOrLsiQi8R3NkCnP7J/zmDnnYsBDg LJxAqsc736b0T9FQN1jAFXhhcIXYmjJ4kyoL869Hf8OEGiP2FXd0PSCOp0vd0FsoVqPA ZnUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=DMbLyD6y47HEeNVo5VSSXohA5efGd0s1/OTahBV96YQ=; b=RcTFh+U3iKGFk5te/T258uRzLMQhjYc3TSKA4xlj7mMaH07jruQcSV7GlQs1fyA1zZ Ckx/h3AkLLU1dnVSaz+ROBHW3FDKJaic9hfNQViQ5gz5bH4k+Cmc92CgqmExWnMs4GKb db4BheIohRgjLxJGKO2jba2X7rKatOkb3jN0n7OQb/x9GsJwmvP3rkZAdfyiafDnxM98 eUhY8Xi6fRgPV2ogtJ9M0I9VFHja88Syya6TSb6sWBCr7GmujtSJI6cRWAQm/xfWW+Cg pv98DjwcvHPNabTGFSOnZWAmE5oC9Ff4fzCL9p+OdLk24GoEKDYW9ker0zsNxvhcTAJ9 H4Ww== X-Gm-Message-State: ACgBeo1Ol7X5e8Yc1lb8qoGkr80mmKbpJFoSg6/lAr3RYtTYDv9bY6o9 046S3G0fXX7lnNW1SdIWSwwurAxTIdyrTg== X-Google-Smtp-Source: AA6agR7laVXI0cB2EgUicWhIdBMUdrG1WBxRerTQ/agwUEbPr9TYqnJWBxdclrnVvrc2n+cd5q069g== X-Received: by 2002:a05:6a00:1a:b0:536:d522:dbf1 with SMTP id h26-20020a056a00001a00b00536d522dbf1mr2429310pfk.42.1661494313937; Thu, 25 Aug 2022 23:11:53 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:53 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 2/9] ssmtp: Fix null pointer assignments Date: Thu, 25 Aug 2022 23:11:43 -0700 Message-Id: <20220826061150.3030485-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98465 Signed-off-by: Khem Raj --- ...e-null-pointer-assignment-to-char-po.patch | 51 +++++++++++++++++++ .../recipes-support/ssmtp/ssmtp_2.64.bb | 3 +- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch diff --git a/meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch b/meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch new file mode 100644 index 0000000000..c7468fe17f --- /dev/null +++ b/meta-networking/recipes-support/ssmtp/ssmtp/0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch @@ -0,0 +1,51 @@ +From 58cfb4f86b7fbf19eb643dfba87fdd890b3d4a4a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 24 Aug 2022 19:27:31 -0700 +Subject: [PATCH] ssmtp: Correct the null pointer assignment to char pointers + +Fixes +error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'char' [-Wint-conversion] +| char *from = (char)NULL; /* Use this as the From: address */ + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + ssmtp.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/ssmtp.c b/ssmtp.c +index a74ba4e..0a719ac 100644 +--- a/ssmtp.c ++++ b/ssmtp.c +@@ -55,21 +55,21 @@ bool_t use_oldauth = False; /* use old AUTH LOGIN username style */ + + #define ARPADATE_LENGTH 32 /* Current date in RFC format */ + char arpadate[ARPADATE_LENGTH]; +-char *auth_user = (char)NULL; +-char *auth_pass = (char)NULL; +-char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */ +-char *mail_domain = (char)NULL; +-char *from = (char)NULL; /* Use this as the From: address */ ++char *auth_user = NULL; ++char *auth_pass = NULL; ++char *auth_method = NULL; /* Mechanism for SMTP authentication */ ++char *mail_domain = NULL; ++char *from = NULL; /* Use this as the From: address */ + char *hostname; + char *mailhost = "mailhub"; +-char *minus_f = (char)NULL; +-char *minus_F = (char)NULL; ++char *minus_f = NULL; ++char *minus_F = NULL; + char *gecos; +-char *prog = (char)NULL; ++char *prog = NULL; + char *root = NULL; + char *tls_cert = "/etc/ssl/certs/ssmtp.pem"; /* Default Certificate */ +-char *uad = (char)NULL; +-char *config_file = (char)NULL; /* alternate configuration file */ ++char *uad = NULL; ++char *config_file = NULL; /* alternate configuration file */ + + headers_t headers, *ht; + diff --git a/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb b/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb index b0e921d423..05d2bb18ff 100644 --- a/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb +++ b/meta-networking/recipes-support/ssmtp/ssmtp_2.64.bb @@ -7,7 +7,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.bz2 \ file://ssmtp-bug584162-fix.patch \ file://build-ouside_srcdir.patch \ file://use-DESTDIR.patch \ -" + file://0001-ssmtp-Correct-the-null-pointer-assignment-to-char-po.patch \ + " SRC_URI[md5sum] = "65b4e0df4934a6cd08c506cabcbe584f" SRC_URI[sha256sum] = "22c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36" From patchwork Fri Aug 26 06:11:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11922 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 230B1ECAADE for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.web10.33948.1661494315725500757 for ; Thu, 25 Aug 2022 23:11:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qke5wziI; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id e19so720546pju.1 for ; Thu, 25 Aug 2022 23:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=tYRKCpBRnRA5l3MmLO7u0Sus+tWrFc1ehPyk+RHtfaw=; b=qke5wziIsTHB7K2ollnCASnRuOFsGDCeRQiGuRdeWY4fdhheGp9Swch5IJE18Bkz2g +/6pH6/cZZDsjX/lvtrl9bhLfEQ2YXPrBdFF1rovwKyT1pxgvOER3TR2PdWr9A7Xel2k laLP1euAjAmpw5ImZ8nlPVAJQ9nUc8B5AyUNF/sbHuNaKW/wxBMvoBfGnwRyl35dZ+Ku PRtSOyXEP8Xs5i09D9N81LyRIfv9bwGTBQVZAUhNUskWq9V0MyVYF30JRltEeQIa87G2 v7+5/BFk87E74L6fGyAmEeSNfnmz64ja6I7g8XfjOqr+4ab0sVyZDSDnvZVkCLEvOfhP Pvrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=tYRKCpBRnRA5l3MmLO7u0Sus+tWrFc1ehPyk+RHtfaw=; b=SjQqdLboESwIi1r2HGiYiUb41+cpGAB6seEh1tNKWaCvPhxxFElrW3Kqb3sjMwtZly H39U1WETh/rmaDnOrpo8+aLQzw/L3jpihTOuB1xYnHhzJYTZnPcys1l2m4Dvc57LidWG EW1TgBjiu3Ou0Dbc3gwK0KTQbqUa0B/WxzvbH9FvwO0mBTGEBsyiylgIH9dois+IXJlQ 70GT/9wv8ioDkhqbhV5A3PJqgLIv31PG8ZrOJ/9boAhasphUhJwgdKC5fLJamqcvmhmW UsMAYOoGQt0nlTPVJzp8aHaq6XhCMqLES3aRasMdlWFNxn8ACLkl16nWGMS7zYwQA+Dp ObiQ== X-Gm-Message-State: ACgBeo3pjTHSp7QycLn3PRd5WZ6TCIkuWTt/R5ERu74WIEoKsOBTosOr GH7igHJ7X2T7QfElretVc6FOnVnO+Cqvqg== X-Google-Smtp-Source: AA6agR4j6HGWtS7A7AfnFNoEhm2xPMycpBoeH6aMtrurXEPx9cl3lImsB24DoKKUF+GY+oecYJSavA== X-Received: by 2002:a17:90b:3b8a:b0:1f5:1df2:1fff with SMTP id pc10-20020a17090b3b8a00b001f51df21fffmr2705798pjb.169.1661494314938; Thu, 25 Aug 2022 23:11:54 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:54 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/9] gst-editing-services: Add recipe Date: Thu, 25 Aug 2022 23:11:44 -0700 Message-Id: <20220826061150.3030485-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98466 Signed-off-by: Khem Raj --- .../gst-editing-services_1.20.3.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-devtools/gst-editing-services/gst-editing-services_1.20.3.bb diff --git a/meta-oe/recipes-devtools/gst-editing-services/gst-editing-services_1.20.3.bb b/meta-oe/recipes-devtools/gst-editing-services/gst-editing-services_1.20.3.bb new file mode 100644 index 0000000000..d14869b06b --- /dev/null +++ b/meta-oe/recipes-devtools/gst-editing-services/gst-editing-services_1.20.3.bb @@ -0,0 +1,26 @@ +# Copyright (C) 2022 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Gstreamer editing services" +HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-editing-services/" + +LICENSE = "GPL-2.0-on-later & LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ + file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d" + +DEPENDS = "flex-native gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad python3-pygobject" + +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" +GIR_MESON_OPTION = "" + +inherit meson pkgconfig upstream-version-is-even gobject-introspection features_check bash-completion + +EXTRA_OEMESON = "-Dvalidate=disabled" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-${PV}.tar.xz" +SRC_URI[sha256sum] = "5fd896de69fbe24421eb6b0ff8d2f8b4c3cba3f3025ceacd302172f39a8abaa2" + +PACKAGES += "gst-validate-launcher libges" + +FILES:gst-validate-launcher = "${nonarch_libdir}/gst-validate-launcher ${datadir}/gstreamer-1.0/validate" +FILES:libges = "${libdir}/gstreamer-1.0/*.so" From patchwork Fri Aug 26 06:11:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11921 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 21CEFECAADD for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web08.34201.1661494316759564892 for ; Thu, 25 Aug 2022 23:11:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=E4hyrBeY; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id r22so540290pgm.5 for ; Thu, 25 Aug 2022 23:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=YAMCGheDSkgYERclr56aW5GAA4eZQnqqtgwozHK1AcU=; b=E4hyrBeYmv5EcX6iEz/F4CrChLRzPp7mlKHQwk9+uG5xXGqjb3Qnua9dfEiOy+9GPo At49aXKyuTVPcNw+cVSE0Gu/5SF/9f0VU3OzDaUlrGKOeIDa9ZQ87/P31LD+ERSAw1bt uNR7z2uARipHufUCQn0PqYfMEh7G9yhdk4MxhJcwIlJlTQcAHCOoJo9vJaIQmAp1Nn9k tpVG34n/Jr8j8frEgZpATw3KSwtBjaDUE+6ePJp0dIZj3pltiKMFKcP5l8mpIEwLDtsJ 26j/NCAtErF8YaaIogcMRGlFyXbceAsniRBOl8c884AnyDGoZnBtCqysuR2vk6tW7B8N nenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=YAMCGheDSkgYERclr56aW5GAA4eZQnqqtgwozHK1AcU=; b=oIPTeS4UXqU1/crQhswm4qjjLDRNB3oDKhOLPIPg2UavfHSJ9MoVLnzRVDhRT54fRA T9sczEmen/eAq6Z4c9dVUeJ2sBhSYUOoGa6j5w4o5yXcsNtDn638UkmVRxqnJzkQbpb6 W5dMu+He5IRTA4hYdj8KwRk3TNe9Wi32FTTCfV6/yZkMq+xWa4czigqbASdRqwmtgs+1 XC02D4LVDgGNjApeKlgor9hflxRK1n1NO5VhBgQHcYEeCrA+JpPCGrSE4uLAVETkTb6X +vQPLyiMZFpwV9b0t4UE6PMRnWXleSqNcVbnJbncr/u2LcSYJpjBX1Bak6owvSrYr47+ et6w== X-Gm-Message-State: ACgBeo01kBD9XmSyvZJmGg4ZV4SZV/565A8T3Wby11yKRXrJ7hup6zdd UUjPjeQjff/lbv5RaLLJTL70ELN4Dpht6g== X-Google-Smtp-Source: AA6agR4DlIaYBYWuYZbw9iQd2HpHVRRHoOHONUvKK4DJ4Vb3IDaRPOeAmj79FxxJCBrw4rJsmscpiQ== X-Received: by 2002:a63:1857:0:b0:41c:4217:426e with SMTP id 23-20020a631857000000b0041c4217426emr2061717pgy.285.1661494315896; Thu, 25 Aug 2022 23:11:55 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:55 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 4/9] rygel: Upgrade to 0.40.4 Date: Thu, 25 Aug 2022 23:11:45 -0700 Message-Id: <20220826061150.3030485-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98467 Switch to meson build system Fix build with clang Signed-off-by: Khem Raj --- .../{rygel_0.38.3.bb => rygel_0.40.4.bb} | 49 +++++++++++++------ 1 file changed, 35 insertions(+), 14 deletions(-) rename meta-multimedia/recipes-connectivity/rygel/{rygel_0.38.3.bb => rygel_0.40.4.bb} (60%) diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.40.4.bb similarity index 60% rename from meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb rename to meta-multimedia/recipes-connectivity/rygel/rygel_0.40.4.bb index ec7824b60d..8bc8767d8f 100644 --- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.40.4.bb @@ -8,34 +8,55 @@ HOMEPAGE = "http://live.gnome.org/Rygel" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -DEPENDS = "libxml2 glib-2.0 gssdp gupnp gupnp-av gupnp-dlna gstreamer1.0 gstreamer1.0-plugins-base libgee libsoup-2.4 libmediaart-2.0 libunistring sqlite3 intltool-native" +DEPENDS = "libxml2 glib-2.0 gssdp gupnp gupnp-av gupnp-dlna gstreamer1.0 \ + gstreamer1.0-plugins-base libgee libsoup-2.4 libmediaart-2.0 \ + libunistring sqlite3 intltool-native gst-editing-services" + RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback shared-mime-info" RRECOMMENDS:${PN} = "rygel-plugin-media-export" -inherit gnomebase vala gobject-introspection gettext systemd features_check +inherit gnomebase features_check vala gobject-introspection gettext systemd meson # gobject-introspection is mandatory for libmediaart-2.0 and cannot be configured REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" -SRC_URI[archive.md5sum] = "7f95401903a3f855b464d5152b9d4c07" -SRC_URI[archive.sha256sum] = "08c21a577f7bdad26446a75ffa32778b26842c3b1188165f0b19818559747d00" - -EXTRA_OECONF = "--disable-tracker-plugin --with-media-engine=gstreamer" +SRC_URI[archive.sha256sum] = "736d8adbe8615f6cbc8fcfff9845dc985fd10e16629da236b4b52dbedf0a348b" -PACKAGECONFIG ?= "external mpris ruih media-export gst-launch" +GNOMEBASEBUILDCLASS = "meson" +GIR_MESON_ENABLE_FLAG = 'enabled' +GIR_MESON_DISABLE_FLAG = 'disabled' +EXTRA_OEMESON = "-Dengines=gstreamer -Dplugins=${@strip_comma('${RYGEL_PLUGINS}')}" PACKAGECONFIG:append = "${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk+3", "", d)}" -PACKAGECONFIG[external] = "--enable-external-plugin,--disable-external-plugin" -PACKAGECONFIG[mpris] = "--enable-mpris-plugin,--disable-mpris-plugin" -PACKAGECONFIG[ruih] = "--enable-ruih-plugin,--disable-ruih-plugin" -PACKAGECONFIG[media-export] = "--enable-media-export-plugin,--disable-media-export-plugin" -PACKAGECONFIG[gst-launch] = "--enable-gst-launch-plugin,--disable-gst-launch-plugin" -PACKAGECONFIG[gtk+3] = ",--without-ui,gtk+3" -PACKAGECONFIG[lms] = "--enable-lms-plugin,--disable-lms-plugin" +PACKAGECONFIG ?= "external mpris ruih media-export gst-launch" + +PACKAGECONFIG[external] = "" +PACKAGECONFIG[mpris] = "" +PACKAGECONFIG[ruih] = "" +PACKAGECONFIG[media-export] = "" +PACKAGECONFIG[gst-launch] = "" +PACKAGECONFIG[lms] = "" +PACKAGECONFIG[tracker3] = "" +PACKAGECONFIG[gtk+3] = ",-Dgtk=false,gtk+3" + +RYGEL_PLUGINS = "" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'external', ',external', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'mpris', ',mpris', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'ruih', ',ruih', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'gst-launch', ',gst-launch', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'lms', ',lms', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'media-export', ',media-export', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'tracker3', ',tracker3', '', d)}" +RYGEL_PLUGINS:append ="${@bb.utils.contains('PACKAGECONFIG', 'playbin', ',playbin', '', d)}" LIBV = "2.6" +CFLAGS:append:toolchain-clang = " -Wno-error=int-conversion" + +def strip_comma(s): + return s.strip(',') + do_install:append() { # Remove .la files for loadable modules rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la From patchwork Fri Aug 26 06:11:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11919 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 0FF61ECAAD8 for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mx.groups.io with SMTP id smtpd.web12.33783.1661494317731785312 for ; Thu, 25 Aug 2022 23:11:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RppaiUux; spf=pass (domain: gmail.com, ip: 209.85.216.41, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f41.google.com with SMTP id x14-20020a17090a8a8e00b001fb61a71d99so7140917pjn.2 for ; Thu, 25 Aug 2022 23:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=Hs6awJQag4vmY7WRWTkw9Ghv29dAmpd5ufLYdnhs5wA=; b=RppaiUuxFrTIBxDvJTdRv5PEzZFcNOLYT5iWr+tXJuzWXeImRr/waERUJaluj7fLin I0a0vgS5gG81hSNRlf7NAhFeAlajS6zodtDLtephntUPjunqku5ax3p1vtZvLoKcD6XT +H6VGkrdVz4avP13UAIlaQcQHh9IWpIffQRJ5H/O/8blVhLSCBp7z9ydUBat/KhYY+2Q hBTEn9VGNmURcjdH2zBIu8ScEYrY8+wdUDd44eDL4y745HbvZkzzTbVNvFGnoxlmyH8u RN/Y1iWT2u2edxWHDxDGm8TT9ojKqABXVYPCd4egu5kQH4TEjRi3kEPqVbtcUEKO9KyC vzUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Hs6awJQag4vmY7WRWTkw9Ghv29dAmpd5ufLYdnhs5wA=; b=VftM7B9IfHu+ia/vw1WInaieEr6drUpH2oPA/F/IhyXT0Y0Z/EzVjOAKBKfe7X67Gc hg92h9v7kgyrSVgNgHJP/0mWFEIaw9cR2LgQmSb/zUiCS0mWfCo6uQLFdU8UuC7mYxUi oysK3HizPM5Glx0l/M+NekRP2VaEyiw5yJyD117SLXNB1y4GoNwxdXMR4pBDF1OkO/F6 VzVrJhtq1qmPqGGLDDBJ2/GplsgdG/SrK1SyF4f2dYFth3GkFbExmsi2+NbtErCG48lc +hOj9gC/iYQXegDNiCpbC7s4Mb3RbGYc7h7nja6d4UORP+bsdDECI3wOCYqkrA8Of/iR wShQ== X-Gm-Message-State: ACgBeo0MNQXYF9z8lYsnngp5cGqYi5NL3DL2X5WwrFAisopxXs2Gnj0R moQOhyLmgdvjJkqw9NFR6PnKfyTwgLvJ1g== X-Google-Smtp-Source: AA6agR6fMg+gCCvH0yWlsfVycnJ0XyPXuBpvr6B/DQ7XrZ/unk22EWwMtVJBoCenBOmQs4FoLfMTcw== X-Received: by 2002:a17:90b:3b41:b0:1fb:5376:fb06 with SMTP id ot1-20020a17090b3b4100b001fb5376fb06mr2697422pjb.240.1661494316919; Thu, 25 Aug 2022 23:11:56 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:56 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 5/9] libesmtp: Define _GNU_SOURCE Date: Thu, 25 Aug 2022 23:11:46 -0700 Message-Id: <20220826061150.3030485-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98468 Needed for strlcpy Signed-off-by: Khem Raj --- meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb b/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb index bf1a12d48f..164c8c2612 100644 --- a/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb +++ b/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb @@ -30,5 +30,7 @@ EXTRA_OEMESON = " \ -Dntlm=disabled \ " +CFLAGS += "-D_GNU_SOURCE" + FILES:${PN} = "${libdir}/lib*${SOLIBS} \ ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}" From patchwork Fri Aug 26 06:11:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11917 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 14A85ECAADA for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web10.33949.1661494318783039706 for ; Thu, 25 Aug 2022 23:11:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gMRRiiNk; spf=pass (domain: gmail.com, ip: 209.85.216.46, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id m10-20020a17090a730a00b001fa986fd8eeso7157725pjk.0 for ; Thu, 25 Aug 2022 23:11:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=4slpqxTNSCHoRy1tiM4ccbO+N2/wsmVkZ+KZyRTD6Fk=; b=gMRRiiNktFYMlbquS6deXENYFGHH5lL9SOoXBN7cBdsA8nkKnqnACYW8NHEZG/+d4Q ZIyJe3mtwuivM58rDp+ny0iOqNBZ0bBr0h1uKhdi+mK92pjlDGU2tNCsaHJ2nwfjrAP2 pTxEhbc/WnN3fjStVXE9dWK8cuEn67BLQIMhC2VL9ZnlHxnFhD+4ZsNKtBLokFnkH7vv 0+qT3J5DhES5TKrQke2pkgXQb20OJ48cypQIzrjg4dS09aUyq4x2k7FjUgD0fpN1kPwg aYWPppzE73G5HzG7MY2KRiSTADT0zDs7+59qMovMBNoCbP+I8THK4j1VnG48OOCXdsLU sXZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=4slpqxTNSCHoRy1tiM4ccbO+N2/wsmVkZ+KZyRTD6Fk=; b=f4BujG+Goo5cmAthuNGXXQjLn7b37+oT/yUJ4ci97Tp4npyo2L6iC+O+0yDQe4UQY5 3hraSkWcpTbq8t0+StslaKiih0SjhneQ9AufGIhBf9ygq7msq23bKCdU+occTjvNO5RR G8jhVbp9ooRZQgav4BXSewDL+5OmtSHUPqmTuQ8t0t2ThJTIlQHUuaqzGW4xra1hlPot 1xDwE0ZpaRrICrK+1zW5cAwU1pVMIRYTNEXfFd0081h5wJ9g2SA1/OEsqpcC6zRxGDUL 8KSDmNMTslLZsDCVbZL+zLCGFAvUwhuAAB6IgNvwnL5kC1Pq7MXIMvt2xN5B/sNfvKLb 3KLw== X-Gm-Message-State: ACgBeo05rQNJE9eKC3N1PR87yPCuPPD5qn2XJ9Mecq+Vf1mfjNqMxjkW i+/gtTAGI/L2UtS9cVMGdIA1Lk/JfhmTJA== X-Google-Smtp-Source: AA6agR7qXf4jJrwrUxfTFOutsrh5+vPCzZSrrXTOtUgwAgJhMLSOEth7gRAVZRB2IDXuM5imJTwpCA== X-Received: by 2002:a17:90b:3b4f:b0:1fb:5b03:6822 with SMTP id ot15-20020a17090b3b4f00b001fb5b036822mr2763504pjb.87.1661494318034; Thu, 25 Aug 2022 23:11:58 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:57 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 6/9] python3-grpcio: Enable largefile support explicitly Date: Thu, 25 Aug 2022 23:11:47 -0700 Message-Id: <20220826061150.3030485-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98469 This ensures that third party packages like zlib can get this in CFLAGS Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb index 24c6e53447..0950114b02 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb @@ -23,6 +23,8 @@ RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \ inherit setuptools3 inherit pypi +CFLAGS += "-D_LARGEFILE64_SOURCE" + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" BORING_SSL_PLATFORM:arm = "linux-arm" From patchwork Fri Aug 26 06:11:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11920 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 14AC7ECAADC for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.web11.34042.1661494320063452625 for ; Thu, 25 Aug 2022 23:12:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PD2yQFry; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id v4so524655pgi.10 for ; Thu, 25 Aug 2022 23:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=xwXWRhurZNbnG8tSk7Po6D7leXYhvkY5xiBcO4J+w5Y=; b=PD2yQFryBVRIc67i7HE28dGdEmjXWpoPTlhuGzBVSUjVDCyPWYN/SbPI0LVFlTF80S 8qKHvQOKOxu5qc68xlTL7tZMwsxffj1EbrHQ+fN4ORrulQc1xnLtLHFhpI3UwgEAtVhP 9zI2jE9CK3BpGJDC0u7NOw+/hSWSI1bT//d4JqipPaxztonP1G1xinOu2sghYEcwtOy9 EJENWGMdn8eYaBx72MkVR85CURd3WwVMdQcK5eWn+Recu7M4+1Qk9cY1MwIYKa2niUoS OLpxj4f6aiSkc/qoWtUyltTQ30cZi5XVAD/Jh/XId4suYfR3qPRC3uSr6TUE49m0Cbzj jvVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=xwXWRhurZNbnG8tSk7Po6D7leXYhvkY5xiBcO4J+w5Y=; b=JW9bu/r6AEKewA0MSSZ3h4oSACKSRfOhGuwG3VIgHKXA2WJWKjTjLkMN/kavEi4axq lAEoj5ll+TVupOV1FjHNY1C5yNQvirODs99J9qvKbxEPwdfYyGFAq1XFQCrd3avEDuG0 3XGwhcEfgfEUzDCK33m/jR8SXUUooaJM+j4YQ6iVhCo4TzOHTOm68fMv5dYXYUuNbD6M hVp+amr8jIoOenvt7oiaAGUtZ/n1MSLMEQWvZvQEk6zN0zp3uL8zwRceoXAHJOtLvoze ygusyhlsO88I3M27n/Zz+f3bIHXYvSKFDIyRz+uLfbFNgDWqbWIn9XoCiuMvgfejRPHx AsNA== X-Gm-Message-State: ACgBeo0cjCZ80BQ3swtyPTm8FbUVnBC28inse1n11Q7/0L2GNY74sb9Z Vs1bGSuP87a4lVnN4vbA2Q+92VzCewUlbA== X-Google-Smtp-Source: AA6agR4pLs49yOfhxZBIMRHwyhxPe+0111i+raT1FkUnZQxJhUF0Fg4zikIbPJs/OAO6weAuUT+ckw== X-Received: by 2002:a63:91ca:0:b0:42b:4847:90dd with SMTP id l193-20020a6391ca000000b0042b484790ddmr2037375pge.28.1661494319237; Thu, 25 Aug 2022 23:11:59 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:58 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 7/9] libteam: Include missing headers for strrchr and memcmp Date: Thu, 25 Aug 2022 23:11:48 -0700 Message-Id: <20220826061150.3030485-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98470 Signed-off-by: Khem Raj --- ...ssing-headers-for-strrchr-and-memcmp.patch | 46 +++++++++++++++++++ .../recipes-support/libteam/libteam_1.31.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-support/libteam/libteam/0001-teamd-Include-missing-headers-for-strrchr-and-memcmp.patch diff --git a/meta-oe/recipes-support/libteam/libteam/0001-teamd-Include-missing-headers-for-strrchr-and-memcmp.patch b/meta-oe/recipes-support/libteam/libteam/0001-teamd-Include-missing-headers-for-strrchr-and-memcmp.patch new file mode 100644 index 0000000000..5f8e56177e --- /dev/null +++ b/meta-oe/recipes-support/libteam/libteam/0001-teamd-Include-missing-headers-for-strrchr-and-memcmp.patch @@ -0,0 +1,46 @@ +From 49693cac37ee35ff673240c8060201efe0d999c2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 24 Aug 2022 22:27:03 -0700 +Subject: [PATCH] teamd: Include missing headers for strrchr and memcmp + +Compiler does not see the prototype for these functions otherwise and +build fails e.g. + +| ../../git/teamd/teamd_phys_port_check.c:52:10: error: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +| start = strrchr(link, '/'); +| ^ + +Upstream-Status: Submitted [https://github.com/jpirko/libteam/pull/68] +Signed-off-by: Khem Raj +--- + teamd/teamd_phys_port_check.c | 1 + + teamd/teamd_runner_loadbalance.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/teamd/teamd_phys_port_check.c b/teamd/teamd_phys_port_check.c +index 1eec129..c2454ab 100644 +--- a/teamd/teamd_phys_port_check.c ++++ b/teamd/teamd_phys_port_check.c +@@ -19,6 +19,7 @@ + + #include + #include ++#include + #include + #include + #include +diff --git a/teamd/teamd_runner_loadbalance.c b/teamd/teamd_runner_loadbalance.c +index a581472..421a7c6 100644 +--- a/teamd/teamd_runner_loadbalance.c ++++ b/teamd/teamd_runner_loadbalance.c +@@ -17,6 +17,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include + #include + #include +-- +2.37.2 + diff --git a/meta-oe/recipes-support/libteam/libteam_1.31.bb b/meta-oe/recipes-support/libteam/libteam_1.31.bb index ad84389013..023cea9039 100644 --- a/meta-oe/recipes-support/libteam/libteam_1.31.bb +++ b/meta-oe/recipes-support/libteam/libteam_1.31.bb @@ -13,6 +13,7 @@ SRC_URI = "git://github.com/jpirko/libteam;branch=master;protocol=https \ file://0001-team_basic_test.py-disable-RedHat-specific-test.patch \ file://0001-team_basic_test.py-switch-to-python3.patch \ file://0001-team_basic_test.py-check-the-return-value.patch \ + file://0001-teamd-Include-missing-headers-for-strrchr-and-memcmp.patch \ file://run-ptest \ " SRCREV = "3ee12c6d569977cf1cd30d0da77807a07aa77158" From patchwork Fri Aug 26 06:11:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11918 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 0618AECAAD9 for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mx.groups.io with SMTP id smtpd.web09.34050.1661494321152797697 for ; Thu, 25 Aug 2022 23:12:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qf3O7kWa; spf=pass (domain: gmail.com, ip: 209.85.216.50, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f50.google.com with SMTP id i8-20020a17090a65c800b001fd602afda2so745174pjs.4 for ; Thu, 25 Aug 2022 23:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=NV90nA06kbmPk3PQ0zp0cFRBh0wyKxUQG/8VAdqqfVo=; b=Qf3O7kWaDYv3SBZMxMCDRPCpOu95XkA6PjQ8/2tT3cZ/w5pmi+ClCUcFyOGxTo6O7H lj8L6nbctBk3rLdKa+RxFZ4iktMBqDrpSEV4qD0n8pmmIhjVfEVTEGGHw6aF+i+Z4O9X ZLcPGs9k9DhswR6nQs7+wHDX8nGGXVEw7wVgRLA24T1u+QoeBXk5r4mcGRHp4t8jyQlR yMfWvfKqk7Lo9JOyz+HL3MeEQDoPhzDl3fokbGYgkGesZ3Kyx51dc06n1dst6fJJbMXU YJ4c2/H2JX+VITFOJHhXDCmjLfBWOdk3UxtmgaM1an33/jRfyA2OL5gw2VhP0M9L7n0X Y6Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=NV90nA06kbmPk3PQ0zp0cFRBh0wyKxUQG/8VAdqqfVo=; b=AT2+AldgK5+a46UDLpHSfW/Spue+Dlx97h9LaB3B+xhUin8g0BpCKAE8WC0e7LbC9F uz86n1N32cRo3W0kDIwmyqbUHMpHRZXIo6PgDQ4dEOQX3/RPBuVVa2A70OXKYDPchGux EEYYJMD2GMfBVRzGdTlQYUbkI6YH8OMURas25o7F8eBJK+cyZ+RBmgzNMaEjoRd8dacI UD4SlY0q1szmexr4GV0EItZlqOvYq7blSYa4nVa76ZcodN7hMYa8Srn/S231VmGRN3En x4aPynr3PrQo7Sn/IBe7oi+t83NeGAnDrTaHpkn0OTfQOjaZiHEwBArrzzl1hFI0HkOj 1q0A== X-Gm-Message-State: ACgBeo1/1roJy31Wu/WXTUtjhtL7LWmPQO9abZHeCnCU+so9wNCRvMG1 Xg6z2pE8t3lZR49DUtT5Zud9GKl8vHP6Bg== X-Google-Smtp-Source: AA6agR7ePnPYarJ+VTZ/5tgIAfP8qUXePGmDm1lTiTj2w9CMwYrCnw2hQSBzPLlQaB5171KFBZMZzg== X-Received: by 2002:a17:90a:4986:b0:1fd:64a9:c95f with SMTP id d6-20020a17090a498600b001fd64a9c95fmr960658pjh.159.1661494320320; Thu, 25 Aug 2022 23:12:00 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:11:59 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 8/9] neon: Upgrade to 0.32.2 Date: Thu, 25 Aug 2022 23:11:49 -0700 Message-Id: <20220826061150.3030485-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98471 Drop libxml2-config patch, its not needed anymore Do not install documentation, it does not cross build Signed-off-by: Khem Raj --- ...001-Disable-installing-documentation.patch | 28 +++++++++++ .../neon/fix-package-check-for-libxml2.patch | 50 ------------------- .../neon/{neon_0.30.2.bb => neon_0.32.2.bb} | 29 +++++++---- 3 files changed, 48 insertions(+), 59 deletions(-) create mode 100644 meta-oe/recipes-support/neon/neon/0001-Disable-installing-documentation.patch delete mode 100644 meta-oe/recipes-support/neon/neon/fix-package-check-for-libxml2.patch rename meta-oe/recipes-support/neon/{neon_0.30.2.bb => neon_0.32.2.bb} (63%) diff --git a/meta-oe/recipes-support/neon/neon/0001-Disable-installing-documentation.patch b/meta-oe/recipes-support/neon/neon/0001-Disable-installing-documentation.patch new file mode 100644 index 0000000000..1f63df27ac --- /dev/null +++ b/meta-oe/recipes-support/neon/neon/0001-Disable-installing-documentation.patch @@ -0,0 +1,28 @@ +From f477408f1c24ce6e5589e5a99d369279916c7c6e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 24 Aug 2022 13:11:12 -0700 +Subject: [PATCH] Disable installing documentation + +It does not build + +Signed-off-by: Khem Raj +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index ed87a69..c32405c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -125,7 +125,7 @@ Makefile: $(srcdir)/Makefile.in + neon-config: $(srcdir)/neon-config.in + @./config.status neon-config + +-install-docs: install-man install-html ++install-docs: + + install-html: + $(INSTALL) -d $(DESTDIR)$(docdir)/html +-- +2.37.2 + diff --git a/meta-oe/recipes-support/neon/neon/fix-package-check-for-libxml2.patch b/meta-oe/recipes-support/neon/neon/fix-package-check-for-libxml2.patch deleted file mode 100644 index 92a05c0ef9..0000000000 --- a/meta-oe/recipes-support/neon/neon/fix-package-check-for-libxml2.patch +++ /dev/null @@ -1,50 +0,0 @@ -neon: Change the neon configure to use pkg-config instead of xml2-config - -xml2-config is broken for neon -if packageconfig libxml2, webdav, zlib is enabled for neon -we get the following configure error in the yocto build - -| configure: WebDAV support is enabled -| checking for xml2-config... xml2-config -| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config -| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config -| ERROR: /usr/bin/xml2-config should not be used, use an alternative such as pkg-config -| checking libxml/xmlversion.h usability... no -| checking libxml/xmlversion.h presence... no -| checking for libxml/xmlversion.h... no -| configure: error: could not find parser.h, libxml installation problem? -| WARNING: exit code 1 from a shell command. - -The patch lets configure use pkg-config - -Upstream-Status: inappropriate -(Upstream suggests to use latest 0.31 as per the discussion -https://github.com/notroj/neon/discussions/47) - -Signed-off-by: Nisha Parrakat ---- a/macros/neon-xml-parser.m4 2008-07-19 23:52:35.000000000 +0200 -+++ b/macros/neon-xml-parser.m4 2021-02-15 23:56:59.202751257 +0100 -@@ -44,17 +44,17 @@ - - dnl Find libxml2: run $1 if found, else $2 - AC_DEFUN([NE_XML_LIBXML2], [ --AC_CHECK_PROG(XML2_CONFIG, xml2-config, xml2-config) -+AC_CHECK_PROG(XML2_CONFIG, pkg-config, pkg-config) - if test -n "$XML2_CONFIG"; then -- neon_xml_parser_message="libxml `$XML2_CONFIG --version`" - AC_DEFINE(HAVE_LIBXML, 1, [Define if you have libxml]) -- # xml2-config in some versions erroneously includes -I/include -- # in the --cflags output. -- CPPFLAGS="$CPPFLAGS `$XML2_CONFIG --cflags | sed 's| -I/include||g'`" -- NEON_LIBS="$NEON_LIBS `$XML2_CONFIG --libs | sed 's|-L/usr/lib ||g'`" -+ PKG_CHECK_MODULES(XML, libxml-2.0 >= 2.4) -+ AC_MSG_NOTICE([libxmlfound CFlags : , ${XML_CFLAGS}]) -+ CPPFLAGS="$CPPFLAGS ${XML_CFLAGS}" -+ NEON_LIBS="$NEON_LIBS ${XML_LIBS}" - AC_CHECK_HEADERS(libxml/xmlversion.h libxml/parser.h,,[ - AC_MSG_ERROR([could not find parser.h, libxml installation problem?])]) - neon_xml_parser=libxml2 -+ neon_xml_parser_message="libxml2" - else - $1 - fi diff --git a/meta-oe/recipes-support/neon/neon_0.30.2.bb b/meta-oe/recipes-support/neon/neon_0.32.2.bb similarity index 63% rename from meta-oe/recipes-support/neon/neon_0.30.2.bb rename to meta-oe/recipes-support/neon/neon_0.32.2.bb index 646a9eca13..0f4e971982 100644 --- a/meta-oe/recipes-support/neon/neon_0.30.2.bb +++ b/meta-oe/recipes-support/neon/neon_0.32.2.bb @@ -3,35 +3,46 @@ HOMEPAGE = "http://www.webdav.org/neon/" SECTION = "libs" LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ - file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037" + file://src/ne_utils.h;beginline=1;endline=20;md5=34c8e338bfa0237561e68d30c3c71133" SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \ file://pkgconfig.patch \ - file://fix-package-check-for-libxml2.patch \ + file://0001-Disable-installing-documentation.patch \ file://run-ptest \ - " + " -SRC_URI[md5sum] = "e28d77bf14032d7f5046b3930704ef41" -SRC_URI[sha256sum] = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca" +SRC_URI[sha256sum] = "7a25ba2c9223676b9aaec22a585a0ca118127bad71deed0b9ed6cd960fe5c353" -inherit autotools binconfig-disabled lib_package pkgconfig ptest +inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest # Enable gnutls or openssl, not both -PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib" -PACKAGECONFIG:class-native = "expat gnutls webdav zlib" +PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib nls" +PACKAGECONFIG:class-native = "expat gnutls webdav zlib nls" +PACKAGECONFIG:remove:libc-musl = "nls" PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5" PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy" PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2" +PACKAGECONFIG[nls] = ",--disable-nls,gettext-native" PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav," PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" -EXTRA_OECONF += "--enable-shared" +EXTRA_OECONF += "--enable-shared --enable-threadsafe-ssl=posix" + +# Do not install into /usr/local +EXTRA_OEMAKE:append:class-native = "prefix=${prefix_native}" + +do_configure:prepend() { + echo "${PV}" > ${S}/.version +} do_compile:append() { + if ${@bb.utils.contains('PACKAGECONFIG', 'nls', 'true', 'false', d)}; then + oe_runmake compile-gmo + fi oe_runmake -C test } From patchwork Fri Aug 26 06:11:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 11916 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 041A2ECAAD7 for ; Fri, 26 Aug 2022 06:12:04 +0000 (UTC) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.web09.34052.1661494322473954913 for ; Thu, 25 Aug 2022 23:12:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZAK+CxN8; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id f4so519762pgc.12 for ; Thu, 25 Aug 2022 23:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=L+JONN56G/6eKgM7SaFfUq1IL49oE54j7rz9RgMZfso=; b=ZAK+CxN8Iy5gCkk3BDNuUm8kEzdJvnLeZUQabgOGKEajhnUKA2VNjMu2juGIGB3P7H Oem6fkW5jZjIau4gN4osYTQ7ebRCcPRj5dRPCwAobwS3lLfL7cVCTitFtBVDVJn9odC7 TJsNA2K07PPp3DvC/8q2GmH5aWZSJPzgi/LzQg8NiNNvKP8aPI1zrLcSJM6ULcppVlZ4 nu8Zq/fD4y+7L2dAu4cp+l1xxdn0Ilu1O3QaHJQqs5RfPOxNqPx0vumQxHFfwfFt6JVJ zbQdTJYN2wDtLN//oiL078tFz0H6O6yjGyGdPNoRGgaog8mDgH2pXqMj66pFoKd+WKAa b0xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=L+JONN56G/6eKgM7SaFfUq1IL49oE54j7rz9RgMZfso=; b=V4gc76k797Dv7yQXZh1+zzCPADMmx2DwOeqTaltHrRpFYyk1bEzSyhLmil6gYoDrUN daqi/WQDuv3Zm8FHAt55Wlu0lhMQdshnu6/tModAlXEbm8ahT0VYm4Uu8DSzYfmKBbVn jb63+Ec+9ebeqD+CO1l9XiM3GaEtSS//uUYMnAFt/eL0Za93ftFFkH/ymA2yQ9Rrr/IX v+Za7da5rQrHKAv6UqMKVzrPqO0QLyANwWT/n+9CEe7jON+vA5TzuBqgUTmchGZfSh2J XjT+H4dtrxPl4YOPZ/bUsDPIEy/WBVuyAQ9qFKtjRsrfOynAPc8RjOe3gEwamRcmSgqv nIFQ== X-Gm-Message-State: ACgBeo02WvL5VzksNCT5kWQ+K3rfO0LiA6EzlunA0a7lpukzjRPkObAq k26/LdkyNepTj3r0SlBVi51O1VIy6mIE0Q== X-Google-Smtp-Source: AA6agR56oEpoukcerbYWINuYB1jE4VPaAzKPnrvfPl+bIpt8C8RNNhyP8KGq1QVJ5UfhFOJd9Xvbqw== X-Received: by 2002:a63:485:0:b0:42b:1d81:8619 with SMTP id 127-20020a630485000000b0042b1d818619mr1986747pge.343.1661494321601; Thu, 25 Aug 2022 23:12:01 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:a0f0::6b6a]) by smtp.gmail.com with ESMTPSA id q5-20020aa79605000000b00537a6b81bb7sm755903pfg.148.2022.08.25.23.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:12:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 9/9] satyr: Fix build on musl/clang Date: Thu, 25 Aug 2022 23:11:50 -0700 Message-Id: <20220826061150.3030485-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220826061150.3030485-1-raj.khem@gmail.com> References: <20220826061150.3030485-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 ; Fri, 26 Aug 2022 06:12:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98472 Fixes | py_base_stacktrace.c:301:5: error: call to undeclared function 'g_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | g_free(text); | ^ Signed-off-by: Khem Raj --- ...-py_base_stacktrace.c-include-glib.h.patch | 29 +++++++++++++++++++ meta-oe/recipes-support/satyr/satyr_0.39.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch diff --git a/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch b/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch new file mode 100644 index 0000000000..fe3b1c12d2 --- /dev/null +++ b/meta-oe/recipes-support/satyr/files/0001-py_base_stacktrace.c-include-glib.h.patch @@ -0,0 +1,29 @@ +From 3b84fe4375292d00ebb605a5917e66129fe5f0cb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 24 Aug 2022 23:26:46 -0700 +Subject: [PATCH] py_base_stacktrace.c: include glib.h + +This file has references to g_free from glib-2.0 which needs this header + +Upstream-Status: Submitted [https://github.com/abrt/satyr/pull/333] +Signed-off-by: Khem Raj +--- + python/py_base_stacktrace.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/python/py_base_stacktrace.c b/python/py_base_stacktrace.c +index b9bd16c..301db84 100644 +--- a/python/py_base_stacktrace.c ++++ b/python/py_base_stacktrace.c +@@ -17,7 +17,7 @@ + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +- ++#include + #include "py_common.h" + #include "py_base_thread.h" + #include "py_base_stacktrace.h" +-- +2.37.2 + diff --git a/meta-oe/recipes-support/satyr/satyr_0.39.bb b/meta-oe/recipes-support/satyr/satyr_0.39.bb index 32f27f5cbd..be1ef3f790 100644 --- a/meta-oe/recipes-support/satyr/satyr_0.39.bb +++ b/meta-oe/recipes-support/satyr/satyr_0.39.bb @@ -9,6 +9,7 @@ inherit autotools-brokensep python3native pkgconfig SRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \ file://0002-fix-compile-failure-against-musl-C-library.patch \ + file://0001-py_base_stacktrace.c-include-glib.h.patch \ " SRCREV = "f8a0dbfe7fcc6e44f03d66ca5c81363aea318380" S = "${WORKDIR}/git"