From patchwork Wed May 15 17:32:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 44226 Return-Path: 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 1878AC25B78 for ; Wed, 15 May 2024 17:32:21 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.web11.1271.1715794337753463316 for ; Wed, 15 May 2024 10:32:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=iDoY197k; dkim=pass header.i=@amazonses.com header.s=7v7vs6w47njt4pimodk5mmttbegzsi6n header.b=YvpSrpa+; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.30, mailfrom: 0101018f7d4fe3da-551fe553-8b7e-4de8-8d7d-3e492dc663ef-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx; d=yoctoproject.org; t=1715794339; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=syWDxtzKwIIf3j6buXlXAHxC/PfL/yY+HYUCtNqJt8c=; b=iDoY197k2xDBJo8onK2lp+e4DUdgfsv/QKQr2Gs6ZYu8ISuXnEfICbNZhGAmOXlH 4lPubKTgQbkOFmEBV1vnOxaLgOdVdZdkmMGhMNaWMOXjMX0sZ+epTXWzhfX4OGIk201 9+9CVwqUV6EP6l0Pqai/0HYEX3CGk68uJ3vVx2Bc= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1715794339; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=syWDxtzKwIIf3j6buXlXAHxC/PfL/yY+HYUCtNqJt8c=; b=YvpSrpa+BGk6pdzowivdC+wPF9xSAI6ASJlu5byeDfvfEgTjyI6PDL2wN2pD8Vtq acazk7O6J02Ww7cVwIi1aaQEfuUX/laXjlrCVQctJAByvvi6yDAN/j7jt3uAJ45NLgL Bmw55EHmZhNj0ftQzoUHZcfWYayvQGLMajyUUYhM= MIME-Version: 1.0 From: auh@yoctoproject.org To: Ross Burton Cc: openembedded-core@lists.openembedded.org Subject: [AUH] piglit: upgrading to 8a6ce9c6fc5c8039665655bca4904d5601c6dba0 FAILED Message-ID: <0101018f7d4fe3da-551fe553-8b7e-4de8-8d7d-3e492dc663ef-000000@us-west-2.amazonses.com> Date: Wed, 15 May 2024 17:32:18 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.05.15-54.240.27.30 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 ; Wed, 15 May 2024 17:32:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/199366 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *piglit* to *8a6ce9c6fc5c8039665655bca4904d5601c6dba0* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-piglit-upgrade-to-latest-revision.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From ed008c7c4a66c9086cf4471b96dd145b74ec6019 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 15 May 2024 13:54:49 +0000 Subject: [PATCH] piglit: upgrade to latest revision --- ...Fix-narrowing-errors-seen-with-clang.patch | 2 +- ...clude-libgen.h-on-musl-linux-systems.patch | 83 ------------------- ...proper-WAYLAND_INCLUDE_DIRS-variable.patch | 2 +- ...t-shader.c-do-not-hardcode-build-pat.patch | 2 +- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 5 files changed, 4 insertions(+), 88 deletions(-) delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch index 08e709b1d0..3c68aa8f4d 100644 --- a/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch +++ b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch @@ -1,4 +1,4 @@ -From 77f327909e4a99c64261290cd76e234e10cc64d2 Mon Sep 17 00:00:00 2001 +From 2fc1dbaae838eaa2f2ed8ab849c007e71ffddf31 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 3 May 2023 21:59:43 -0700 Subject: [PATCH] tests: Fix narrowing errors seen with clang diff --git a/meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch b/meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch deleted file mode 100644 index 2875dd52ec..0000000000 --- a/meta/recipes-graphics/piglit/piglit/0001-utils-Include-libgen.h-on-musl-linux-systems.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 6c852e6ac292008137a6f3a8aa908090bb5b4b11 Mon Sep 17 00:00:00 2001 -From: Erik Faye-Lund -Date: Tue, 19 Mar 2024 16:34:02 +0100 -Subject: [PATCH] properly check for libgen.h - -Some users are reporting that basename is not available when building on -Linux with musl libc. And since the POSIX spec[1] says that basename is -defined in libgen.h, we should include that when available. - -So let's properly detect the header, and include it if it exists. This -should hopefully make things a bit more robust. - -Since we're also including this from the CL program-tester, let's -rearrange the includes a bit so we know that config.h has been included. - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/888] -Reviewed-by: David Heidelberg -Signed-off-by: Khem Raj ---- - CMakeLists.txt | 1 + - tests/cl/program/program-tester.c | 5 ++++- - tests/util/config.h.in | 1 + - tests/util/piglit-util.h | 4 ++-- - 4 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dd2bf67125..5563fe0e20 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -492,6 +492,7 @@ check_include_file(unistd.h HAVE_UNISTD_H) - check_include_file(fcntl.h HAVE_FCNTL_H) - check_include_file(linux/sync_file.h HAVE_LINUX_SYNC_FILE_H) - check_include_file(endian.h HAVE_ENDIAN_H) -+check_include_file(libgen.h HAVE_LIBGEN_H) - - if(DEFINED PIGLIT_INSTALL_VERSION) - set(PIGLIT_INSTALL_VERSION_SUFFIX -diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c -index 97fe64906d..e47fb5aacc 100644 ---- a/tests/cl/program/program-tester.c -+++ b/tests/cl/program/program-tester.c -@@ -31,10 +31,13 @@ - #include - #include - #include --#include - - #include "piglit-framework-cl-program.h" - -+#ifdef HAVE_LIBGEN_H -+#include -+#endif -+ - /* Regexes */ - - /* -diff --git a/tests/util/config.h.in b/tests/util/config.h.in -index 8ed5af1709..437eb91418 100644 ---- a/tests/util/config.h.in -+++ b/tests/util/config.h.in -@@ -16,3 +16,4 @@ - #cmakedefine HAVE_SYS_RESOURCE_H 1 - #cmakedefine HAVE_UNISTD_H 1 - #cmakedefine HAVE_ENDIAN_H 1 -+#cmakedefine HAVE_LIBGEN_H 1 -diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h -index 4d3606c708..de999980b6 100644 ---- a/tests/util/piglit-util.h -+++ b/tests/util/piglit-util.h -@@ -52,8 +52,8 @@ extern "C" { - #include - #include - --#if defined(__APPLE__) || defined(__MINGW32__) --# include "libgen.h" // for basename -+#ifdef HAVE_LIBGEN_H -+# include // for basename - #elif defined(_MSC_VER) - - static inline char * --- -GitLab - diff --git a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch index 70bb55053d..92d4162033 100644 --- a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch +++ b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch @@ -1,4 +1,4 @@ -From cb8e4b99fcfe81399e3e6d922156db4a48a39a8e Mon Sep 17 00:00:00 2001 +From 251173a6d47c98debe7ecaea4469ebf8b02945ab Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 4 Oct 2018 14:43:17 +0200 Subject: [PATCH] cmake: use proper WAYLAND_INCLUDE_DIRS variable diff --git a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch index ce5cbd3ea9..b0a0b73500 100644 --- a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch +++ b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch @@ -1,4 +1,4 @@ -From 7d2d23125f1946a7b74f9a427388d469500fcd8d Mon Sep 17 00:00:00 2001 +From 2a76063d8e541623caf43b38bfb7f90f0a9d8ead Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 10 Nov 2020 17:13:50 +0000 Subject: [PATCH] tests/util/piglit-shader.c: do not hardcode build path into diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 99d75e64f8..9ada96c908 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -10,11 +10,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ - file://0001-utils-Include-libgen.h-on-musl-linux-systems.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "22eaf6a91cfd57f7bb3df4e5068c2ac1472d4ec1" +SRCREV = "8a6ce9c6fc5c8039665655bca4904d5601c6dba0" # (when PV goes above 1.0 remove the trailing r) PV = "1.0+gitr"