From patchwork Thu Feb 15 17:32:27 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: 39359 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 A6136C5475B for ; Thu, 15 Feb 2024 17:32:30 +0000 (UTC) Received: from a27-192.smtp-out.us-west-2.amazonses.com (a27-192.smtp-out.us-west-2.amazonses.com [54.240.27.192]) by mx.groups.io with SMTP id smtpd.web11.20349.1708018347879297757 for ; Thu, 15 Feb 2024 09:32:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=OGq2EqZp; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=nY0wprP6; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.192, mailfrom: 0101018dadd3ad73-21049f37-a985-4eee-a2e6-9c95a0a13b7e-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1708018347; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=q9kHPYw8igBKjsClabcnOM+UY2092+ena+p7fPUOOhA=; b=OGq2EqZpyHLQLOYPrNyHi27QwHFfPk3F1b5Yj/UA03UTkpRYF96ddZILAcjxgfBK SDmfeWHQeIK0KjuoK18H9gaZChNkp6PFkqS0ZS6B4ZiT+OWE2tuOvGZhD5YPbgRMczN psxNLMDMsQvHXpvutbnQXZ9x61h2YHfCZ2Z1f9lU= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1708018347; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=q9kHPYw8igBKjsClabcnOM+UY2092+ena+p7fPUOOhA=; b=nY0wprP6da6khcAabqSsFiMkOJuRrN/Kpy3nkb71O70ASQpyJK7DkIHLepT4PlXe n8dyhX5Orlsv7eLYV4i6iKGV/tvOLOJMAbG+y9D0lFMsPYpf3Dw2vdXinR6gMczAAEK 8fnWebskJXN9IGtZAc7VNYfqN4PkL+seyj5xcCYc= MIME-Version: 1.0 From: auh@yoctoproject.org To: Anuj Mittal Cc: openembedded-core@lists.openembedded.org Subject: [AUH] libusb1: upgrading to 1.0.27 FAILED Message-ID: <0101018dadd3ad73-21049f37-a985-4eee-a2e6-9c95a0a13b7e-000000@us-west-2.amazonses.com> Date: Thu, 15 Feb 2024 17:32:27 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.02.15-54.240.27.192 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 ; Thu, 15 Feb 2024 17:32:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/195676 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *libusb1* to *1.0.27* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-libusb1-upgrade-1.0.26-1.0.27.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 95b00d25e1be62244b8dc97db0187821640a5a6e Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 15 Feb 2024 17:19:13 +0000 Subject: [PATCH] libusb1: upgrade 1.0.26 -> 1.0.27 --- ...k-with-latomic-only-if-no-atomic-bui.patch | 46 ------------------- .../{libusb1_1.0.26.bb => libusb1_1.0.27.bb} | 5 +- 2 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 meta/recipes-support/libusb/libusb1/0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch rename meta/recipes-support/libusb/{libusb1_1.0.26.bb => libusb1_1.0.27.bb} (87%) diff --git a/meta/recipes-support/libusb/libusb1/0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch b/meta/recipes-support/libusb/libusb1/0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch deleted file mode 100644 index 3c223e0822..0000000000 --- a/meta/recipes-support/libusb/libusb1/0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 95e601ce116dd46ea7915c171976b85ea0905d58 Mon Sep 17 00:00:00 2001 -From: Lonnie Abelbeck -Date: Sun, 8 May 2022 14:05:56 -0500 -Subject: [PATCH] configure.ac: Link with -latomic only if no atomic builtins - -Follow-up to 561dbda, a check of GCC atomic builtins needs to be done -first. - -I'm no autoconf guru, but using this: -https://github.com/mesa3d/mesa/blob/0df485c285b73c34ba9062f0c27e55c3c702930d/configure.ac#L469 -as inspiration, I created a pre-check before calling AC_SEARCH_LIBS(...) - -Fixes #1135 -Closes #1139 -Upstream-Status: Backport [https://github.com/kraj/libusb/commit/95e601ce116dd46ea7915c171976b85ea0905d58] -Signed-off-by: Khem Raj ---- - configure.ac | 16 +++++++++++++++- - libusb/version_nano.h | 2 +- - 2 files changed, 16 insertions(+), 2 deletions(-) - ---- a/configure.ac -+++ b/configure.ac -@@ -153,7 +153,21 @@ if test "x$platform" = xposix; then - AC_SEARCH_LIBS([pthread_create], [pthread], - [test "x$ac_cv_search_pthread_create" != "xnone required" && AC_SUBST(THREAD_LIBS, [-lpthread])], - [], []) -- AC_SEARCH_LIBS([__atomic_fetch_add_4], [atomic]) -+ dnl Check for new-style atomic builtins. We first check without linking to -latomic. -+ AC_MSG_CHECKING(whether __atomic_load_n is supported) -+ AC_LINK_IFELSE([AC_LANG_SOURCE([[ -+ #include -+ int main() { -+ struct { -+ uint64_t *v; -+ } x; -+ return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) & -+ (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); -+ }]])], GCC_ATOMIC_BUILTINS_SUPPORTED=yes, GCC_ATOMIC_BUILTINS_SUPPORTED=no) -+ AC_MSG_RESULT($GCC_ATOMIC_BUILTINS_SUPPORTED) -+ if test "x$GCC_ATOMIC_BUILTINS_SUPPORTED" != xyes; then -+ AC_SEARCH_LIBS([__atomic_fetch_add_4], [atomic]) -+ fi - elif test "x$platform" = xwindows; then - AC_DEFINE([PLATFORM_WINDOWS], [1], [Define to 1 if compiling for a Windows platform.]) - else diff --git a/meta/recipes-support/libusb/libusb1_1.0.26.bb b/meta/recipes-support/libusb/libusb1_1.0.27.bb similarity index 87% rename from meta/recipes-support/libusb/libusb1_1.0.26.bb rename to meta/recipes-support/libusb/libusb1_1.0.27.bb index 2af6fcdea7..f4af2bb977 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.26.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.27.bb @@ -11,14 +11,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" BBCLASSEXTEND = "native nativesdk" SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libusb-${PV}.tar.bz2 \ - file://0001-configure.ac-Link-with-latomic-only-if-no-atomic-bui.patch \ file://run-ptest \ - " + " GITHUB_BASE_URI = "https://github.com/libusb/libusb/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P\d+(\.\d+)+)$" -SRC_URI[sha256sum] = "12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5" +SRC_URI[sha256sum] = "ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575" S = "${WORKDIR}/libusb-${PV}"