NetBSD Problem Report #60951

From www@netbsd.org  Sun Nov  1 17:49:50 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 "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6AECF1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  1 Nov 2026 17:49:50 +0000 (UTC)
Message-Id: <20261101174949.499671A923C@mollari.NetBSD.org>
Date: Sun,  1 Nov 2026 17:49:49 +0000 (UTC)
From: bbartlomiej@gmail.com
Reply-To: bbartlomiej@gmail.com
To: gnats-bugs@NetBSD.org
Subject: qt6-qtbase failes to install in 2026Q3 and HEAD due to PLIST errors
X-Send-Pr-Version: www-1.0
X-From4GNATS: "bbartlomiej@gmail.com via gnats" <gnats-admin@NetBSD.org>

>Number:         60951
>Category:       pkg
>Synopsis:       qt6-qtbase failes to install in 2026Q3 and HEAD due to PLIST errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 01 17:50:00 +0000 2026
>Last-Modified:  Fri Nov 06 17:35:00 +0000 2026
>Originator:     Bartek Krawczyk
>Release:        NetBSD 11.0
>Organization:
>Environment:
NetBSD mercury 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When building x11/qt6-qtbase it builds OK but fails to install/create package due to PLIST errors:

=> Checking file-check results for qt6-qtbase-6.11.2nb2
ERROR: ************************************************************
ERROR: The following files are in /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/atspiadaptor_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/dbusconnection_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspi_constant_mappings_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspi_struct_marshallers_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspiaccessiblebridge_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspiapplicationadaptor_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspidbuscache_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/6.11.2/QtGui/private/qspimatchrulematcher_p.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/bus_interface.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/cache_adaptor.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/deviceeventcontroller_adaptor.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/properties_interface.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtGui/socket_interface.h
ERROR:         /tmp/work/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/lib/cmake/Qt6Gui/Qt6QGtk3ThemePluginTargetsPrecheck.cmake
*** Error code 1

Stop.
make[1]: stopped making "stage-install" in /usr/pkgsrc/x11/qt6-qtbase
*** Error code 1


This build is from bob, but the same happens when I build it manually. After adjusting PLIST with "make print-PLIST > PLIST" and retrying, it builds fine. The same problem is in HEAD.

My build options:

mercury# make show-options
Any of the following general options may be selected:
	cups	 Enable cups (Common UNIX Printing System) support.
	dbus	 Enable dbus (desktop bus) support.
	gtk3	 Enable support for GTK3.

These options are enabled by default:
	cups dbus

These options are currently enabled:
	cups dbus gtk3

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.qt6-qtbase.


My /etc/mk.conf:

MAKE_JOBS?=	30
CPUFLAGS+=	-mtune=znver3 -march=znver3
CFLAGS+=	-O2 -pipe
CXXFLAGS+=	-O2 -pipe
PKG_DEFAULT_OPTIONS+=	-avahi -pulseaudio -wayland dbus x11 gtk3
SKIP_LICENSE_CHECK=	yes
>How-To-Repeat:
Build x11/qt6-qtbase with dbus, qtk3, cups options enabled
>Fix:
update PLIST using make print-PLIST? Not sure how split PLIST files work to be fair.

>Audit-Trail:
From: Thomas Klausner <wiz@netbsd.org>
To: NetBSD bugtracking <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/60951: qt6-qtbase failes to install in 2026Q3 and HEAD due
 to PLIST errors
Date: Fri, 6 Nov 2026 18:30:22 +0100

 > update PLIST using make print-PLIST? Not sure how split PLIST files work to be fair.

 Probably adding a couple entries to the PLIST prefixed with
 ${PLIST.gtk3} is the correct solution (see the existing PLIST for
 examples).

 options.mk enables these if the gtk3 option is used.
  Thomas

NetBSD Home
NetBSD PR Database Search

(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.