NetBSD Problem Report #60131
From www@netbsd.org Wed Mar 25 18:57:52 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)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "R12" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 255A51A9239
for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 Mar 2026 18:57:52 +0000 (UTC)
Message-Id: <20260325185751.319521A923D@mollari.NetBSD.org>
Date: Wed, 25 Mar 2026 18:57:51 +0000 (UTC)
From: opensauce04@gmail.com
Reply-To: opensauce04@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Disable libdrm for packages by default on macOS
X-Send-Pr-Version: www-1.0
X-From4GNATS: "opensauce04@gmail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60131
>Category: pkg
>Synopsis: Disable libdrm for packages by default on macOS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: macos-pkg-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Mar 25 19:00:00 +0000 2026
>Closed-Date: Sun Aug 16 04:44:48 +0000 2026
>Last-Modified: Sun Aug 16 04:44:48 +0000 2026
>Originator: Daniel
>Release: trunk (commit 0a59679e7d0d979d67ea641d1b753820f1e4e149)
>Organization:
>Environment:
Darwin danmbp 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 5 22:05:44 PST 2026; root:xnu-12377.101.14~18/RELEASE_ARM64_T8142 arm64
>Description:
Currently, some packages such as fastfetch have an optional-but-enabled-by-default dependency on libdrm, which fails to compile on macOS (Darwin) due to the library simply not being supported on that platform. Building and installing the affected package(s) requires manually adding a line to mk.conf for any affected package:
PKG_OPTIONS.fastfetch=-libdrm
I don't know what pkgsrc's policy is on things like this, but given that installing libdrm on macOS is *never* going to work, not due to a bug, but due to a purposeful lack of support, is there any reason to ever assume that this library is enabled by default on macOS?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 25 Mar 2026 20:53:46 +0000
Responsible-Changed-Why:
macOS problem.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60131 CVS commit: pkgsrc/sysutils/fastfetch
Date: Sun, 5 Apr 2026 21:08:04 +0000
Module Name: pkgsrc
Committed By: maya
Date: Sun Apr 5 21:08:04 UTC 2026
Modified Files:
pkgsrc/sysutils/fastfetch: options.mk
Log Message:
fastfetch: Disable libdrm option on Darwin
Pointed out in PR pkg/60131. Inspired by similar example in
devel/SDL3/options.mk.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/fastfetch/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60131 CVS commit: pkgsrc/sysutils/fastfetch
Date: Sun, 5 Apr 2026 21:13:52 +0000
Module Name: pkgsrc
Committed By: maya
Date: Sun Apr 5 21:13:52 UTC 2026
Modified Files:
pkgsrc/sysutils/fastfetch: options.mk
Log Message:
fastfetch: swap for MesaLib features.mk check
PR pkg/60131
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/fastfetch/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 11 Apr 2026 12:50:16 +0000
State-Changed-Why:
I changed the package mentioned in the bug report, fastfetch. Are there more examples? I figured we can just fix them as we notice them
Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 11 Apr 2026 13:22:22 +0000
Responsible-Changed-Why:
Same role account, different name
From: opensauce04@gmail.com
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/60131 (Disable libdrm for packages by default on macOS)
Date: Fri, 14 Aug 2026 22:10:19 +0100
Hi, sorry for taking so long to respond, been busy.
I'm not aware of any other packages that require this kind of
adjustment, at least not that I'm using. Fastfetch was the only
package where I ran into this issue so far.
The report can probably be closed. Thank you for looking into it!
On 11/04/2026 13:50, maya@NetBSD.org wrote:
> Synopsis: Disable libdrm for packages by default on macOS
>
> State-Changed-From-To: open->feedback
> State-Changed-By: maya@NetBSD.org
> State-Changed-When: Sat, 11 Apr 2026 12:50:16 +0000
> State-Changed-Why:
> I changed the package mentioned in the bug report, fastfetch. Are there more examples? I figured we can just fix them as we notice them
>
>
>
State-Changed-From-To: feedback->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Sun, 16 Aug 2026 04:44:48 +0000
State-Changed-Why:
Example problem package was fixed, submitter fine to close.
>Unformatted:
(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.