On Sat, Mar 22, 2025 at 09:34:50AM +0100, Theo Buehler wrote:
> > What tb@ saw was that Qt6qtwebenginequickdelegatespluginConfig.cmake war
> > present during the collection loop but no longer during the include
> > loop. My strong suspicion is that it was junked.
> 
> I can confirm that qt6/qtwebengine was junked during the configure phase
> of kirigami-addons.
> 
> I wonder if qt*.port.mk and kf*.port.mk should set nojunk themselves
> rather than just inheriting that (sometimes) from the cmake and qmake
> modules.
> 
> > In line 44 we can see QT_SKIP_AUTO_QML_PLUGIN_INCLUSION. Which can be
> > interesting for us, especially if we read the comment: "Distributions
> > should probably change this default.".
> 
> This seems reminiscent of the cython vs pythran failures for which we
> added MODPY_CYTHON_PYTHRAN_RDEP. It is good that this AUTO_QML_PLUGIN
> knob appears to fix this issue (only confirmed by reading the source) so
> that we can avoid adding such a heavy dependency as qtwebengine to
> various qt ports.
> 
> > Long story short, I would like to throw this diff into a bulk and if it
> > is successful I want to commit it.
> 
> It makes sense to me to add this, so I'm ok with it unless your bulk
> finds some problems.
> 

Seems this wasn't committed.

Anyway, here's the reverse problem: qt6-qtwayland was added during
krunner's configure time and configure broke because the cmake stuff
wasn't self-consistent when it was picked up. Not sure if
QT_SKIP_AUTO_QML_PLUGIN_INCLUSION would fix this. A dep on qtwayland
would, I suppose.

>>> Building on localhost under devel/kf6/krunner
        BDEPENDS = 
[graphics/vulkan-loader;x11/qt6/qtbase;devel/kf6/kconfig;devel/dwz;devel/kf6/kcoreaddons;devel/kf6/extra-cmake-modules;devel/kf6/ki18n;devel/gettext,-tools;x11/qt6/qttools;archivers/xz;archivers/gtar;devel/kf6/kitemmodels;devel/ninja;devel/cmake/core]
        DIST = [devel/kf6/krunner:kde-kf6/krunner-6.12.0.tar.xz]
        FULLPKGNAME = kf6-krunner-6.12.0
        RDEPENDS = 
[devel/kf6/kitemmodels;devel/kf6/kconfig;devel/kf6/ki18n;x11/qt6/qtbase;devel/kf6/kcoreaddons]
(Junk lock failure for localhost at 1743850764.01883)
Received IO
(Junk lock obtained for localhost at 1743850764.06)
Received IO
Woken up devel/kf6/krunner
Woken up devel/kf6/krunner
>>> Running depends in devel/kf6/krunner at 1743850764.81
   last junk was in textproc/py-vobject
/usr/sbin/pkg_add -aI -Drepair gtar-1.35p0 kf6-extra-cmake-modules-6.12.0 
kf6-kconfig-6.12.0 kf6-kcoreaddons-6.12.0 kf6-ki18n-6.12.0 
kf6-kitemmodels-6.12.0 libiconv-1.17 libvorbis-1.3.7 libxmp-4.6.2 opusfile-0.12 
qt6-qtbase-6.8.2p1 qt6-qttools-6.8.2p3 sdl2-2.32.0 vulkan-loader-1.4.304.0p0 
wavpack-5.6.0p0
was: /usr/sbin/pkg_add -aI -Drepair cmake-core-3.31.6 dwz-0.15 
gettext-tools-0.23.1 gtar-1.35p0 kf6-extra-cmake-modules-6.12.0 
kf6-kconfig-6.12.0 kf6-kcoreaddons-6.12.0 kf6-ki18n-6.12.0 
kf6-kitemmodels-6.12.0 ninja-1.11.1p0v0 qt6-qtbase-6.8.2p1 qt6-qttools-6.8.2p3 
vulkan-loader-1.4.304.0p0 xz-5.6.4p0
/usr/sbin/pkg_add -aI -Drepair gtar-1.35p0 kf6-extra-cmake-modules-6.12.0 
kf6-kconfig-6.12.0 kf6-kcoreaddons-6.12.0 kf6-ki18n-6.12.0 
kf6-kitemmodels-6.12.0 libiconv-1.17 libvorbis-1.3.7 libxmp-4.6.2 opusfile-0.12 
qt6-qtbase-6.8.2p1 qt6-qttools-6.8.2p3 sdl2-2.32.0 vulkan-loader-1.4.304.0p0 
wavpack-5.6.0p0
New and changed readme(s):
        /usr/local/share/doc/pkg-readmes/consolekit2
        /usr/local/share/doc/pkg-readmes/libinotify
        /usr/local/share/doc/pkg-readmes/llvm-19
        /usr/local/share/doc/pkg-readmes/sdl2
