[Bug 271581] x11-toolkits/qt5-gui: fails to package when ATKONLY=on in accessibility/at-spi2-core

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 May 2023 11:26:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271581

            Bug ID: 271581
           Summary: x11-toolkits/qt5-gui: fails to package when ATKONLY=on
                    in accessibility/at-spi2-core
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tphilipp@potion-studios.com
                CC: desktop@FreeBSD.org, kde@FreeBSD.org
                CC: desktop@FreeBSD.org, kde@FreeBSD.org

The accessibility/at-spi2-core port has an option ATKONLY which disables spi.
The qt5-gui port builds just fine with at-spi2-core built with ATKONLY=on, but
fails in the package phase as it assumes certain files to be available:

[...]
=======================<phase: package        >============================
===>  Building package for qt5-gui-5.15.8p157_1
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/application_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/atspiadaptor_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/bridge_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/cache_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/constant_mappings_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/dbusconnection_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/5.15.8/QtLinuxAccessibilitySupport/private/struct_marshallers_p.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupport:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportDepends:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/QtLinuxAccessibilitySupportVersion:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/include/qt5/QtLinuxAccessibilitySupport/qtlinuxaccessibilitysupportversion.h:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfig.cmake:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/lib/cmake/Qt5LinuxAccessibilitySupport/Qt5LinuxAccessibilitySupportConfigVersion.cmake:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/lib/qt5/libQt5LinuxAccessibilitySupport.a:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/lib/qt5/libQt5LinuxAccessibilitySupport.prl:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/stage/usr/local/lib/qt5/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri:No
such file or directory
*** Error code 1


I am not sure how to handle this (or if this can/should be handled)?

-- 
You are receiving this mail because:
You are on the CC list for the bug.