From nobody Sat Jan 31 17:48:10 2026 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 4f3L2M1YMNz6Qc0B for ; Sat, 31 Jan 2026 17:48:11 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f3L2M0yK9z3r3B for ; Sat, 31 Jan 2026 17:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769881691; 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=4imtqH4oWmPH9LtRH+Vi3MXyo6001N6YidDvskjS3M8=; b=r5sN1lnSDgV+tUV7QUuSdBgr1JMV8dCaq71z2KmVI3YW4IS3qRuzTWtO4pfNCowC8bRwCI +T1HhSGXhESsBRxpQZOOuYQ3NnV/u3CKAyb6k9kyV9uOx8PN9s+aNZ+R25d5JYdWUMilmG RxskseQIKjaRMD7xAWjKrhOrzqY9DQC7tCFkEqCf66/NQgndpwZVQiMIyf9MekxaSIhojB 17C42UMx9TXvCQFWJ3D6c24TZDRP+//hk4hr4Be+AJD1kzZoJ7G9/8hWWsgkqrx/35Ud+P DaC0IBPrKiEcuYY6Bz0ChOa6Zh6tIQu8VvICfbcqwdLlh+3bAi77RFFQrNBBcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769881691; a=rsa-sha256; cv=none; b=px1QSHQx/5bM8oIn5G757C2h21FYnAh5NF6nRAKE4P1m3IfREZmhoF+f1/txRcSm/BzJmO n4NeFr6ZT7LW1OzAcTblU0OoKRC8APZFaRa/a52bino2RR/5dZEEMGR0bMD4x/rKztNLwI KidqUjqLAixWAgbkLpax35NIuKL2UgGKtqZiNUvb425jDNo+lyWGCpEJoGP9Gr0+R7yPmi 4+xWH/Z52BNA6nj+K0Q/OD2Qu5ClSjYrURSCU9is5lITbIK9K9jUDC7B/CA3AufkIjJUwG 8FJlarVO+p/jh5qwj4+/4modHr3ZJRpsxCehLFwIWS4yqwQg+QghUFsyG9gdwQ== 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=1769881691; 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=4imtqH4oWmPH9LtRH+Vi3MXyo6001N6YidDvskjS3M8=; b=Pcpo+lGG04PK+cYPpJt+jg2zgU8IV5mhOdAAOvYuk5LxulNEjbo1Gc0GASPEzkjYWqvjG1 RYYFc2wsi26W8dgoUjj33B5f1hRR1koqtHAfcA/FOfZSGsYapP1qG3VaGG2JRs2rKRiZzN yLFM+++iHt2WL63z/46YwEQuut3MOAl9GDElFRWkvTkfbBlS5MF6xENz3OVVZtxkcMVHbc aelzKFE07Th1U98i4x3h8vyk5bX6jSKAnCI1fiJ9yzpBruRRVlmU4WD8l5/Tt3ArqyltNP j+lKIeG/HyXUQhyxKBudPcyQ+KDM6OHfgASjORMYFjypKqdJLaN+Thsu5ILObw== 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 4f3L2L707Sz14Qx for ; Sat, 31 Jan 2026 17:48:10 +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 60VHmAcY059072 for ; Sat, 31 Jan 2026 17:48:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60VHmAWV059071 for python@FreeBSD.org; Sat, 31 Jan 2026 17:48:10 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 292844] science/py-scipy builds but import of some features causes an error Date: Sat, 31 Jan 2026 17:48:10 +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: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-python (Nobody) for maintainer-feedback: Bug 292844: science/py-scipy builds but import of some features causes an e= rror https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292844 --- Description --- Recent changes to the science/py-scipy port enabled it to build with cython= >=3D 3.2, but unfortunately while it does build, trying to use the package lead= s to an attempt to reference an undefined symbol I am uncertain what the *correct* way to fix the problem is, but I was able= to restore the function by changing the USES line to specify cython0 (which I = know to be the wrong fix). But as it stands, while it builds fine with the curr= ent cython, scipy as installed by the port without modification is unusable in = my application. uname -a: FreeBSD xxx.xxx 14.3-STABLE FreeBSD 14.3-STABLE stable/14-n273238-c95f96de= a30a GENERIC amd64 Expected behavior: > python >>> from scipy import interpolate >>>=20 That is, the import just works. Behavior when port is installed without modification: > python >>> from scipy import interpolate Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.11/site-packages/scipy/__init__.py", line 18= 9, in __getattr__ return _importlib.import_module(f'scipy.{name}') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/scipy/interpolate/__init__.= py", line 167, in from ._interpolate import * File "/usr/local/lib/python3.11/site-packages/scipy/interpolate/_interpolate.py", line 9, in import scipy.special as spec File "/usr/local/lib/python3.11/site-packages/scipy/special/__init__.py", line 772, in from . import _ufuncs File "_ufuncs.pyx", line 1, in init scipy.special._ufuncs ImportError: /usr/local/lib/python3.11/site-packages/scipy/special/_ufuncs_cxx.cpython-3= 11.s o: Undefined symbol "wrap_PyUFunc_getfperr" >>> A quick web search turned up very little of help, but did suggest exactly t= he incompatibility of newer cython and possibly a problem with the use of the deprecated setup.py instead of meson for building (I'm just parroting what I read, not suggesting I know this to be a solution).