NetBSD Problem Report #55910
From www@netbsd.org Mon Jan 4 23:34:31 2021
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))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D276F1A9217
for <gnats-bugs@gnats.NetBSD.org>; Mon, 4 Jan 2021 23:34:31 +0000 (UTC)
Message-Id: <20210104233430.000CD1A921F@mollari.NetBSD.org>
Date: Mon, 4 Jan 2021 23:34:29 +0000 (UTC)
From: aza.sea.agenda@gmail.com
Reply-To: aza.sea.agenda@gmail.com
To: gnats-bugs@NetBSD.org
Subject: qt5-qcbase incomplete package installation / failed build
X-Send-Pr-Version: www-1.0
>Number: 55910
>Category: pkg
>Synopsis: qt5-qcbase incomplete package installation / failed build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 04 23:35:00 +0000 2021
>Last-Modified: Sat Feb 06 02:00:03 +0000 2021
>Originator: Aleksey Arens
>Release: pkgsrc-2020Q4
>Organization:
>Environment:
NetBSD HOSTNAME_REDACTED 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #1: Sun Jan 3 20:58:50 UTC 2021 root@HOSTNAME_REDACTED:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
The `make' phase build of qt5-qtbase package in pkgsrc-2020Q4 succeeds. However, the `make package' phase fails with the following output.
This issue makes Qt5 toolkit unavailable, rendering a number of desktop applications unusable.
Running find immediately after build:
---8<---
$ find . -iregex '.*/QtLinuxAccessibilitySupport/.*\.h'
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/atspiadaptor_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/bridge_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/cache_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/constant_mappings_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/dbusconnection_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/struct_marshallers_p.h
./qtbase-everywhere-src-5.15.2/include/QtLinuxAccessibilitySupport/qtlinuxaccessibilitysupportversion.h
---8<---
Options used for building:
---8<---
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 gtk3
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.qt5.
---8<---
The output of the build process:
---8<---
[...]
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for qt5-qtbase-5.15.2nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg:
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/application_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/atspiadaptor_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/bridge_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/cache_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/constant_mappings_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/dbusconnection_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/5.15.2/QtLinuxAccessibilitySupport/private/struct_marshallers_p.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupport
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportDepends
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportVersion
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/include/QtLinuxAccessibilitySupport/qtlinuxaccessibilitysupportversion.h
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfig.cmake
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfigVersion.cmake
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/lib/libQt5LinuxAccessibilitySupport.a
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/lib/libQt5LinuxAccessibilitySupport.prl
ERROR: /usr/obj/pkgsrc/x11/qt5-qtbase/work/.destdir/usr/pkg/qt5/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri
*** Error code 1
Stop.
make[3]: stopped in /usr/pkgsrc/x11/qt5-qtbase
*** Error code 1
Stop.
make[2]: stopped in /usr/pkgsrc/x11/qt5-qtbase
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/x11/qt5-qtbase
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/qt5-qtbase
>How-To-Repeat:
cd /usr/pkgsrc && cvs update -Pd -rpkgsrc-2020Q4
cd /usr/pkgsrc/x11/qt5-qtbase
>Fix:
A direct copy of headers from the source dir to .destdir should fix the problem. However, this is a hack, it would be much more preferable to fix the root cause.
>Audit-Trail:
From: Aleksey Arens <aza.sea.agenda@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/55910: qt5-qcbase incomplete package installation / failed build
Date: Tue, 5 Jan 2021 02:42:48 -0800
--000000000000ca508f05b824de1a
Content-Type: multipart/alternative; boundary="000000000000ca508e05b824de18"
--000000000000ca508e05b824de18
Content-Type: text/plain; charset="UTF-8"
A further investigation suggests that the QtLinuxAccessibilitySupport
requires dbus to function. Since my build configuration does not include
the dbus flag, it is likely the case that the Qt5 build system did not
build those parts that do require dbus. As this was not accounted for in
PLIST, the error resulted. A simple adjustment fixed the issue, and
resulted in a successful build. Patch attached.
On Mon, Jan 4, 2021 at 3:35 PM <gnats-admin@netbsd.org> wrote:
> Thank you very much for your problem report.
> It has the internal identification `pkg/55910'.
> The individual assigned to look at your
> report is: pkg-manager.
>
> >Category: pkg
> >Responsible: pkg-manager
> >Synopsis: qt5-qcbase incomplete package installation / failed build
> >Arrival-Date: Mon Jan 04 23:35:00 +0000 2021
>
>
--000000000000ca508e05b824de18
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">A further investigation suggests that the=C2=A0QtLinuxAcce=
ssibilitySupport requires dbus to function.=C2=A0 Since my build configurat=
ion does not include the dbus flag, it is likely the case that the Qt5 buil=
d system did not build those parts that do require dbus.=C2=A0 As this was =
not accounted for in PLIST, the error resulted.=C2=A0 A simple adjustment f=
ixed the issue, and resulted in a successful build.=C2=A0 Patch attached.</=
div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On=
Mon, Jan 4, 2021 at 3:35 PM <<a href=3D"mailto:gnats-admin@netbsd.org">=
gnats-admin@netbsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">Thank you very much for your problem report.<br>
It has the internal identification `pkg/55910'.<br>
The individual assigned to look at your<br>
report is: pkg-manager. <br>
<br>
>Category:=C2=A0 =C2=A0 =C2=A0 =C2=A0pkg<br>
>Responsible:=C2=A0 =C2=A0 pkg-manager<br>
>Synopsis:=C2=A0 =C2=A0 =C2=A0 =C2=A0qt5-qcbase incomplete package insta=
llation / failed build<br>
>Arrival-Date:=C2=A0 =C2=A0Mon Jan 04 23:35:00 +0000 2021<br>
<br>
</blockquote></div>
--000000000000ca508e05b824de18--
--000000000000ca508f05b824de1a
Content-Type: text/x-patch; charset="US-ASCII"; name="202101051013UTC--qt5-qtbase.patch"
Content-Disposition: attachment;
filename="202101051013UTC--qt5-qtbase.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_kjjv4pku0>
X-Attachment-Id: f_kjjv4pku0
LS0tIFBMSVNULG9yaWcJMjAyMS0wMS0wMyAwNjo1Njo0Ny45OTQ3MTQ2NTQgLTA4MDAKKysrIFBM
SVNUCTIwMjEtMDEtMDUgMDE6MzU6MjAuNjY4NTc4OTI2IC0wODAwCkBAIC0xNjk1LDE3ICsxNjk1
LDE3IEBACiAke1BMSVNULm5vdGRhcndpbn1xdDUvaW5jbHVkZS9RdEttc1N1cHBvcnQvUXRLbXNT
dXBwb3J0RGVwZW5kcwogJH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cmkKIHF0
NS9ta3NwZWNzL21vZHVsZXMvcXRfbGliX29wZW5nbC5wcmkK
--000000000000ca508f05b824de1a--
From: Aleksey Arens <aza.sea.agenda@gmail.com>
To: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/55910: qt5-qcbase incomplete package installation / failed build
Date: Fri, 5 Feb 2021 17:55:23 -0800
If a gtk3 is built with -dbus option (which also implies
-gtk3-atk-bridge), then the PLIST
for this package would contain fewer files. An examination of build specs in
CMakefile.txt files confirms that this result is natural and should
not be harmful.
Since qt5-qtbase would not build with dbus enabled if gtk3 was built
with -dbus, then it
is also natural to assume that dbus in this package is enabled if and
only if it was
enabled in gtk3.
The application of a following patch results in a successful build on
a system with global
-dbus.
---8<---
diff --git a/x11/qt5-qtbase/PLIST b/x11/qt5-qtbase/PLIST
index a9320ccaef6..642330f9548 100644
--- a/x11/qt5-qtbase/PLIST
+++ b/x11/qt5-qtbase/PLIST
@@ -1695,17 +1695,17 @@ ${PLIST.notdarwin}qt5/include/QtKmsSupport/QtKmsSupport
${PLIST.notdarwin}qt5/include/QtKmsSupport/QtKmsSupportDepends
${PLIST.notdarwin}qt5/include/QtKmsSupport/QtKmsSupportVersion
${PLIST.notdarwin}qt5/include/QtKmsSupport/qtkmssupportversion.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/application_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/atspiadaptor_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/bridge_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/cache_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/constant_mappings_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/dbusconnection_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/struct_marshallers_p.h
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupport
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportDepends
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportVersion
-${PLIST.gtk3}qt5/include/QtLinuxAccessibilitySupport/qtlinuxaccessibilitysupportversion.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/application_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/atspiadaptor_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/bridge_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/cache_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/constant_mappings_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/dbusconnection_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/${PKGVERSION}/QtLinuxAccessibilitySupport/private/struct_marshallers_p.h
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupport
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportDepends
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportVersion
+${PLIST.gtk3}${PLIST.dbus}qt5/include/QtLinuxAccessibilitySupport/qtlinuxaccessibilitysupportversion.h
qt5/include/QtNetwork/${PKGVERSION}/QtNetwork/private/bitstreams_p.h
qt5/include/QtNetwork/${PKGVERSION}/QtNetwork/private/hpack_p.h
qt5/include/QtNetwork/${PKGVERSION}/QtNetwork/private/hpacktable_p.h
@@ -2751,8 +2751,8 @@
${PLIST.notdarwin}qt5/lib/cmake/Qt5InputSupport/Qt5InputSupportConfig.cmake
${PLIST.notdarwin}qt5/lib/cmake/Qt5InputSupport/Qt5InputSupportConfigVersion.cmake
${PLIST.notdarwin}qt5/lib/cmake/Qt5KmsSupport/Qt5KmsSupportConfig.cmake
${PLIST.notdarwin}qt5/lib/cmake/Qt5KmsSupport/Qt5KmsSupportConfigVersion.cmake
-${PLIST.gtk3}qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfig.cmake
-${PLIST.gtk3}qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfigVersion.cmake
+${PLIST.gtk3}${PLIST.dbus}qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfig.cmake
+${PLIST.gtk3}${PLIST.dbus}qt5/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfigVersion.cmake
qt5/lib/cmake/Qt5Network/Qt5NetworkConfig.cmake
qt5/lib/cmake/Qt5Network/Qt5NetworkConfigVersion.cmake
qt5/lib/cmake/Qt5Network/Qt5Network_QGenericEnginePlugin.cmake
@@ -2837,8 +2837,8 @@ ${PLIST.notdarwin}qt5/lib/libQt5InputSupport.a
${PLIST.notdarwin}qt5/lib/libQt5InputSupport.prl
${PLIST.notdarwin}qt5/lib/libQt5KmsSupport.a
${PLIST.notdarwin}qt5/lib/libQt5KmsSupport.prl
-${PLIST.gtk3}qt5/lib/libQt5LinuxAccessibilitySupport.a
-${PLIST.gtk3}qt5/lib/libQt5LinuxAccessibilitySupport.prl
+${PLIST.gtk3}${PLIST.dbus}qt5/lib/libQt5LinuxAccessibilitySupport.a
+${PLIST.gtk3}${PLIST.dbus}qt5/lib/libQt5LinuxAccessibilitySupport.prl
qt5/lib/libQt5Network.prl
qt5/lib/libQt5Network.so
qt5/lib/libQt5Network.so.${PKGVERSION}
@@ -3357,7 +3357,7 @@ qt5/mkspecs/modules/qt_lib_gui.pri
qt5/mkspecs/modules/qt_lib_gui_private.pri
${PLIST.notdarwin}qt5/mkspecs/modules/qt_lib_input_support_private.pri
${PLIST.notdarwin}qt5/mkspecs/modules/qt_lib_kms_support_private.pri
-${PLIST.gtk3}qt5/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri
+${PLIST.gtk3}${PLIST.dbus}qt5/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri
qt5/mkspecs/modules/qt_lib_network.pri
qt5/mkspecs/modules/qt_lib_network_private.pri
qt5/mkspecs/modules/qt_lib_opengl.pri
diff --git a/x11/qt5-qtbase/buildlink3.mk b/x11/qt5-qtbase/buildlink3.mk
index 86b0f7c0b60..fded1ed667d 100644
--- a/x11/qt5-qtbase/buildlink3.mk
+++ b/x11/qt5-qtbase/buildlink3.mk
@@ -27,7 +27,7 @@ PTHREAD_OPTS+= require
pkgbase := qt5-qtbase
.include "../../mk/pkg-build-options.mk"
-.if ${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus}
+.if !empty(${PKG_BUILD_OPTIONS.qt5-qtbase:Mdbus})
.include "../../sysutils/dbus/buildlink3.mk"
.endif
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.