From patchwork Tue Apr 22 17:57:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61718 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 15152C369D8 for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.46952.1745344669827302020 for ; Tue, 22 Apr 2025 10:57:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TNodejO+; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43edecbfb94so57506825e9.1 for ; Tue, 22 Apr 2025 10:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344668; x=1745949468; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ka856dO38rNjntWX5WKn3WJundEIt0yxOT7q2scRCpc=; b=TNodejO+IM5k80LObiquR3UsHRLhjCJ5Ez7QLAOqqk7T4W3Zm6HvXvwKRQEij25Z0H +Es6VsZ5Wp8+MP5xUlXh06+CFLqZUDWLKG6RSvi62ix7kHgKIZbcXHfhImCHmCsL78tY jyrFDzQG9rXzJ9UhMopZ6Zluee9mMiGWiQPS7cnYjtsEaSL0Aq5lJT9w+kc3V3hok0Mc Tq6h+dVHDCTM7RVHsgkyfldlDcL6UU4M2QZr0r1XN/VpW0QZLqKaK4COZQxIdKYCJrZ0 N0ExmSNX8tLFlDNQu3UMXafmoQeTwWkY1Uv2JBH272Z7B+dKsemGwdwxG+7Og1cU9re+ 5s/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344668; x=1745949468; 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=ka856dO38rNjntWX5WKn3WJundEIt0yxOT7q2scRCpc=; b=X4IxajfpdZLWhgOtXZAsYcBne8SHk6Pyatm9V5MspfRexBtjqVVlMyp7WfIM+Fk2Sf POcq0XeI0sFxbusp41ffIJUmGNbHMrVj971300SSRGm+QtaPik0QJaxG+ugiV9dHX+do XsLwsUkx4R8MhhPApxIBpu8sm6FXRVd6h2L5VzKcFknPwATi0LEFxb86R2THiqg5S+7H 7w1dGiv71W+XKFOXx0c5ELo4TjreW4ONVZSKa0Plh9dgLT4c3KyVu0eElR+WXu3aIeoA +Y/skWClbp+9aSDsCg8uMx9E2b6ssjG97irqLnrbOmfs1UNHU1lBCd6c6nMEZdJDMJvh Epxw== X-Gm-Message-State: AOJu0YwN3YH0Ypv/UEr6chAJNtao3Kttgv5R8NYv6qf5Zrjieq+P6cTx 5nz4nSJ1WG6hXI10/DsDY2iM9x01rHPtwyD2eqx0aue5CaFK4QJK9q58eE4o X-Gm-Gg: ASbGncucuT+YYnl98uLuOahfF/w4fldMqgAF5+DLLP4zUzOOBRvP4wTXhl3cOMxXQ5a 3+j812xagvNTUeKNEu2u7s2XPBAsnSUeKUJKr7L5StdDePsM51CLtPSLsOK/3ViN/IMNSyIdqwi 0JA78Y7bcy3jQhENcz49tKA6rCIkdxH/60sMpS+Cni+g6hO3qdiq6JhkogIf/Jd8LeCw3KgF9Tk 4lzFoKucz3NBcYJiYXu2hnj1DleJAxfNj+OslEIj5KNwTMS9QO3HUxNshEw3rqd6AqST8l4/vZY B2ik0CkUVw3qZze1zLiLOdksb8SG0FdPdbTfzj/dZMtgqvoKQWwTRNS1j4lPuJ9Qov6Uh2gs9g= = X-Google-Smtp-Source: AGHT+IFqPtTLcWO+7uIA5PaT3+6DnER2fcieZSycXdMpCB4h0wrvpomm2ZDuh3AxDS0+SylTZhZt9g== X-Received: by 2002:a05:600c:cc4:b0:43b:ce3c:19d0 with SMTP id 5b1f17b1804b1-4406ac176ecmr139164375e9.29.1745344668039; Tue, 22 Apr 2025 10:57:48 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4406d6e05d6sm188189355e9.40.2025.04.22.10.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:47 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 1/6] vulkan-cts-sources: fix build with gcc-15 Date: Tue, 22 Apr 2025 19:57:37 +0200 Message-ID: <20250422175742.786560-1-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117061 From: Martin Jansa Fixes: http://errors.yoctoproject.org/Errors/Details/852849/ In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15: TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared 56 | static bool IsInt8(FormatMode mode, uint32_t num_bits) { | ^~~~~~~~ Signed-off-by: Martin Jansa --- ...clude-cstdint-causing-build-failures.patch | 47 +++++++++++++++++++ .../vk-gl-cts/vulkan-cts-sources.inc | 1 + 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch new file mode 100644 index 0000000000..44632bc74f --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch @@ -0,0 +1,47 @@ +From 1d80b54aefd1f5f361990b1223c6fe308a8d3085 Mon Sep 17 00:00:00 2001 +From: Ricardo Garcia +Date: Mon, 21 Apr 2025 12:30:05 +0200 +Subject: [PATCH] Fix missing #include causing build failures + +Tested on Fedora 42 with clang. + +Upstream-Status: Submitted [https://github.com/google/amber/pull/1092] + +Fixes: +http://errors.yoctoproject.org/Errors/Details/852849/ + +In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15: +TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared + 56 | static bool IsInt8(FormatMode mode, uint32_t num_bits) { + | ^~~~~~~~ + +Signed-off-by: Martin Jansa +--- + src/tokenizer.h | 1 + + src/type.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/tokenizer.h b/src/tokenizer.h +index 53efec60..ea4f19df 100644 +--- a/src/tokenizer.h ++++ b/src/tokenizer.h +@@ -16,6 +16,7 @@ + #define SRC_TOKENIZER_H_ + + #include ++#include + #include + #include + +diff --git a/src/type.h b/src/type.h +index c63779ba..97720f29 100644 +--- a/src/type.h ++++ b/src/type.h +@@ -16,6 +16,7 @@ + #define SRC_TYPE_H_ + + #include ++#include + #include + #include + #include diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc index 9c95aa4af7..8c2a495dc8 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc @@ -22,4 +22,5 @@ SRC_URI += " \ git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=git/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ + file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \ " From patchwork Tue Apr 22 17:57:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61719 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 391FEC369D9 for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web11.46953.1745344670709860100 for ; Tue, 22 Apr 2025 10:57:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ufk/H457; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-39c14016868so5517137f8f.1 for ; Tue, 22 Apr 2025 10:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344669; x=1745949469; darn=lists.openembedded.org; 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=W2Ik75B+v1pTU1E5i+JATD12WPA53gzuVT++Epu+Ii8=; b=Ufk/H457Y3w+HSm3OHEB+kHCVyJtAu2ZqaitFlRNmwhxIhviw83r87uL4zdfnQMNvd blL793sh+NSej7Pb/FZxMbpjezLAvMdq4zQpa3lZMXPnoeshSSWKIS8R1oIDJ/aVe7CG TMoHultFweIpH5U22DWnFWBJ15H3ccJqcf56YXcOSr4Ko7UaiCAixzkxV6J1G44OTiZ+ MJHIjNYTMvDHVsNe4TufkAqHh79gZH1sFv3SQ3+PD5tM/m4bic9v9g2SsjZsdgYNQswk V17h6oeTpD7BhzVVRCaoEfAjDzhgvgqMunQRNJrEhtUG2aGTziT7hcpJhNIALFDT0ry9 2yMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344669; x=1745949469; 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=W2Ik75B+v1pTU1E5i+JATD12WPA53gzuVT++Epu+Ii8=; b=j1TBB016O8MLzSxfXhwNVfNNW3W369Hsbol95jBmcHQbQpCK9s4GbdTov6n5geHBrE N7ZGryVUDEqYQ2sJG0j9NnjZEaxtRnP3N+JNNSaxBs9tSJnijI0AdtgMItujhM6da71O U7J+QmWQmj1gauAIW3hIbrHM6eiwzHzZZoYdhWcyPqUdwl34xEijbZZ5hKyfF9U6oSqj 9JnEhZYjTXVdkEbJQDlQHOSsK/B/RwRd4Xwf+n1JKNWzctNrhMx1y3eG1xQxTv/pQIEL y5uuUvfG/YECzwAsEeVprBEwiFw8HSNRKc4jZH26Al+cm3Xd6/eWU4oLuAx9BAWkuijL s3QQ== X-Gm-Message-State: AOJu0Ywy7TAsV7WZqaQV5003IJSQhwW/CCWVBJpSDAvmajb9Bo/xwIW8 QizZdGchYdwQkdohMn+nx9jl2CgXF9gklbWwC6s8pGfNhnt0bk47TUniSYCV X-Gm-Gg: ASbGncuS+Lu/YAK2YrFmhU7sw00wWbM5T/RXhYESZtDRq/UjIhqJMskRcxgNIp4U5f6 lxxxXRyM2Cujn/kThP15TLbzWNE1IJ/dGQUFZ+4RgIbCq7GKlrdUo7KJhjt/6Egdfhrs93Toa/f ag5ca4SboM1fAmcuQ/2WZN23mwrahdrTtXEui66bjYbg2PfabL8STxuT2caUkf0xk/sr1j5q6Ej U1vVhCl+kyHdIxtOBEj6o2cY+U4yhObtjWYinfrkGwnpW9nzl63uQsIlDhO58+RygDnEArey8DW LN/IBwsuoEHYPajRkt9aGRR0DP3YQQN5LSrjB0mXm41fsw/qPVJS3oC5XB8qTh2LvI99K/fpBA= = X-Google-Smtp-Source: AGHT+IEsQsqs5ebAgRi/M/AuJ9M7RZ9/d/XJ5BUjVXPrdPfBujz//P3hprpqaZMcc525k7emFdUGUA== X-Received: by 2002:a05:6000:40ce:b0:39c:1ef5:ff8b with SMTP id ffacd0b85a97d-39efbaf2652mr13531943f8f.48.1745344669010; Tue, 22 Apr 2025 10:57:49 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-39efa4a4be2sm15713858f8f.83.2025.04.22.10.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:48 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 2/6] sysdig: fix build with gcc-15 Date: Tue, 22 Apr 2025 19:57:38 +0200 Message-ID: <20250422175742.786560-2-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422175742.786560-1-martin.jansa@gmail.com> References: <20250422175742.786560-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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117062 From: Martin Jansa fixes: http://errors.yoctoproject.org/Errors/Details/852848/ In file included from TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/chisel/lua_parser.cpp:20: TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/libsinsp/./gen_filter.h:87:17: error: 'uint64_t' does not name a type 87 | virtual uint64_t get_ts() const = 0; | ^~~~~~~~ Signed-off-by: Martin Jansa --- .../0001-libsinsp-fix-build-with-gcc-15.patch | 31 +++++++++++++++++++ .../recipes-extended/sysdig/sysdig_0.28.0.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch diff --git a/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch b/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..9a81f1c74c --- /dev/null +++ b/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch @@ -0,0 +1,31 @@ +From 47a86dabd065096ffc8818a1cffca96964d18120 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 22 Apr 2025 18:43:46 +0200 +Subject: [PATCH] libsinsp: fix build with gcc-15 + +fixes: +http://errors.yoctoproject.org/Errors/Details/852848/ + +In file included from TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/chisel/lua_parser.cpp:20: +TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/libsinsp/./gen_filter.h:87:17: error: 'uint64_t' does not name a type + 87 | virtual uint64_t get_ts() const = 0; + | ^~~~~~~~ + +Upstream-Status: Pending [gen_filter is removed in newer version with https://github.com/falcosecurity/libs/commit/47e245f3d343eff27ed178ec2449caa3a01faabb] +Signed-off-by: Martin Jansa +--- + userspace/libsinsp/gen_filter.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/userspace/libsinsp/gen_filter.h b/userspace/libsinsp/gen_filter.h +index f4cfa08b1..79ac30dc3 100644 +--- a/userspace/libsinsp/gen_filter.h ++++ b/userspace/libsinsp/gen_filter.h +@@ -16,6 +16,7 @@ along with Falco. If not, see . + + #pragma once + ++#include + #include + #include + #include diff --git a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb index e9aa48da54..9b95c14de0 100644 --- a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb +++ b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb @@ -26,6 +26,7 @@ SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sys git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \ file://0001-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \ file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \ + file://0001-libsinsp-fix-build-with-gcc-15.patch;patchdir=./falcosecurity-libs \ " SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b" SRCREV_falco = "caa0e4d0044fdaaebab086592a97f0c7f32aeaa9" From patchwork Tue Apr 22 17:57:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61715 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 11D80C369C2 for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web11.46954.1745344671811350674 for ; Tue, 22 Apr 2025 10:57:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ed0NGrIX; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-43cfa7e7f54so1040695e9.1 for ; Tue, 22 Apr 2025 10:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344670; x=1745949470; darn=lists.openembedded.org; 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=dF4kCXFHQR9ScWFm54rj+h+OEyLOuqgGfkWEfGeIApA=; b=Ed0NGrIXzZp+x8LQ969LY8tpQ2ny8NVMP86HWjsFAcqgNprnU/lAj+bBwoVDjpCtOG QNYVmBmPfxcJiJGhO3FLA5zuTs2FbQ4Eq1afv2r1uRhtrkVWnvM4fOlGN+kcuLaiLDeD jh0/0d84VX2mSJBBY/oR6BXW/XOYfCJRZRI2+u0S66WRwrAA29FCxjW/jgw1JiBfse9x 88AJQCZJV820d4RvmESfTeGcIc5oyimO2fVTvkV/6fwvNV+teaE7dH+yyb19Nqo75yIE m6pb8rMLc50560wzRdoLVDXL3k9pI3j86VCh5dEKno99gPQ9zaketQCQcUpCy/krb+02 XpKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344670; x=1745949470; 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=dF4kCXFHQR9ScWFm54rj+h+OEyLOuqgGfkWEfGeIApA=; b=QecuUEeHcOY3jWzQJfBxx7KjVrIm+VxAjN5Z95inaerQ4l82xt0RKhKiG4oxBaB0py PyR3Plvw0yDJCDdWD9JpskbXKPZx/w5IEmBxv8HX901NSFbhQQ78Awb9aH90S4+EBRHs wUH7qo4TLXa6aSnJ/SMaAru+4VXHauKvPKZLgrWu3AKJ8Ui/356llPKDspg/efhpOa+A I+pRSkmLMjs6GU/Y8xMunMFel5hUTomxItyaqQwB7qss0cj7ql/N2T1kQpPv/ClwDE6g LUMpaGTdziApIjdiJtqeQOwxZZOFbcLybFTPTrGJWP9nCeyx3YwS+08C2xQ7suELvg5h miZA== X-Gm-Message-State: AOJu0YyM3pTXgWrdOMgZvSFMv11FpejQqqToyPxlJ4jBgRia5RWQqQt3 v7FIBy0Z47GvD33WPe5iERmfFOcbL1mWsX7O9TH79+LJ/VE/1HbZIfI1+Kzv X-Gm-Gg: ASbGncsLVQatgg1j269/dvxAn8VFxu3qBIIhxtwFnFiFA7OFh5+2ziMg69MyoFYHm8/ BARYoNfRf4YDEW2qsqJKK1IOfgLs25HG9KVz37sWI7ayzofQ5e5RvS7FIQIF3EZVySMklZXyyH0 GH3Bc76wqECHhk9K9iLUE+zCpr5t0maIxSPKSCRWBJyg5XV7Zir/mUdVZP3yIMKo/Lv51Bb4Fl9 UOsdB78MDargG2b8l0UBBVIiNo4liboMAqhfIso680eVQ+3cXUzaerUqgP32BUbZyEEiuL/hvoA u+JALmdJzZvLviNVOJPArd4cUy1p/uPFPmrvWbOi+cmab0cFj0HpiUdxZqW06UkjKFgFeNBb7g= = X-Google-Smtp-Source: AGHT+IGcj5oryTFfg4y/cPD//p4JlgehA/wnFgG/r1gVCaIt7ImpdmFZkUoRy5Y4/BLoF6V4G2kxxw== X-Received: by 2002:a05:600c:8710:b0:439:8490:d1e5 with SMTP id 5b1f17b1804b1-44069710444mr163004465e9.4.1745344669959; Tue, 22 Apr 2025 10:57:49 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4408c80174dsm18736825e9.0.2025.04.22.10.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:49 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 3/6] yasm: fix build with gcc-15 Date: Tue, 22 Apr 2025 19:57:39 +0200 Message-ID: <20250422175742.786560-3-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422175742.786560-1-martin.jansa@gmail.com> References: <20250422175742.786560-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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117063 From: Martin Jansa * fixes: libyasm/bitvect.h:86:32: error: cannot use keyword 'false' as enumeration constant 86 | typedef enum boolean { false = FALSE, true = TRUE } boolean; | ^~~~~ libyasm/bitvect.h:86:32: note: 'false' is a keyword with '-std=c23' onwards as suggested in: https://github.com/yasm/yasm/issues/283#issuecomment-2661108816 Signed-off-by: Martin Jansa --- .../0001-bitvect-fix-build-with-gcc-15.patch | 38 +++++++++++++++++++ meta-oe/recipes-devtools/yasm/yasm_git.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch diff --git a/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch b/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..f3f2c431d5 --- /dev/null +++ b/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch @@ -0,0 +1,38 @@ +From 64ef740eb262f329e55eebadf2ce276b146d44e9 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 22 Apr 2025 19:06:24 +0200 +Subject: [PATCH] bitvect: fix build with gcc-15 + +* fixes: +libyasm/bitvect.h:86:32: error: cannot use keyword 'false' as enumeration constant + 86 | typedef enum boolean { false = FALSE, true = TRUE } boolean; + | ^~~~~ +../git/libyasm/bitvect.h:86:32: note: 'false' is a keyword with '-std=c23' onwards + +as suggested in: +https://github.com/yasm/yasm/issues/283#issuecomment-2661108816 + +Upstream-Status: Submitted [https://github.com/yasm/yasm/pull/287] + +Signed-off-by: Martin Jansa +--- + libyasm/bitvect.h | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/libyasm/bitvect.h b/libyasm/bitvect.h +index 3aee3a53..a13470ad 100644 +--- a/libyasm/bitvect.h ++++ b/libyasm/bitvect.h +@@ -83,7 +83,11 @@ typedef Z_longword *Z_longwordptr; + #ifdef MACOS_TRADITIONAL + #define boolean Boolean + #else +- typedef enum boolean { false = FALSE, true = TRUE } boolean; ++ #if __STDC_VERSION__ < 202311L ++ typedef enum boolean { false = FALSE, true = TRUE } boolean; ++ #else ++ typedef bool boolean; ++ #endif + #endif + #endif + diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb index e2c1a3c02b..de7eb45c1d 100644 --- a/meta-oe/recipes-devtools/yasm/yasm_git.bb +++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb @@ -13,6 +13,7 @@ SRCREV = "121ab150b3577b666c79a79f4a511798d7ad2432" SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \ file://0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch \ file://0002-yasm-Use-BUILD_DATE-for-reproducibility.patch \ + file://0001-bitvect-fix-build-with-gcc-15.patch \ " S = "${WORKDIR}/git" From patchwork Tue Apr 22 17:57:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61714 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 13278C369D1 for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web11.46955.1745344672540820081 for ; Tue, 22 Apr 2025 10:57:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J+6zvpAQ; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-39ac9aea656so6968867f8f.3 for ; Tue, 22 Apr 2025 10:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344671; x=1745949471; darn=lists.openembedded.org; 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=s1FeSp6sdwD88PkDWW1BYcKruL7+jx+V4iiF7YwrnmA=; b=J+6zvpAQfOlBxEjTPvdMYr1MLs1gbYZdfN1jnNP845vu3jZHZp4LOI77NHmvbHQ2BA Zgi7X1Koggie7k4UIgTTU596utDa3P8Oqc5ds4jDUYSR/9biNXA0wnckhCN1v66Tkexw ZGe1+/eaW96MDKQDB8FZUKwd0rncTjIpLitWABKrmym0X3syqMXS5uTlU32mja3u1sgl 0go7wbuOmJfO/J7gxKXu5HAV78xQ6elJmJ/jkcr1nAxy3yO9mp+C/B8+IzqB5HeXri+P pkFzWzAHEyhBAglR5OjtvTGOF+R0yfJ4Yc76V8/lwqA+m+D/6NAlQcmABqBie6lXzTTT 8ODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344671; x=1745949471; 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=s1FeSp6sdwD88PkDWW1BYcKruL7+jx+V4iiF7YwrnmA=; b=Hm7UFHWUUXbn5WZpoAiPhOPBvckdee08hTwh5re3nit8H8LUCIdDvNMYi0/4BZSyTX 56BSfTn/Iwqmymw5wPMgI7rm7KhfFtSCt3HBhwQL+RdgvYkKYPX1wZ41gEdDkfKw1bN5 KOdzw+6d5mdqyeHQ0BAYFCXSNcT3/YJgTa6YJzbSNXnj5gAEFsWnl7HaH726LLLRBcLu OhuLXfGjVpa4UxbGB7SrImzyNG8tHWJTNkCIObaJ55IkJOdca2ayiqV9gSa8PQpXW3cC 1/MEqAQiPwHN/ocNG3bYx1VRlaZ/0LK6cURsV3Ti2qf7OdJVLoiBnTUCAM3ue9mQkQGd bU6w== X-Gm-Message-State: AOJu0YxyjKLI1wQfBREqi+lxj/z1ngPaHhUHroKnyI4rOjQS5gkij6Gt YWfr1HQIlyKMETvRTRrljbLiJynnBbA8IF0MbUXohpEo4esG1aaw+NAXGjl7 X-Gm-Gg: ASbGncvWMMHHyhH+dXQ/PBAKp+2ZDo4TlP8k+3vnA8RbpymjeFTrT+wcK3/qFTYnocM PMUyypvZ00mAcC+V5rQyJMK5A+0hwvxKw4wwxQwzjywqaWwqk9axJR/ePxlcJqNCiM+Gmt23o9W 7WDzEnbiQNxP7XXMCZZ5Gx9IPzGOg9uldKFHKtdEfqfMCFDouBbhK+9g6GQELO+5AEszjwY2+k4 eaYhIgTpLA6/1kMLnmp+4JlygOW3EFuzeaIZTf4Lo1QyniGyTLKlGM7EJso/2w8jze13D/pgbv2 JY6k0dS6qDkM/FOpnlqrMj9D2SlSywHDyjR7gAYYznDt9t0ITGgprKkDQgk7HxofDtzfYpRpQA= = X-Google-Smtp-Source: AGHT+IE4hSmca5iJwcs+kiS8HIKUZswhyu+JPerZsLsdhSCl9RZ853qNSH2k5R0C+h5cbX7Rv/BABQ== X-Received: by 2002:a05:6000:178c:b0:391:1458:2233 with SMTP id ffacd0b85a97d-39efba2beafmr12966922f8f.11.1745344670898; Tue, 22 Apr 2025 10:57:50 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-39efa43bf09sm15777827f8f.44.2025.04.22.10.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:50 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 4/6] cups-filters: fix build with gcc-15 Date: Tue, 22 Apr 2025 19:57:40 +0200 Message-ID: <20250422175742.786560-4-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422175742.786560-1-martin.jansa@gmail.com> References: <20250422175742.786560-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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117064 From: Martin Jansa * fixes: http://errors.yoctoproject.org/Errors/Details/852846/ ../cups-filters-2.0.0/filter/foomatic-rip/pdf.c:79:32: error: passing argument 2 of 'start_process' from incompatible pointer type [-Wincompatible-pointer-types] 79 | kid3 = start_process("kid3", exec_kid3, (void *)cmd, NULL, NULL); | ^~~~~~~~~ | | | int (*)(FILE *, FILE *, void *) In file included from ../cups-filters-2.0.0/filter/foomatic-rip/pdf.c:16: ../cups-filters-2.0.0/filter/foomatic-rip/process.h:21:45: note: expected 'int (*)(void)' but argument is of type 'int (*)(FILE *, FILE *, void *)' Signed-off-by: Martin Jansa --- ...uild-failure-with-GCC-15-and-std-c23.patch | 28 +++++++++++++++++++ .../cups/cups-filters_2.0.0.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch diff --git a/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch b/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch new file mode 100644 index 0000000000..7165593608 --- /dev/null +++ b/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch @@ -0,0 +1,28 @@ +From a31812e179f24f71199e7b1c823ecd212f10472f Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Fri, 24 Jan 2025 09:44:58 +0100 +Subject: [PATCH] Fix build failure with GCC 15 and -std=c23 + +The newest standard has more strict data type checks, function pointers +in function prototypes have to declare data types of its arguments. + +Upstream-Status: Backport [https://github.com/OpenPrinting/cups-filters/commit/9871a50b5c1f9c2caa2754aac1f5db70c886021b] + +Signed-off-by: Martin Jansa +--- + filter/foomatic-rip/process.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/filter/foomatic-rip/process.h b/filter/foomatic-rip/process.h +index f6e15f6..54a4292 100644 +--- a/filter/foomatic-rip/process.h ++++ b/filter/foomatic-rip/process.h +@@ -18,7 +18,7 @@ + #include + + +-pid_t start_process(const char *name, int (*proc_func)(), void *user_arg, ++pid_t start_process(const char *name, int (*proc_func)(FILE*, FILE*, void*), void *user_arg, + FILE **fdin, FILE **fdout); + pid_t start_system_process(const char *name, const char *command, FILE **fdin, + FILE **fdout); diff --git a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb index ff4ed16794..0886e7061b 100644 --- a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb +++ b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb @@ -8,6 +8,7 @@ DEPENDS = "libcupsfilters libppd glib-2.0 poppler" SRC_URI = " \ https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ file://fix-make-race.patch \ + file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \ " SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8" From patchwork Tue Apr 22 17:57:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61717 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 22BBFC369DC for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web11.46956.1745344673556845601 for ; Tue, 22 Apr 2025 10:57:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KVZSwtsN; spf=pass (domain: gmail.com, ip: 209.85.221.48, mailfrom: martin.jansa@gmail.com) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-39c1ef4acf2so3523038f8f.0 for ; Tue, 22 Apr 2025 10:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344672; x=1745949472; darn=lists.openembedded.org; 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=RE/0MC/RMznhA0WUbIReppo7WMHpOEobxfOtP0pSwQ0=; b=KVZSwtsNBxUzKYkXY4i1/0B/2MNpolKti1/nKpBQ4g8n91n+Fi6YorE9KrEwpjtiYD 6rdvH9fUZD8HecNQ83BuySi1o9zbehlQXtbOqm2YL0VRECKDzc6cYIrP+C+p2ygRsyGx riL3tnpyOCubZy5BB0/0ofxD5dQ3z/jJUijgTqFdS0LEZ07T3o9feBqxo1uMGThR5aio zCaafQtuk33mDFhR2ogkKgqLuAf+HqVWEdprDVGlNG9FeoXqrBgWXx0DdL9kpxrph5bG lsiSTDdu299Y9nKsDONxWM80t2BQp9E+2yERAcsuDux37LENkUna2ONufJXG3RZJZNLv slcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344672; x=1745949472; 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=RE/0MC/RMznhA0WUbIReppo7WMHpOEobxfOtP0pSwQ0=; b=IooejKw2lXNGCI5k3R4cvdTpnKqII2hkbNM4ZyOzLBkxfASwOSG70eEHe+4L+/+dTi HlNKXtb+ngu1vi257p4ByP5QCr22XnzjeCHXlxn3ougAOGWV9TWCVz4jp27mrjFVsl0N BoI1oiy+2nzdJQfShVWw5vRRlHOmb4+4aEFdV2holFXZRj+1IGz3C0hFVq5UwaVzDf9V rnLyonVXNkLpgLnu6ZUZ1Y1aM8/J9ZJQQYSwEpWQ70RtFDCL2Qp64MzVQRQ3g0+/7Boj XTAKrN9xpdNBQUmYUYRGCuEkAGpcCdtYc7nT0P5//KbyH7tgJUkRnfKxR1GAKgG4V6d5 T5zQ== X-Gm-Message-State: AOJu0Yz0hinatFdG1HiZNIHLO8+Y3hFC7MAtDz0WMspjZxyrslCGyjC+ mA6kbaabyZq1k8Hw/nRzYZjzXr+Fbpf3AFbkNNLqqBz9c5FStoLpIybILDJd X-Gm-Gg: ASbGncseEABXugu5mCESaS8gfaQ0olQ7ClY4cwWivDoN26pKqPy3DuZyJbgAxabx8uh HzxOAwzU4RkazgnT3A6+JpnIjqQ0xNGLDhQOT8cZFDCllrpT4TaVAY3drrgfySEOjLT8YPtdgDY PfjX30A+s0iYW5S7MpNFmA+QIZw8HILCogkKe0ZtJ4ZEpdlkdsh+hFj41r5i+nwvFjVsOXe8KfM L+ufmg6tXoRi7wURHZuW60mmRG0eHhTVSvZbazNVZgO/N0XBirzDQENuUOgq2sg0hC8QsCZr8Wz hvxegqgc/hT0k+EAigKFSMNYuzVAzY77VAHTnr/Sp6XVoHjxZKB9Hx7rSFH/61mV4pQRR20q8A= = X-Google-Smtp-Source: AGHT+IE4+klFwbxDtSATI5AKGsvJOkRBtQ+B83lVuvZtlR+Mx26eR55nTVBYGxs8HDjWUbLBYaHTRQ== X-Received: by 2002:a05:6000:2510:b0:391:2306:5131 with SMTP id ffacd0b85a97d-39efbace660mr12887603f8f.45.1745344671751; Tue, 22 Apr 2025 10:57:51 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-39efa43be53sm15740293f8f.41.2025.04.22.10.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:51 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 5/6] cups-filters: use 4 spaces for indentation Date: Tue, 22 Apr 2025 19:57:41 +0200 Message-ID: <20250422175742.786560-5-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422175742.786560-1-martin.jansa@gmail.com> References: <20250422175742.786560-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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117065 From: Martin Jansa Signed-off-by: Martin Jansa --- .../recipes-printing/cups/cups-filters_2.0.0.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb index 0886e7061b..2f1a772dde 100644 --- a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb +++ b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb @@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07" DEPENDS = "libcupsfilters libppd glib-2.0 poppler" SRC_URI = " \ - https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ - file://fix-make-race.patch \ - file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \ + https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ + file://fix-make-race.patch \ + file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \ " SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8" @@ -17,10 +17,10 @@ UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups-filters/releases" inherit autotools gettext pkgconfig github-releases EXTRA_OECONF += " \ - --enable-imagefilters \ - --enable-ghostscript --with-gs-path=${bindir}/gs \ - --with-fontdir=${datadir}/fonts \ - --localstatedir=${localstatedir} \ + --enable-imagefilters \ + --enable-ghostscript --with-gs-path=${bindir}/gs \ + --with-fontdir=${datadir}/fonts \ + --localstatedir=${localstatedir} \ " PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}" From patchwork Tue Apr 22 17:57:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 61716 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 21BB9C369D7 for ; Tue, 22 Apr 2025 17:57:58 +0000 (UTC) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web11.46957.1745344674427217517 for ; Tue, 22 Apr 2025 10:57:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=J0F89MCm; spf=pass (domain: gmail.com, ip: 209.85.128.45, mailfrom: martin.jansa@gmail.com) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-43ede096d73so40626215e9.2 for ; Tue, 22 Apr 2025 10:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745344673; x=1745949473; darn=lists.openembedded.org; 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=cXKAqkqnSHTX73OC5Uo1hceRrxC8w7OQiev8FNWPFwc=; b=J0F89MCmAhesziv0woQA31vdadddxNwjwVpR81bRHLfsSuDshRo54QJmeJMHwCXm3n gTTH35luVw0VCYCpujMsltLoIiYBohFhFcWBkGtaZcp+E+FLHkvaa1DTSbDSJaTz6oVT cQBK97qA/R3b76Kxm3lwLhKhYcJZ/i6R80ziLvFZYY04fQ+rq+xO5G1cJZCULoChMpsI e/15DdMV/371dU3WsUpsgqrUf0Ch9Oey6M/MimX70KSXaV76vN+VLESBbP3g+znxFZmJ Eb3Cp7VGeKp0Mfw2DlyuvC6wfbegfhSneuXwSDoLjXE+il1hFSRHDCVv7hdWqFY0my0M a8ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745344673; x=1745949473; 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=cXKAqkqnSHTX73OC5Uo1hceRrxC8w7OQiev8FNWPFwc=; b=ENn4fl8wUPH0khpIsLW8itMSJLkIkc7eM5OxAm4cZruyl8jJx0LSgavNqzHAbU+m7M 5aKJJ7xUvZtJDdSMENeLRHtxMz00m48LMhCXydIAb7DFEEyLwXBflrDX9c6epWxcWx3H 43mRGNx9GI0ebyi1WWa59Qh0miJAVdcZh/+pOFqWZrSqy/Hlq3lqMtULD3Z5DnGAG1Sr ReuBNpXB1KSs97Ye1HSJxY9fdeaczD4eqEQFGU1s1iYTu+gWHDBgRL/pYPLPz0DgD/UF Gsdj6OSrY4KfDvNepqJdz8QrToKLAM0iuU2lcnHi5cKFRxdVOaLGWJc1FOFzVC8zWitM lBwQ== X-Gm-Message-State: AOJu0YxTamPmgqXhSPioqG4P9MKKM/IPcMM7WnTziP1rJdNAYnZKPB+L f66k4MOeUN6VNtL6SFW6ylPaUP7E6eC1au577rDACxcikN9Djl7dblL9h0JD X-Gm-Gg: ASbGncvQFpR0Q0088v2yVRKaxpe6b68rdtlwGTWmvDEMSlqWEFziNVEEcj6O/ppPuDE q25ZIwpV5Zg6liQLZurRyzKqQIhGyTl7I1xog1uJ4829Mk23/Te6EEFWMeV3iw7AvsoRTYngxKH RejOiyK7ZOj9GixxvJCKJgJVivMaRltVXoS7Ox5ynRUcvxoF7X3gcbyzs79OQxBK0gxV8Lox3oR oG7iJVodA/Ce51AdwRiqs2pSAj+0LgeDuNAzO7lKZkSiTwItArBN9Q4cSo/gRKUJJ58gXh3gzf6 KNWz25hCnDTobwTHDUFoG8Q/gYGlIJCvd261o7QLAwYfQOniHN5bjpJ7shAICbHMDl1DTYu5zg= = X-Google-Smtp-Source: AGHT+IEJwE7XeSP7gIX+Nwf7BfhXyoN+Hv/96PDDPe/tEjJeZRABidm4arX2gzZzWDwfZKeS70Pa7Q== X-Received: by 2002:a05:600c:54c2:b0:43d:77c5:9c1a with SMTP id 5b1f17b1804b1-4406b928b57mr118223175e9.4.1745344672604; Tue, 22 Apr 2025 10:57:52 -0700 (PDT) Received: from localhost (ip-109-238-218-228.aim-net.cz. [109.238.218.228]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4406d5a9dbesm183081515e9.7.2025.04.22.10.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Apr 2025 10:57:52 -0700 (PDT) From: martin.jansa@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Jansa Subject: [meta-oe][PATCH 6/6] psqlodbc: fix build with gcc-15 Date: Tue, 22 Apr 2025 19:57:42 +0200 Message-ID: <20250422175742.786560-6-martin.jansa@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250422175742.786560-1-martin.jansa@gmail.com> References: <20250422175742.786560-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 ; Tue, 22 Apr 2025 17:57:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/117066 From: Martin Jansa configure: make sure to call AC_CHECK_HEADER_STDBOOL before using ac_cv_sizeof_bool It was called after this conditional, so PG_USE_STDBOOL wasn't set even when it should be as shown in at the end of config.log: ac_cv_header_stdbool_h=yes ac_cv_sizeof_bool=1 ac_cv_type__Bool=yes #define SIZEOF_BOOL 1 #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 * fixes: https://github.com/postgresql-interfaces/psqlodbc/issues/110 https://github.com/postgresql-interfaces/psqlodbc/issues/94 http://errors.yoctoproject.org/Errors/Details/852841/ In file included from ../psqlodbc-16.00.0000/environ.h:16, from ../psqlodbc-16.00.0000/environ.c:16: ../psqlodbc-16.00.0000/psqlodbc.h:264:23: error: 'bool' cannot be defined via 'typedef' 264 | typedef unsigned char bool; | ^~~~ Signed-off-by: Martin Jansa --- ...sure-to-call-AC_CHECK_HEADER_STDBOOL.patch | 45 +++++++++++++++++++ .../psqlodbc/psqlodbc_16.00.0000.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch diff --git a/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch b/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch new file mode 100644 index 0000000000..9cc5ad9b86 --- /dev/null +++ b/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch @@ -0,0 +1,45 @@ +From 5bfa9f1cd0523a0cad70cacf5ecf8c1aeb06c4d0 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Tue, 22 Apr 2025 17:47:02 +0000 +Subject: [PATCH] configure: make sure to call AC_CHECK_HEADER_STDBOOL + +before using ac_cv_sizeof_bool + +It was called after this conditional, so PG_USE_STDBOOL wasn't set +even when it should be as shown in at the end of config.log: + + ac_cv_header_stdbool_h=yes + ac_cv_sizeof_bool=1 + ac_cv_type__Bool=yes + #define SIZEOF_BOOL 1 + #define HAVE__BOOL 1 + #define HAVE_STDBOOL_H 1 + +* fixes: + https://github.com/postgresql-interfaces/psqlodbc/issues/110 + https://github.com/postgresql-interfaces/psqlodbc/issues/94 + +Upstream-Status: Submitted [https://github.com/postgresql-interfaces/psqlodbc/pull/112] + +Signed-off-by: Martin Jansa +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index f35c825..ea363ca 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -28,9 +28,11 @@ AC_CHECK_SIZEOF([bool], [], + #include + #endif]) + ++AC_CHECK_HEADER_STDBOOL() ++ + dnl We use if we have it and it declares type bool as having + dnl size 1. Otherwise, c.h will fall back to declaring bool as unsigned char. +-if test "$ac_cv_header_stdbool_h" = yes -a "$ac_cv_sizeof_bool" = 1; then ++if test "$ac_cv_header_stdbool_h" = yes && test "$ac_cv_sizeof_bool" = 1; then + AC_DEFINE([PG_USE_STDBOOL], 1, + [Define to 1 to use to define type bool.]) + fi diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb index d3b3ea5109..dfd7f6a1e6 100644 --- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb +++ b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb @@ -23,6 +23,7 @@ SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions.old/src/${BPN}-${PV}.tar. file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ file://psqlodbc-donot-use-the-hardcode-libdir.patch \ file://psqlodbc-fix-for-ptest-support.patch \ + file://0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch \ file://run-ptest \ "