From nobody Wed Oct 21 05:12:13 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 4j8cph6JLPz6wHr8 for ; Wed, 21 Oct 2026 05:12:12 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j8cph5rKhz4R8M for ; Wed, 21 Oct 2026 05:12:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792559532; 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=9n+fPii6OIcTQfwGWzD5dT892wt+Mf18qZjU4xOXRMo=; b=ESsaAJVzQ/5YVzZyRLghYIcF6h+ZY6M1JVrLGBDXx1Bnqfk+wUcrHRZjksSwk2VSzG8FnV z2AoHXdIXxrIWu5AkFss+ee+9lpWVKkjbn6kuDfPHW/TKVustoNeQI72VPSAsZUzRKo72B kyOP3Dvl94fQO78bP6keP8AgfSpglsMtjP6EFHc9nlpL//mQnWmqHj569pmqAvOa0+1Klf 05tzctHGhxwAXfKNrV2H2+9xZACxXttGwqhljQRJx8p73JDxOyXzWkCcDYOjpItU+w9zGB epZWTHYdPuXLcQw0QhYkMX7bq39Mba4EOUSfkk9es7S89Is2ZMY7NMYhAvigXg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792559532; b=e2DyaaxF5rf+m9Upsw1XqYcA7W9zlaQ/iogbGYUZsMZUwL7DTShjeHAkImdeBN7QsOhJ7r 2MqsagK/A5eRPN59w0k1wXyEpdN+ql6+k0OMQRDgzyVB40LcCxTSgIH5FU6kyove83Kspi 8UbzPULtEm0YabYDuCsbXvOIqC+xlFfzK9YORIzDiDAonOsV91BwBbRbWDX4jbtNSCR1zm rcYaBrBDjHdcTZFmL86WDI3VTyvm9tiQeC3rkxj5m8eRFD1YLoiLmWGOLCYfPuLrJcdd9C KXW1Evid2g3IWsjUs8e4QJG6IXbKykHm2PJe5s/7pDRsNrGKRz4rDdKqlD30dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792559532; 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=9n+fPii6OIcTQfwGWzD5dT892wt+Mf18qZjU4xOXRMo=; b=Po7XMXQXv0amNf0PHJzPBkyppJ/O4A8/lzarEfjtdur5beUrxZ9HODVKc7h/pj6bow4pAL wG/LnDcjzWJWouzyKC1u2OWGKnzMY8V8R8JqnJpoZJDdqHsXDfqk9fCET5XvuHeiUc0ZvI j/z4ckGgeQvgzYIHuc76gUxd/jXx38K6/rpINZD08DjD0wBVXwWXVez/bfWwlqu3JElzJh dQmP9hjV2u93B3Lp9DMLd8TgxzgzBc0HMWC2uBpjESRcViFNT2/aLHYCVgnfxiprqqGRTq D5qhvO2F2tlm6uyCAY0Brse00JDmnsBNBCz2oLhJ1T0y1ZZpqnsv7QXY1u5qQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4j8cph5VlLzhRp for ; Wed, 21 Oct 2026 05:12:12 +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 69L5CCUU067660 for ; Wed, 21 Oct 2026 05:12:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69L5CCv0067658 for python@FreeBSD.org; Wed, 21 Oct 2026 05:12:12 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 299238] lang/python312: 'import scipy' fails on arm64 due to Python linking to a wrong gcc shared library Date: Wed, 21 Oct 2026 05:12:13 +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 Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Open 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-Archive: https://lists.freebsd.org/archives/freebsd-python X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D299238 --- Comment #7 from Yuri Victorovich --- (In reply to Charlie Li from comment #6) The problem is that ldconfig brings a different version of gcc shared lib in the run-time. However, this doesn't need to be fixed because the attached p= atch eliminates the need to be dependent on the gcc shared lib. I verified: the same patch removes the gcc dependency in python-3.13 too. The low level command that fails: 'from _ctypes import Structure'. I've ran an extensive Poudriere batch with hundreds of Python packages in a 15.1/aarch64 VM - all of them succeeded with this patch. I recommend that you commit the attached patch for all Python versions. --=20 You are receiving this mail because: You are the assignee for the bug.=