pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55910: qt5-qcbase incomplete package installation / failed build



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


Home | Main Index | Thread Index | Old Index