>>> Running show-prepare-results in devel/kf6/krunner at 1743850847.01
===> devel/kf6/krunner
===> Building from scratch kf6-krunner-6.12.0
===> kf6-krunner-6.12.0 depends on: kf6-extra-cmake-modules->=6.12 -> 
kf6-extra-cmake-modules-6.12.0
===> kf6-krunner-6.12.0 depends on: gettext-tools-* -> gettext-tools-0.23.1
===> kf6-krunner-6.12.0 depends on: gtar-* -> gtar-1.35p0
===> kf6-krunner-6.12.0 depends on: vulkan-loader-* -> vulkan-loader-1.4.304.0p0
===> kf6-krunner-6.12.0 depends on: qt6-qttools->=6.8.2,<6.9.0 -> 
qt6-qttools-6.8.2p3
===> kf6-krunner-6.12.0 depends on: cmake-core-* -> cmake-core-3.31.6
===> kf6-krunner-6.12.0 depends on: ninja-* -> ninja-1.11.1p0v0
===> kf6-krunner-6.12.0 depends on: dwz-* -> dwz-0.15
===> kf6-krunner-6.12.0 depends on: xz->=5.4.0 -> xz-5.6.4p0
===> kf6-krunner-6.12.0 depends on: kf6-kconfig->=6.12 -> kf6-kconfig-6.12.0
===> kf6-krunner-6.12.0 depends on: kf6-kcoreaddons->=6.12 -> 
kf6-kcoreaddons-6.12.0
===> kf6-krunner-6.12.0 depends on: kf6-kitemmodels->=6.12 -> 
kf6-kitemmodels-6.12.0
===> kf6-krunner-6.12.0 depends on: kf6-ki18n->=6.12 -> kf6-ki18n-6.12.0
===> kf6-krunner-6.12.0 depends on: qt6-qtbase->=6.8.2,<6.9.0 -> 
qt6-qtbase-6.8.2p1
===>  Verifying specs:  c++ c++abi pthread GL KF6ConfigCore KF6CoreAddons 
KF6I18n KF6ItemModels Qt6Core Qt6DBus Qt6Gui m
===>  found c++.10.0 c++abi.7.0 pthread.27.1 GL.19.1 KF6ConfigCore.0.0 
KF6CoreAddons.0.1 KF6I18n.0.0 KF6ItemModels.0.0 Qt6Core.6.0 Qt6DBus.3.1 
Qt6Gui.8.0 m.10.1
cmake-core-3.31.6
dwz-0.15
gettext-tools-0.23.1
gtar-1.35p0
kf6-extra-cmake-modules-6.12.0
kf6-kconfig-6.12.0
kf6-kcoreaddons-6.12.0
kf6-ki18n-6.12.0
kf6-kitemmodels-6.12.0
ninja-1.11.1p0v0
qt6-qtbase-6.8.2p1
qt6-qttools-6.8.2p3
vulkan-loader-1.4.304.0p0
xz-5.6.4p0
(Junk lock released for localhost at 1743850848.05)
Woken up devel/sdl2-mixer
distfiles size=131312
>>> Running build in devel/kf6/krunner at 1743850848.07
===> devel/kf6/krunner
===>  Checking files for kf6-krunner-6.12.0
`/data/distfiles/kde-kf6/krunner-6.12.0.tar.xz' is up to date.
>> (SHA256) all files: OK
===>  Extracting for kf6-krunner-6.12.0
===>  Patching for kf6-krunner-6.12.0
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for kf6-krunner-6.12.0
===>  Configuring for kf6-krunner-6.12.0
-- The C compiler identification is Clang 19.1.7
-- The CXX compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tmp/pobj/kf6-krunner-6.12.0/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /tmp/pobj/kf6-krunner-6.12.0/bin/c++ - 
skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
CMake Warning (dev) at 
/usr/local/share/ECM/kde-modules/KDEClangFormat.cmake:109 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/local/share/ECM/kde-modules/KDEFrameworkCompilerSettings.cmake:66 
(kde_clang_format)
  CMakeLists.txt:20 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/X11R6/lib/libGL.so.19.1
-- Found WrapOpenGL: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.0.3")
-- Found XKB: /usr/local/lib/libxkbcommon.so.3.0 (found suitable version 
"1.8.1", minimum required is "0.5.0")
-- Found Vulkan: /usr/local/lib/libvulkan.so.1.3 (found version "1.4.304")  
missing components: glslc glslangValidator
-- Found WrapVulkanHeaders: /usr/local/include
-- Could NOT find Qt6QmlCompilerPlusPrivateTools (missing: 
Qt6QmlCompilerPlusPrivateTools_DIR)
CMake Error at 
/usr/local/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandCompositorIviapplicationpluginTargets.cmake:92
 (message):
  The imported target "Qt6::WaylandCompositorIviapplicationplugin" references
  the file

     
"/usr/local/lib/qt6/qml/QtWayland/Compositor/IviApplication/libwaylandcompositoriviapplicationplugin.so"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     
"/usr/local/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandCompositorIviapplicationpluginTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  
/usr/local/lib/cmake/Qt6Qml/QmlPlugins/Qt6WaylandCompositorIviapplicationpluginConfig.cmake:59
 (include)
  /usr/local/lib/cmake/Qt6Qml/Qt6QmlPlugins.cmake:47 (include)
  /usr/local/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:147 (include)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 
(find_package)
  /usr/local/lib/cmake/KF6Config/KF6ConfigConfig.cmake:43 (find_dependency)
  CMakeLists.txt:56 (find_package)


-- Configuring incomplete, errors occurred!
*** Error 1 in devel/kf6/krunner (/usr/ports/infrastructure/mk/bsd.port.mk:3030 
'do-configure': @cd /tmp/pobj/kf6-krunner-6.12.0/build-amd64...)
*** Error 2 in devel/kf6/krunner (/usr/ports/infrastructure/mk/bsd.port.mk:3050 
'/tmp/pobj/kf6-krunner-6.12.0/build-amd64/.configure_done')
*** Error 2 in devel/kf6/krunner (/usr/ports/infrastructure/mk/bsd.port.mk:2712 
'build': @lock=kf6-krunner-6.12.0;  export _LOCKS_HELD=" kf6...)
===> Exiting devel/kf6/krunner with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1743850851.06
max_stuck=72.67/waiting-for-lock 
#267=0.79/depends=82.20/show-prepare-results=1.05/build=3.01
Error: job failed with 512 on localhost at 1743850851

Reply via email to