From nobody Wed Jan 31 08:21:28 2024
X-Original-To: python@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPw3t3Kr7z58kZv
	for <python@mlmmj.nyi.freebsd.org>; Wed, 31 Jan 2024 08:21:30 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4TPw3t0q5yz43TC
	for <python@FreeBSD.org>; Wed, 31 Jan 2024 08:21:30 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1706689290;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=H+A7dNbAgUsXKuvRUnONDph9Np4iA94WFEBq2f+EYYg=;
	b=ZWlBIH8jcQURYTXmvwQyT7tOnFcLuBazs1P0G0sDqGSVGkfsWptxDDlMGCyGrE4+fU/hCR
	q2iSIF+WchWrmvAnHx8NuTRGGaBR//xfbEQY0Nm4LXPW7Arpv+gboq3na8pJAupik1ZLx6
	GEY68H36t9g48dxIpYdf4xzB1ekgqx4BTrvrOENrP+/W+Wle2D8+2Sfl9AuAA/nNj+4G1G
	LLqRFG44bIJKMvSLp95A1fznZAnqIeHNP/bsYTvCJ/Ix2EoD19efOy3ORA1TrI3smbvX7w
	lucPvUNM6r4kWb3TRIysixbgKAADLGtxwd73mJ2qLTCMPOVqCAJ0JPcJ7T37rA==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706689290; a=rsa-sha256; cv=none;
	b=wQM0kf3zLZisz19F8Pjm9xrHbyELmdivR3wuIf+/caVNeUxNvbzUo+nNgMA7S0B7b3fYTd
	KIAcRtPFupG52UrUbf3OptjIgZlRt8oH2puUzmQdoaqfRLGguuTmT+ZXHyMUumCtE3xbiR
	T3UtqoTDn9/EEt9JO9rC/QIsFp+7eAmtUfp85q+hjT5JfA4S0A0fTOwkkxEgWPgIm6fEAf
	v8bMQDko7SwAcFZ9Yy2HLO842d1whkQ4HVSpWX/obT3OoDssAayy49i1ZkVFDYRIJhiZ6M
	+bXxxfw96bnCfliYlFpjQENmxDK5Qaac43w9yYrocC9Hh6FAV3TQ8Vr98R9XjQ==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TPw3s71n4z19Fm
	for <python@FreeBSD.org>; Wed, 31 Jan 2024 08:21:29 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40V8LT7N035479
	for <python@FreeBSD.org>; Wed, 31 Jan 2024 08:21:29 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40V8LTXj035471
	for python@FreeBSD.org; Wed, 31 Jan 2024 08:21:29 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: maintainer-feedback requested: [Bug 276744] converters/py-rencode:
 Sync with main, restore build with cython
Date: Wed, 31 Jan 2024 08:21:28 +0000
X-Bugzilla-Type: request
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: 
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
Message-ID: <bug-276744-21822-CQE27K5MIv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276744-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-276744-21822@https.bugs.freebsd.org/bugzilla/>
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-python
List-Help: <mailto:python+help@freebsd.org>
List-Post: <mailto:python@freebsd.org>
List-Subscribe: <mailto:python+subscribe@freebsd.org>
List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org>
Sender: owner-freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
MIME-Version: 1.0

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 276744: converters/py-rencode: Sync with main, restore build with cython
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276744



--- Description ---
Hello,

converters/py-rencode stopped building on my host with 15-CURRENT. I noticed
that the PYPI distribution for 1.0.6 lacked the fixed for cython, I also
noticed that a number of commits upstream includes some local patches in the
Ports. Attached is patch that switchs the build to PEP517 and fetches
https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce01=
43bb
75.

The build error I was getting:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: stage		>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0
> =3D=3D=3D>	Staging for py311-rencode-1.0.6_1
> =3D=3D=3D>	 Generating temporary packing list
> /usr/local/lib/python3.11/site-packages/setuptools/__init__.py:80:
_DeprecatedInstaller: setuptools.installer and fetch_build_eggs are depreca=
ted.
> !!
>
>=09=20
***************************************************************************=
****
*
>	  Requirements should be satisfied by a PEP 517 installer.
>	  If you are using pip, you can try `pip install --use-pep517`.
>=09=20
***************************************************************************=
****
*
>
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> running install
> /usr/local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66:
SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
>
>=09=20
***************************************************************************=
****
*
>	  Please avoid running ``setup.py`` directly.
>	  Instead, use pypa/build, pypa/installer or other
>	  standards-based tools.
>
>	  See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.
>=09=20
***************************************************************************=
****
*
>
> !!
>   self.initialize_options()
> running build
> running build_py
> running build_ext
> building 'rencode._rencode' extension
> cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fPIC
-I/usr/local/include/python3.11 -c rencode/rencode.c -o
build/temp.freebsd-15.0-CURRENT-amd64-cpython-311/rencode/rencode.o
> rencode/rencode.c:212:12: fatal error: 'longintrepr.h' file not found
>   212 |   #include "longintrepr.h"
>	|	     ^~~~~~~~~~~~~~~
> 1 error generated.
> **********************************************************************
> WARNING:
> The C extension could not be compiled, speedups will not be
> available.
> **********************************************************************
> command '/ccache/libexec/ccache/cc' failed with exit code 1
> running install_lib
> creating
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11
> creating
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages
> creating
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode
> copying
build/lib.freebsd-15.0-CURRENT-amd64-cpython-311/rencode/rencode_orig.py ->
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode
> copying build/lib.freebsd-15.0-CURRENT-amd64-cpython-311/rencode/__init__=
.py
->
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode
> byte-compiling
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode/rencode_orig.py to rencode_orig.cpython-311.pyc
> byte-compiling
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode/__init__.py to __init__.cpython-311.pyc
> writing byte-compilation script '/tmp/tmpz9mb5ni9.py'
> /usr/local/bin/python3.11 /tmp/tmpz9mb5ni9.py
> removing /tmp/tmpz9mb5ni9.py
> running install_egg_info
> running egg_info
> writing rencode.egg-info/PKG-INFO
> writing dependency_links to rencode.egg-info/dependency_links.txt
> writing top-level names to rencode.egg-info/top_level.txt
> reading manifest file 'rencode.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> writing manifest file 'rencode.egg-info/SOURCES.txt'
> Copying rencode.egg-info to
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode-1.0.6-py3.11.egg-info
> running install_scripts
> writing list of installed files to
'/wrkdirs/usr/ports/converters/py-rencode/work-py311/.PLIST.pymodtmp'
> /usr/bin/strip
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode/_rencode*.so
> strip: open
/wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/local/lib/pyt=
hon3
.11/site-packages/rencode/_rencode*.so failed: No such file or directory
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/converters/py-rencode
> =3D>> Cleaning up wrkdir
> =3D=3D=3D>	Cleaning for py311-rencode-1.0.6_1
> build of converters/py-rencode@py311 | py311-rencode-1.0.6_1 ended at Wed=
 Jan
31 02:29:42 UTC 2024
> build time: 00:00:05
> !!! build failure encountered !!!

poudriere-testport
13_2-{amd64,i386}-release : OK
14_0-{amd64,i386}-release : OK
main-{amd64,i386}	  : OK