NetBSD Problem Report #60246
From www@netbsd.org Sun May 10 09:52:30 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 80B4D1A9239
for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 May 2026 09:52:30 +0000 (UTC)
Message-Id: <20260510095229.8E02C1A923A@mollari.NetBSD.org>
Date: Sun, 10 May 2026 09:52:29 +0000 (UTC)
From: rvp@SDF.ORG
Reply-To: rvp@SDF.ORG
To: gnats-bugs@NetBSD.org
Subject: math/fftw unnecessarily brings in gcc12
X-Send-Pr-Version: www-1.0
X-From4GNATS: "rvp@SDF.ORG via gnats" <gnats-admin@NetBSD.org>
>Number: 60246
>Category: pkg
>Synopsis: math/fftw unnecessarily brings in gcc12
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun May 10 09:55:01 +0000 2026
>Originator: RVP
>Release: pkgsrc-2026Q1
>Organization:
>Environment:
NetBSD/amd64 11.99.6
>Description:
Updating QEMU in 2026Q1 now brings in gcc12 as an indirect dependency.
This is ultimately due to FFTW now having a _run-time_ dependency on
gfortran:
https://github.com/NetBSD/pkgsrc/blob/trunk/math/fftw/options.mk#L5
and:
https://github.com/NetBSD/pkgsrc/blob/trunk/math/fftw/options.mk#L40
I don't see why it isn't just a build-time requirement to have a
FORTRAN compiler to get FFI right?
>How-To-Repeat:
Update to 2026Q1 and watch QEMU bringing in gcc12. Whoo-hoo!
>Fix:
pkgsrc magic reqd.
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.