From nobody Mon Mar 10 03:41:22 2025 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 4ZB2kB5Jk7z5qFH4 for ; Mon, 10 Mar 2025 03:41:22 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZB2kB3mg4z43Yc for ; Mon, 10 Mar 2025 03:41:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741578082; 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=+sbky7XuFp0Y0imayRxO6NAtpi4eYyaFu4thwxmu5hs=; b=QsG9IjNg3PvTejNuiOiPBwM7rwzKdeA+WtoElNmBcHiymuCPDlOsNHPJkGcZmxWu4Bs2d1 avR9uoIZitBHL3eObj3EpN3dOmu4Kfy0FHBxayZEdXAP9eJldKdW1ksFvP4w6KSFLmBV2J 92+ijCoz9EL5LgW1Ftpa9SF13X8QyUgfPuAJX64B3UOt13b7xku/uAdwHo1Jic/nZ+D8Ws QXJBhEQAnCwpknHGyoDSU7Md0+zbmfeP8RdQ3Me+055Aq/Q9eDg96yS4IvpxaSy97p3SCj EpkLZ+HdC8yEB3amA6WwKpzJZE65EQZaXN3jV7CRaIG0wfEkS4AYM9G+HPrwkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741578082; a=rsa-sha256; cv=none; b=mO8uVhEZHAgJRf6wbMH56xWwcLId8yZTe5+ylnsXlax413JMk0hWJ8oZomE0b7zpF/bmQ1 EN5ovHKMmH69YLTpDqY7DRWpbrMRHYgtmd8QxxRXelG34TrqvJSe7UKH1dnkRlxprKzyJo ZPkc9WEwLtcA/TEZllYci7U8vQGgm0l/+gnTXBHDh9iQg91RnPILUrmEWutXKz0kQ4iMRP rMppIxjAy5Y+oWYbg4olVpfqB0La44UpiWpThX3zjj+XJ2rkJtXmMyXF10Wssr787obOoT o1iEzFCNZviBpFFzsU7/P40owiKUQxdLpQzGyqjH50YSEc/ygFfKf+UbxA+9CA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741578082; 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=+sbky7XuFp0Y0imayRxO6NAtpi4eYyaFu4thwxmu5hs=; b=BHsJW4kGUzB/iRfNoeDVenWtswHp+mM+3SWus7xjVAN/EYBh1iSsl5mkkx339m5dlV4rrD bLL5DiQdPdt9GvBtqmY/JiJdFV/usIbBgGksvjWYJdyZaIGyaUePkA+ox1rM0JO+sLcl4k wX6Ck5UubKglL91FZtQsUdUHMr6BWV5a1CeTEO8bn0oeQXx2VJKhIi87ob3kf3Utw9Lpci B1EbPhy4evlnd10BGNzcjgNJ+1uSaOKBOBHdcIR62APR/sWDFOZpsRIuZw/2I0eb6D234V 6QCxZTIiI8yoZAvmwEpGGfQEEauR9xaA8iG4onpdbLJ7Rrwd8+rMIC5T5UT9uw== 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 4ZB2kB2qc5z6tp for ; Mon, 10 Mar 2025 03:41:22 +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 52A3fMWD082979 for ; Mon, 10 Mar 2025 03:41:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52A3fM8X082978 for python@FreeBSD.org; Mon, 10 Mar 2025 03:41:22 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 285283] devel/py-pyyaml fails to build: AttributeError: cython_sources Date: Mon, 10 Mar 2025 03:41:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Many People X-Bugzilla-Who: robbak@gmail.com 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: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285283 --- Comment #1 from robbak@gmail.com --- I have the same build failure. Build log below. This seems to be caused by having lang/cython3 installed, which is required= for some other ports. Replacing it with /lang/cython allows the port to build.= =20 portmaster -o lang/cython py311-cython3-3.0.12 portmaster devel/py-pyyaml@py311 portmaster -o lang/cython3 py311-cython-0.29.37_2 See a similar problem with another cython port, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285292 =3D=3D=3D> Cleaning for py311-pyyaml-6.0.1_1 =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on file: /usr/local/sbin/pkg - fo= und =3D=3D=3D> Fetching all distfiles required by py311-pyyaml-6.0.1_1 for buil= ding =3D=3D=3D> Extracting for py311-pyyaml-6.0.1_1 =3D> SHA256 Checksum OK for PyYAML-6.0.1.tar.gz. =3D=3D=3D> Patching for py311-pyyaml-6.0.1_1 =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on executable: cython-3.11 - found =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on package: py311-setuptools>=3D6= 3.1.0 - found =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on file: /usr/local/bin/python3.1= 1 - found =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on file: /usr/local/bin/ccache - = found =3D=3D=3D> py311-pyyaml-6.0.1_1 depends on shared library: libyaml.so - f= ound (/usr/local/lib/libyaml.so) =3D=3D=3D> Configuring for py311-pyyaml-6.0.1_1 running config =3D=3D=3D> Building for py311-pyyaml-6.0.1_1 running build_ext Traceback (most recent call last): File "", line 1, in File "setup.py", line 289, in setup( File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", li= ne 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.= py", line 177, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.= py", line 193, in run_commands dist.run_commands() File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.= py", line 968, in run_commands self.run_command(cmd) File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 1= 217, in run_command super().run_command(command) File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.= py", line 987, in run_command cmd_obj.run() File "setup.py", line 191, in run _build_ext.run(self) File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/command/buil= d_ext.py", line 339, in run self.build_extensions() File "setup.py", line 233, in build_extensions ext.sources =3D self.cython_sources(ext.sources, ext) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/cmd.p= y", line 103, in __getattr__ raise AttributeError(attr) AttributeError: cython_sources *** Error code 1 Stop. make[1]: stopped making "/usr/home/obj/ports/usr/ports/devel/py-pyyaml/work-py311/.build_done.pyyam= l._usr_local" in /usr/ports/devel/py-pyyaml *** Error code 1 Stop. make: stopped making "build" in /usr/ports/devel/py-pyyaml --=20 You are receiving this mail because: You are the assignee for the bug.=