From patchwork Fri Mar 1 22:05:17 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: 40365 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 1D3FEC54EE8 for ; Fri, 1 Mar 2024 22:05:21 +0000 (UTC) Received: from a27-45.smtp-out.us-west-2.amazonses.com (a27-45.smtp-out.us-west-2.amazonses.com [54.240.27.45]) by mx.groups.io with SMTP id smtpd.web10.36650.1709330718408459895 for ; Fri, 01 Mar 2024 14:05:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=OAywQ80Y; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=S3n3sfv4; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.45, mailfrom: 0101018dfc0cda1d-48573220-1fc9-45a1-8132-be37a3f341d6-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=1709330717; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=2jg/0tmnpICx1iQBxShuh5/QmVroX1H6LvHP8yPjZJI=; b=OAywQ80Y96rsNvfMO95KfQzQEnLyEKcgazykOqpM1iXmKudmKCFT/MB7QrQEViMv 7z7GI3tnb390v5j+3NCVG4WsNl1hh5MLXGCezQxo0REV6tlePozQ7MG8V3TtqqpvmWE KF2FHIuPhrmDGDaR2W8idXorPVwhOHvUj2vin4qM= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1709330717; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=2jg/0tmnpICx1iQBxShuh5/QmVroX1H6LvHP8yPjZJI=; b=S3n3sfv4XlrbBkINI7AvuAj5wipD0rJzU7Z4+rF69FBQTSDhdzv3OToO4Sn9JU9r lRHUcvmW82AVwXe6CZsVSIO1VWNxKRmQoTLH4emKq1+9jDzKxpkAmF3+yN37Ane7flz zP0T81IAO4p/gq0b9nCV7TQnrktitrCt89H2uI1A= MIME-Version: 1.0 From: auh@yoctoproject.org To: Wang Mingyu Cc: openembedded-core@lists.openembedded.org Subject: [AUH] libpciaccess: upgrading to 0.18 FAILED Message-ID: <0101018dfc0cda1d-48573220-1fc9-45a1-8132-be37a3f341d6-000000@us-west-2.amazonses.com> Date: Fri, 1 Mar 2024 22:05:17 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.03.01-54.240.27.45 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, 01 Mar 2024 22:05:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/196543 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *libpciaccess* to *0.18* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-libpciaccess-upgrade-0.17-0.18.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 c748a4c41a2ecaf4efcbe0d720c2faa67ab3a054 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 1 Mar 2024 17:31:28 +0000 Subject: [PATCH] libpciaccess: upgrade 0.17 -> 0.18 --- ...pwrite-pread-instead-of-64bit-versio.patch | 39 ------------------- ...pciaccess_0.17.bb => libpciaccess_0.18.bb} | 28 +++++++++++-- 2 files changed, 24 insertions(+), 43 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/libpciaccess/0001-linux_sysfs-Use-pwrite-pread-instead-of-64bit-versio.patch rename meta/recipes-graphics/xorg-lib/{libpciaccess_0.17.bb => libpciaccess_0.18.bb} (24%) diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess/0001-linux_sysfs-Use-pwrite-pread-instead-of-64bit-versio.patch b/meta/recipes-graphics/xorg-lib/libpciaccess/0001-linux_sysfs-Use-pwrite-pread-instead-of-64bit-versio.patch deleted file mode 100644 index 512a473e20..0000000000 --- a/meta/recipes-graphics/xorg-lib/libpciaccess/0001-linux_sysfs-Use-pwrite-pread-instead-of-64bit-versio.patch +++ /dev/null @@ -1,39 +0,0 @@ -From d20ff4f2e4feaafa6a6191b9cae3815b85617943 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 11 Nov 2022 11:15:58 -0800 -Subject: [PATCH] linux_sysfs: Use pwrite/pread instead of 64bit versions - -pread64/pwrite64 are aliased to pread/pwrite when largefile support is -enabled e.g. using _FILE_OFFSET_BITS=64 macro - -Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/merge_requests/26] -Signed-off-by: Khem Raj ---- - src/linux_sysfs.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c -index d62f48c..20c800e 100644 ---- a/src/linux_sysfs.c -+++ b/src/linux_sysfs.c -@@ -462,7 +462,7 @@ pci_device_linux_sysfs_read( struct pci_device * dev, void * data, - - - while ( temp_size > 0 ) { -- const ssize_t bytes = pread64( fd, data_bytes, temp_size, offset ); -+ const ssize_t bytes = pread( fd, data_bytes, temp_size, offset ); - - /* If zero bytes were read, then we assume it's the end of the - * config file. -@@ -522,7 +522,7 @@ pci_device_linux_sysfs_write( struct pci_device * dev, const void * data, - - - while ( temp_size > 0 ) { -- const ssize_t bytes = pwrite64( fd, data_bytes, temp_size, offset ); -+ const ssize_t bytes = pwrite( fd, data_bytes, temp_size, offset ); - - /* If zero bytes were written, then we assume it's the end of the - * config file. --- -2.38.1 - diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.17.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.bb similarity index 24% rename from meta/recipes-graphics/xorg-lib/libpciaccess_0.17.bb rename to meta/recipes-graphics/xorg-lib/libpciaccess_0.18.bb index 54bdb08976..d275076043 100644 --- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.17.bb +++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.18.bb @@ -1,3 +1,25 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- COPYING +# +++ COPYING +# @@ -2,7 +2,7 @@ +# (C) Copyright Eric Anholt 2006 +# (C) Copyright Mark Kettenis 2011 +# (C) Copyright Robert Millan 2012 +# -Copyright (c) 2007, 2008, 2009, 2011, 2012, 2013 Oracle and/or its affiliates. +# +Copyright (c) 2007, 2008, 2009, 2011, 2012, 2016 Oracle and/or its affiliates. +# Copyright 2009, 2012 Red Hat, Inc. +# All Rights Reserved. +# +# +# + SUMMARY = "Generic PCI access library for X" DESCRIPTION = "libpciaccess provides functionality for X to access the \ @@ -5,12 +27,10 @@ PCI bus and devices in a platform-independent way." require xorg-lib-common.inc -SRC_URI += "file://0001-linux_sysfs-Use-pwrite-pread-instead-of-64bit-versio.patch" - -SRC_URI[sha256sum] = "74283ba3c974913029e7a547496a29145b07ec51732bbb5b5c58d5025ad95b73" +SRC_URI[sha256sum] = "5461b0257d495254346f52a9c329b44b346262663675d3fecdb204a7e7c262a9" LICENSE = "MIT & MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=277aada5222b9a22fbf3471ff3687068" +LIC_FILES_CHKSUM = "file://COPYING;md5=54c978968e565218eea36cf03ef24352" REQUIRED_DISTRO_FEATURES = ""