From unknown Sun Aug 10 02:41:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75786: python-fastbencode does not build the C extensions Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Jan 2025 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75786 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75786@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173764449313855 (code B ref -1); Thu, 23 Jan 2025 15:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2025 15:01:33 +0000 Received: from localhost ([127.0.0.1]:41831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tayi4-0003bP-SO for submit@debbugs.gnu.org; Thu, 23 Jan 2025 10:01:33 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37602) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tayi2-0003b4-8i for submit@debbugs.gnu.org; Thu, 23 Jan 2025 10:01:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tayhl-000532-S1 for bug-guix@gnu.org; Thu, 23 Jan 2025 10:01:22 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tayhd-0004dz-1v for bug-guix@gnu.org; Thu, 23 Jan 2025 10:01:08 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9CFB6240103 for ; Thu, 23 Jan 2025 16:01:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737644460; bh=gw+sb9CZQei565urqZNZt9UexlC1QAP1GkPwvOJuins=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=cfdzgtAMBSxw3j7210usCq5+5LIyc/FCdcvTO3qoSpja+yzXSQ7R3eAwPkqg1v2jg DLLM7tUM0L2mGioWGj8hn3PVBLYpF68THobY4adACEtQi98GJjLTfEXGbzeYsH46mD L3Xk52rF4ZbVgg0AQxQf/8OsS1EgB8LGhjEdr9b4XDfl6gzAgZdqN8AJTmyxrGooYI +WhjF4y/EYfewGH7Sc7mMTMBy54xtbLiKuxrSwCJ+WEdbBP9HX7CwaXv6ZTNxl9dlk vWbjEAVt7Ebk+fp4/g7mRov+1Etjp7ilRat4rtwTJtqgEs6PFS2b0yXhLvR2r78zph KR9j9l4jnXtJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Yf3zc1pBBz6txT for ; Thu, 23 Jan 2025 16:01:00 +0100 (CET) Message-ID: <1b7d3291-b6e5-471a-b9b7-d708e5429cdc@posteo.net> Date: Thu, 23 Jan 2025 15:00:46 +0000 MIME-Version: 1.0 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.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: -0.0 (/) Hello, while troubleshooting some python things i got the following warning UserWarning: failed to load compiled extension: No module named 'fastbencode._bencode_pyx' Reason seems to be that something goes wrong during building: Snippet of build log at 4241a5a4688e8a118b2f66423abd3ef8baae98fc running build_ext cythoning fastbencode/_bencode_pyx.pyx to fastbencode/_bencode_pyx.c Error compiling Cython file: ------------------------------------------------------------ ... from cpython.mem cimport ( PyMem_Free, PyMem_Malloc, PyMem_Realloc, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ fastbencode/_bencode_pyx.pyx:49:0: 'cpython/unicode/PyUnicode_FromStringAndSize.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError('string size below zero: %d' % n) if self._bytestring_encoding == NULL: result = PyBytes_FromStringAndSize(self.tail, n) elif self._bytestring_encoding == b'utf-8': result = PyUnicode_FromStringAndSize(self.tail, n) ^ ------------------------------------------------------------ fastbencode/_bencode_pyx.pyx:201:21: 'PyUnicode_FromStringAndSize' is not a constant, variable or function identifier building 'fastbencode._bencode_pyx' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/fastbencode gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -Ifastbencode -I/gnu/store/kayi1a27qjbizw1870vgpwd6mzcdggql-python-3.10.7/include/python3.10 -c fastbencode/_bencode_pyx.c -o build/temp.linux-x86_64-cpython-310/fastbencode/_bencode_pyx.o fastbencode/_bencode_pyx.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 1 | #error Do not use this file, it is the result of a failed Cython compilation. | ^~~~~ warning: old_build_ext: building extension "fastbencode._bencode_pyx" failed: command '/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/gcc' failed with exit code 1 From unknown Sun Aug 10 02:41:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#75786: [PATCH] gnu: python-fastbencode: Use python-cython-3 References: <1b7d3291-b6e5-471a-b9b7-d708e5429cdc@posteo.net> In-Reply-To: <1b7d3291-b6e5-471a-b9b7-d708e5429cdc@posteo.net> Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, bug-guix@gnu.org Resent-Date: Fri, 24 Jan 2025 07:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75786 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75786@debbugs.gnu.org Cc: Dariqq , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 75786-submit@debbugs.gnu.org id=B75786.17377051582740 (code B ref 75786); Fri, 24 Jan 2025 07:53:01 +0000 Received: (at 75786) by debbugs.gnu.org; 24 Jan 2025 07:52:38 +0000 Received: from localhost ([127.0.0.1]:43461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbEUX-0000i8-Sm for submit@debbugs.gnu.org; Fri, 24 Jan 2025 02:52:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54967) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbEUS-0000hn-SK for 75786@debbugs.gnu.org; Fri, 24 Jan 2025 02:52:35 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EB89E240101 for <75786@debbugs.gnu.org>; Fri, 24 Jan 2025 08:52:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737705144; bh=rEPcOWyvkv3e4LiDj1jF3Vn2NuG2UmTeCksk+zQ8ZV4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=MhKBUSAnVB7UEaoIh1mbI6XkYGapNM6Zo3PYRve5vq10OMLhkablfk9Km77in6RxB ZlcSN4n3QpXNd3i+WKYqw7axt+UItZ22A9FEbAj07TVnGlE4ay9yjIHo1IwZq+jxLS +Q897ypYPNJd54q/MdwyCJBjDFHvzyZqTQvpVUWeR2rbxkYOVyY00Uyaj1fBl++C1f 6sl9fO8cRCmBUnyTaS6fJlSWgl0Okbe/Z0ZoTXI1RImIMU17Dsp1+bhOymK/iMprxU aUERNqYrX1tj+KKGzqN5qIewFoag/GT6+mjuBTmhYAzvd1cmGh98GSKyuipkZHpHR0 bPKsi5uNWTyAQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YfVQZ6vCtz6tvZ; Fri, 24 Jan 2025 08:52:22 +0100 (CET) From: Dariqq Date: Fri, 24 Jan 2025 07:51:25 +0000 Message-ID: <16002e3a91db09114f566af58e242849bb011de1.1737705085.git.dariqq@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) The c extension does not build with regular python-cython. * gnu/packages/python-xyz.scm (python-fastbencode)[native-inputs]: Replace python-cython with with python-cython-3. Change-Id: I9ecfdcfe1ff9fe8b3e5977d452f655b842e4d52d --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9e5fa9a26c..2435ca8e98 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18345,7 +18345,7 @@ (define-public python-fastbencode (sha256 (base32 "15x1in22gwam7wwga5lbj1pd8hc9jk741pia3pv1m29n2xywpq2z")))) (build-system python-build-system) - (native-inputs (list python-cython)) + (native-inputs (list python-cython-3)) (home-page "https://github.com/breezy-team/fastbencode") (synopsis "Python Bencode (de)serializer with optional fast C extensions") (description base-commit: 4241a5a4688e8a118b2f66423abd3ef8baae98fc -- 2.47.1 From unknown Sun Aug 10 02:41:46 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: Dariqq Subject: bug#75786: closed (python-fastbencode does not build the C extensions) Message-ID: References: <87plkcgys2.fsf@gmail.com> <1b7d3291-b6e5-471a-b9b7-d708e5429cdc@posteo.net> X-Gnu-PR-Message: they-closed 75786 X-Gnu-PR-Package: guix Reply-To: 75786@debbugs.gnu.org Date: Fri, 24 Jan 2025 12:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1737723182-25456-1" This is a multi-part message in MIME format... ------------=_1737723182-25456-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75786: python-fastbencode does not build the C extensions which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75786@debbugs.gnu.org. --=20 75786: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75786 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1737723182-25456-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75786-done) by debbugs.gnu.org; 24 Jan 2025 12:52:08 +0000 Received: from localhost ([127.0.0.1]:44083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbJAN-0006ao-PA for submit@debbugs.gnu.org; Fri, 24 Jan 2025 07:52:08 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:59838) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tbJAL-0006a9-N4 for 75786-done@debbugs.gnu.org; Fri, 24 Jan 2025 07:52:06 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-436281c8a38so14464715e9.3 for <75786-done@debbugs.gnu.org>; Fri, 24 Jan 2025 04:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737723119; x=1738327919; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=X8U/9oDPNQIA3fuOk3DDpFCq0ch7tJspWulqZpcjvt4=; b=F4UjzUX4U/+VyQ4ImMrAoEOksJbuUd1RrH3fqdpysyeEr8+bjiL8uTa9C+BkEsrBDY +jc89GTeFFvSckKUjmfvCrT4jHoAgLehlo6eSwjb2GH6HqlvNq2uu8KV5CY0we3yN9Xe sXKWcaN2EjpPTgc/3aANUK/UJnyJ2UVjj9+PK+vzclPDEU2lPnMQ5M8G2VQafG/qkLP+ ycs2EsPrW49SUUNjmuI8JnZTWeHash4AXRkLozuGKgu0slUuWhu++zD7PbowfZ5JRzhp Qlw94KFhD5dLa9ON6edQUcJVgTWluSs3JRarcwgyCxYGuExEyFdK93RRGv33v6xP4eMo HS+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737723119; x=1738327919; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X8U/9oDPNQIA3fuOk3DDpFCq0ch7tJspWulqZpcjvt4=; b=BO/brCZhL5MxhAgb4yhtfN5SWNSvDweM3nZm8J97BlF1trFi9ysk+fszdq2giDJtM3 xGSsIAYuZSxlfB6/Y+VBacqVzT+yRKx2qxYD6CsKgU3sD0v5hN0X8aMRYKFQxECtxVoe rHOgL6+9lYRjethU25e0xfxZ7nBRXAqaXWHEUx22tuhy1/+HUebftG0b15E6VvXDtZv5 eIgmaD+Rs/Gjj5cUQIidF4YRmjTZhudBF0ynJw4dRIPyTnek55FnRrF0bHb6Muje2tKQ gPV/BSVR9qjMPbLzxbqLLY2vvlSFKmtjk56eWROsVwmXIJNed1yPAAfBK/iCNKCP2ivL NdZw== X-Gm-Message-State: AOJu0Yz3AeaOVst5cO9zZNHWUBCjDGmWrsppa10BR2LLwEGkLwifPouq K4FtTKZMEwNFLj3U5sB+xDCdBnUfK6Mehkcjdp2/sgxe0USQhaRQ5Iw/sHAQ X-Gm-Gg: ASbGncufpEAXdnowMO+LhaiDuTj8UV4XRgUgoRSeThLPxoj3KqqCjN1P3/FxCMKBKk7 MZt0DHtVBkIz/r5tvSsnyypNsEIiuPzRkNjS02veLAHQy2MTrthBgemg2SAPck5KlNMpM2M8fPC Oz1y/zBOG7BSnipc6VWqJU/ZlgZ6ifNbKCjnLl0/Z6087BMrFRPVSGAurRtNlEUNkWyjvCv4A1z F+qVazpsVr3xlY+hDxlA5Ct6QQfJFK7LJZsikkWKy08At9XyF6u6xIZ0kyTsWpVcCw2Mmq16hMb /k6bk/m88RrHJi9XCKPJjKdDxRNuAtInYb/fv6tB8nV/R065g+4Y1Nic X-Google-Smtp-Source: AGHT+IGwqBu/sJtBcl7tSvYgWHOyBxFTzAUl1WOvjlI2FJfD+9VKzyJjs+v2Zi92qw2DnsRUzkSo9g== X-Received: by 2002:a05:6000:1faa:b0:38a:88e2:e703 with SMTP id ffacd0b85a97d-38bf56622e6mr30074159f8f.13.1737723119413; Fri, 24 Jan 2025 04:51:59 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1bbc8dsm2595877f8f.72.2025.01.24.04.51.58 for <75786-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 04:51:58 -0800 (PST) From: Sharlatan Hellseher To: 75786-done@debbugs.gnu.org Subject: python-fastbencode does not build the C extensions Date: Fri, 24 Jan 2025 12:51:57 +0000 Message-ID: <87plkcgys2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 75786-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 (-) --=-=-= Content-Type: text/plain Hi, It's built just fine now, thanks. --8<---------------cut here---------------start------------->8--- > ./pre-inst-env guix build -P 1 python-fastbencode guix build: computing dependents of package python-fastbencode@0.3.1... /gnu/store/krw4kw3hx4gv01p8i2n11iwcfy9gc3ig-python-fastbencode-0.3.1 /gnu/store/c8w87k9vpq6idl572146lnv8d7is2nn9-breezy-3.2.2 --8<---------------cut here---------------end--------------->8--- Pushed as: origin/master 4dacc7856152278563011d8c00af645407ac8835 -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmeTjO0ACgkQdtcnv/Ys 0rVGZg//U5/8s0nFcpcH+BDyaCx3BAccQJ4yeNDVJM4P7IGb1rZckn5hr310uChm tm6q5oGrPr5TlR04BobklRIpxbbSWUcJ/CiEYh1PcWjiRe8l34VOSir9Kpv/hw44 YZ0ESLACBnoKMWuzZE5+fq0ixpU6gtbpXhQICyUk6kmSoToEMQqudSS5j+A5+c6k N+8JaMnHZCh2qSt80z5Kb9XgN/jxbILnNg0qNuHuW8x/rsAsO2aJEqmtGELupRRl v+21tqnDerbaXOJ4p86ocnk1m2idmNE+X7ulmsX7Y2PH06wcy3d9n0on0PYK4RP0 cdji57w6te0W/LvjpdTpiNEAyHySNwrkhzeyobcagbL1dYNQvlx8J8HdPWhilou+ I0N/Iq5XEb23ijup3BESJ2cRp0LNpYgFk2b3l22HIfBJRV+tJuNzqnBEB+qCYbzu sylmCfsRy2Skp6jxgGG4XND49Vly7zWk2nFK0Aqn3LvXVY7ic9gxJN1WfctrYaV6 +uHF3bXiOFBDnoawzP5VNRc3hr3A8m8YTfMsEeFLbwlvQuUxNbIhUMBx0qhKDoIv +fET+o+1wZ84+Qcfc3UXCbNsHiRVUtexrJ0pb2v+JVcwqXWvjNOgL5gSDuQOcpqZ y9p2hBAyEC+8T0LlRjQGyHKfnZilwka9Uno3HFxBlnVtqK965Es= =RBxj -----END PGP SIGNATURE----- --=-=-=-- ------------=_1737723182-25456-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 23 Jan 2025 15:01:33 +0000 Received: from localhost ([127.0.0.1]:41831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tayi4-0003bP-SO for submit@debbugs.gnu.org; Thu, 23 Jan 2025 10:01:33 -0500 Received: from lists.gnu.org ([2001:470:142::17]:37602) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tayi2-0003b4-8i for submit@debbugs.gnu.org; Thu, 23 Jan 2025 10:01:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tayhl-000532-S1 for bug-guix@gnu.org; Thu, 23 Jan 2025 10:01:22 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tayhd-0004dz-1v for bug-guix@gnu.org; Thu, 23 Jan 2025 10:01:08 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9CFB6240103 for ; Thu, 23 Jan 2025 16:01:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737644460; bh=gw+sb9CZQei565urqZNZt9UexlC1QAP1GkPwvOJuins=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=cfdzgtAMBSxw3j7210usCq5+5LIyc/FCdcvTO3qoSpja+yzXSQ7R3eAwPkqg1v2jg DLLM7tUM0L2mGioWGj8hn3PVBLYpF68THobY4adACEtQi98GJjLTfEXGbzeYsH46mD L3Xk52rF4ZbVgg0AQxQf/8OsS1EgB8LGhjEdr9b4XDfl6gzAgZdqN8AJTmyxrGooYI +WhjF4y/EYfewGH7Sc7mMTMBy54xtbLiKuxrSwCJ+WEdbBP9HX7CwaXv6ZTNxl9dlk vWbjEAVt7Ebk+fp4/g7mRov+1Etjp7ilRat4rtwTJtqgEs6PFS2b0yXhLvR2r78zph KR9j9l4jnXtJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Yf3zc1pBBz6txT for ; Thu, 23 Jan 2025 16:01:00 +0100 (CET) Message-ID: <1b7d3291-b6e5-471a-b9b7-d708e5429cdc@posteo.net> Date: Thu, 23 Jan 2025 15:00:46 +0000 MIME-Version: 1.0 Content-Language: en-US To: bug-guix@gnu.org From: Dariqq Subject: python-fastbencode does not build the C extensions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=dariqq@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Hello, while troubleshooting some python things i got the following warning UserWarning: failed to load compiled extension: No module named 'fastbencode._bencode_pyx' Reason seems to be that something goes wrong during building: Snippet of build log at 4241a5a4688e8a118b2f66423abd3ef8baae98fc running build_ext cythoning fastbencode/_bencode_pyx.pyx to fastbencode/_bencode_pyx.c Error compiling Cython file: ------------------------------------------------------------ ... from cpython.mem cimport ( PyMem_Free, PyMem_Malloc, PyMem_Realloc, ) from cpython.unicode cimport ( ^ ------------------------------------------------------------ fastbencode/_bencode_pyx.pyx:49:0: 'cpython/unicode/PyUnicode_FromStringAndSize.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... raise ValueError('string size below zero: %d' % n) if self._bytestring_encoding == NULL: result = PyBytes_FromStringAndSize(self.tail, n) elif self._bytestring_encoding == b'utf-8': result = PyUnicode_FromStringAndSize(self.tail, n) ^ ------------------------------------------------------------ fastbencode/_bencode_pyx.pyx:201:21: 'PyUnicode_FromStringAndSize' is not a constant, variable or function identifier building 'fastbencode._bencode_pyx' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/fastbencode gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fPIC -Ifastbencode -I/gnu/store/kayi1a27qjbizw1870vgpwd6mzcdggql-python-3.10.7/include/python3.10 -c fastbencode/_bencode_pyx.c -o build/temp.linux-x86_64-cpython-310/fastbencode/_bencode_pyx.o fastbencode/_bencode_pyx.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. 1 | #error Do not use this file, it is the result of a failed Cython compilation. | ^~~~~ warning: old_build_ext: building extension "fastbencode._bencode_pyx" failed: command '/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/gcc' failed with exit code 1 ------------=_1737723182-25456-1--