From unknown Sat Aug 16 23:42:00 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51962] python-libvirt build failure on core-updates-frozen Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Nov 2021 05:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51962 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51962@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163730009422969 (code B ref -1); Fri, 19 Nov 2021 05:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Nov 2021 05:34:54 +0000 Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwY1-0005yP-QK for submit@debbugs.gnu.org; Fri, 19 Nov 2021 00:34:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:55586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwY0-0005yG-15 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 00:34:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnwXz-0007GH-Rg for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:51 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:49902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnwXy-0003CG-97 for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:51 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnwXx-0005VE-Ap for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:49 -0500 Date: Fri, 19 Nov 2021 00:34:49 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, python-libvirt currently (commit dab4ce01044b2d960da7375735e9543a259f97d3) fails to build for me with: starting phase `build' running "python setup.py" with command "build" and parameters () running build /gnu/store/wc7lqi6kgki5qzr01g3gvriwdadjiwpc-pkg-config-0.29.2/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt /gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python generator.py libvirt /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml Found 492 functions in /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 402 wrapper functions Missing type converters: int *:1 ERROR: failed virNodeDeviceGetAutostart error: command '/gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python' failed with exit code 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f> phase `build' failed after 0.2 seconds command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1 builder for `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed with exit code 1 build of /gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv failed View build log at '/var/log/guix/drvs/c8/gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv.bz2'. guix build: error: build of `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed Updating python-libvirt to the latest release, 7.9.0 solves the problem. The only dependent package, virt-manager, as reported by `guix refresh -l` builds and works (I was able to connect to the graphical console of a VM running on a remote host). Tested on x86_64-linux. Best, Jack From unknown Sat Aug 16 23:42:00 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51962] [PATCH core-updates-frozen] gnu: python-libvirt: Update to 7.9.0. Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Nov 2021 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51962 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51962@debbugs.gnu.org Received: via spool by 51962-submit@debbugs.gnu.org id=B51962.163730022023197 (code B ref 51962); Fri, 19 Nov 2021 05:37:01 +0000 Received: (at 51962) by debbugs.gnu.org; 19 Nov 2021 05:37:00 +0000 Received: from localhost ([127.0.0.1]:37639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwa4-000625-6n for submit@debbugs.gnu.org; Fri, 19 Nov 2021 00:37:00 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:54428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwa0-00061q-Ea for 51962@debbugs.gnu.org; Fri, 19 Nov 2021 00:36:58 -0500 Received: from lib-its13.lib.duke.edu ([152.3.118.151] helo=localhost.localdomain) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnwZv-0005dQ-4D for 51962@debbugs.gnu.org; Fri, 19 Nov 2021 00:36:51 -0500 From: Jack Hill Date: Fri, 19 Nov 2021 00:36:39 -0500 Message-Id: <20211119053639.29161-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.33.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/virtualization.scm (python-libvirt): Update to 7.9.0. --- gnu/packages/virtualization.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 4eacbed224..e3e8beab6d 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1368,14 +1368,14 @@ (define-public libvirt-glib (define-public python-libvirt (package (name "python-libvirt") - (version "7.3.0") + (version "7.9.0") (source (origin (method url-fetch) (uri (string-append "https://libvirt.org/sources/python/libvirt-python-" version ".tar.gz")) (sha256 - (base32 "15pn8610ybf03xff3vbz3apz2ph42k2kh6k19r020l9nvc6jcv37")))) + (base32 "0nakisj2ady5a41k4zc95k0kp749f4ppmxgr91b1h1dzbzxcydc5")))) (build-system python-build-system) (arguments `(#:phases -- 2.33.1 From unknown Sat Aug 16 23:42:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jack Hill Subject: bug#51962: closed (python-libvirt build failure on core-updates-frozen) Message-ID: References: <87czmugc5x.fsf@elephly.net> X-Gnu-PR-Message: they-closed 51962 X-Gnu-PR-Package: guix-patches Reply-To: 51962@debbugs.gnu.org Date: Sun, 21 Nov 2021 08:13:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1637482381-11727-1" This is a multi-part message in MIME format... ------------=_1637482381-11727-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #51962: python-libvirt build failure on core-updates-frozen which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 51962@debbugs.gnu.org. --=20 51962: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51962 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1637482381-11727-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 51962-done) by debbugs.gnu.org; 21 Nov 2021 08:12:35 +0000 Received: from localhost ([127.0.0.1]:44080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mohxj-00032R-Jb for submit@debbugs.gnu.org; Sun, 21 Nov 2021 03:12:35 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mohxi-00032H-6o for 51962-done@debbugs.gnu.org; Sun, 21 Nov 2021 03:12:34 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1637482352; cv=none; d=zohomail.com; s=zohoarc; b=ElzZ+wH4tM/dxapXP2YWz+QyMj3yuAZpBs+UYpsQoVHFOYkS6CiB0x49SaY3GUj+iZ+u7xW/QUGtwJ64LRwssWr9V656FWiG/auR/OlnJvVwzg0fPVK8UFRTf4o4NkwZG0/QTxtfUQ26+VvjPD3v0y2dagH/Wg7hL53595x6BRA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1637482352; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=3LCJeAkqHP+viUGGTTBiFAY0tYhQxN90a+yCmxUOxzg=; b=IvQC3lBoSyAg7cJ0HPlqDYar6YCzVmCQNT572wyMfP/1+Qr4iiJqH8U28HqOuMSVoUVw30INuHMopDVqnnVutDZXGsK7FQyo9IXFF45IblE2nTAGKQtrWSpG3bRa7o8E/DqUL7ZEsMGH0y6toQ9t1ubBtsEtvmM5IPsIDjpC/9o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1637482352; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=3LCJeAkqHP+viUGGTTBiFAY0tYhQxN90a+yCmxUOxzg=; b=NHHeeOyMf8+Xd3Gy8UU4tB90JR/J+Hd7ayg/N2V1UaRk863T4OUvKyz7HfR3CsYe 5j0yBfEOjqcWqY+GnbiWqzYJL0LGnCTVqDzHsmQyk/AOXaZ8IYBpy2Yzx/JWhEaQWoW qw+9QyAiFF/2M4eVUn4cHl14St0TNaFRzWzbnSnc= Received: from localhost (p508e8dd2.dip0.t-ipconnect.de [80.142.141.210]) by mx.zohomail.com with SMTPS id 1637482349728853.6745729307454; Sun, 21 Nov 2021 00:12:29 -0800 (PST) User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus To: 51962-done@debbugs.gnu.org Subject: python-libvirt build failure on core-updates-frozen Date: Sun, 21 Nov 2021 08:11:42 +0000 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87czmugc5x.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51962-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thank you, I just applied your patch. -- Ricardo ------------=_1637482381-11727-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Nov 2021 05:34:54 +0000 Received: from localhost ([127.0.0.1]:37634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwY1-0005yP-QK for submit@debbugs.gnu.org; Fri, 19 Nov 2021 00:34:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:55586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnwY0-0005yG-15 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 00:34:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnwXz-0007GH-Rg for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:51 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:49902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnwXy-0003CG-97 for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:51 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnwXx-0005VE-Ap for guix-patches@gnu.org; Fri, 19 Nov 2021 00:34:49 -0500 Date: Fri, 19 Nov 2021 00:34:49 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: guix-patches@gnu.org Subject: python-libvirt build failure on core-updates-frozen Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi Guix, python-libvirt currently (commit dab4ce01044b2d960da7375735e9543a259f97d3) fails to build for me with: starting phase `build' running "python setup.py" with command "build" and parameters () running build /gnu/store/wc7lqi6kgki5qzr01g3gvriwdadjiwpc-pkg-config-0.29.2/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt /gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python generator.py libvirt /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml Found 492 functions in /gnu/store/qzm4ggs2k0wsi0wxvvcaq5kmrmpjrpzv-libvirt-7.9.0/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 402 wrapper functions Missing type converters: int *:1 ERROR: failed virNodeDeviceGetAutostart error: command '/gnu/store/3282r97il61j9jkv2aaifa3nwdylzfsv-python-wrapper-3.9.6/bin/python' failed with exit code 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f> phase `build' failed after 0.2 seconds command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1 builder for `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed with exit code 1 build of /gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv failed View build log at '/var/log/guix/drvs/c8/gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv.bz2'. guix build: error: build of `/gnu/store/c8gchxa3f1xq33a118bp6hfvn02dr93c-python-libvirt-7.3.0.drv' failed Updating python-libvirt to the latest release, 7.9.0 solves the problem. The only dependent package, virt-manager, as reported by `guix refresh -l` builds and works (I was able to connect to the graphical console of a VM running on a remote host). Tested on x86_64-linux. Best, Jack ------------=_1637482381-11727-1--