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 4TPw3v2SXJz58kfq
	for <python@mlmmj.nyi.freebsd.org>; Wed, 31 Jan 2024 08:21:31 +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 4TPw3t6N0Yz43pT
	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;
	bh=EZ/fgFgckiNIu7Fj0oFa9tmZGINUmbVOkYhiOk53Kp4=;
	b=cVNh+zm3ukrv6mdf8JDmf1v+AOZAXXiB68bwh5iZnz0PZndwct36sXEffG3fimF5rt3crU
	sAbQ6/1zB6HzjFlBG6NvIGaG+8H1F3yt2flkOQvmIjDoS40UiUNETDySIKVQ7lT74GP018
	deCUSgYjzIZxCg25xmeroREmokxcGgm7MpsSVTqb8VJBqU7vdm9eOakpDgxryDHdFsmEEd
	zXevIIiU2E4z7T2NXVE424YpqEr0OvpB4/q1PMc7L/5RJzIIoKQA6H8Ok3pBovKWMcIpqd
	VBVjAiES21MGDlq6uFtGW8C6LPb64kjx/PZ0z6U1hNVlYIlaeoCWvzXUCN7DFQ==
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=YVp+rXkL29vmfqZ5lgggOB2V2K8mYATFJEFskErwEV5Box1b9oXjNuth7OmMlNpOEjvlHj
	WNU0MAgy73btdHId4ohPYXvdTIjW0SuFb4JS56F8aFZzq+Tqc3ix3yvZ7R7v1/hRAmp245
	oQL/xRwr/lDw1Y6Glwp+xKi2EVBwQ/VO8c3Gj+zL39uksCr8Bc6Dcx69U+DqSqBRuVVcO+
	WVj5KcNfmcbehwH7i+I+hp+V9BauZSyXTwsqyx6c871nYWHib4ruNxb/Cmzrdg0kbthrFa
	e6UxA79hLY7pCmr8vkzA0ih2FAJiDcudFdyDob/UV6Fmv+WSwkBPeIuwqZu0zA==
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 4TPw3t5QYzz19yL
	for <python@FreeBSD.org>; Wed, 31 Jan 2024 08:21:30 +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 40V8LUNn035577
	for <python@FreeBSD.org>; Wed, 31 Jan 2024 08:21:30 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40V8LU11035572
	for python@FreeBSD.org; Wed, 31 Jan 2024 08:21:30 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 276744] converters/py-rencode: Sync with main, restore build
 with cython
Date: Wed, 31 Jan 2024 08:21:28 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
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: agh@riseup.net
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 flagtypes.name attachments.created
Message-ID: <bug-276744-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276744

            Bug ID: 276744
           Summary: converters/py-rencode: Sync with main, restore build
                    with cython
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: agh@riseup.net
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 248088
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248088&action=
=3Dedit
Sync with main, restore build with cython

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=
43bb75.

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: _Depre=
catedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
>         *****************************************************************=
***************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         *****************************************************************=
***************
>
> !!
>   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.
> !!
>
>         *****************************************************************=
***************
>         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.
>         *****************************************************************=
***************
>
> !!
>   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 bui=
ld/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/lo=
cal/lib/python3.11
> creating /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/lo=
cal/lib/python3.11/site-packages
> creating /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr/lo=
cal/lib/python3.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/lo=
cal/lib/python3.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/python3.11/site-packages/rencode
> byte-compiling /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/=
usr/local/lib/python3.11/site-packages/rencode/rencode_orig.py to rencode_o=
rig.cpython-311.pyc
> byte-compiling /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/=
usr/local/lib/python3.11/site-packages/rencode/__init__.py to __init__.cpyt=
hon-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/python3.11/site-packages/rencode-1.0.6-py3.11.eg=
g-info
> running install_scripts
> writing list of installed files to '/wrkdirs/usr/ports/converters/py-renc=
ode/work-py311/.PLIST.pymodtmp'
> /usr/bin/strip /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/=
usr/local/lib/python3.11/site-packages/rencode/_rencode*.so
> strip: open /wrkdirs/usr/ports/converters/py-rencode/work-py311/stage/usr=
/local/lib/python3.11/site-packages/rencode/_rencode*.so failed: No such fi=
le 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=