Specifying module options for qt repos switches into SVN mode
Problem
Here is my qt6-dev.kdesrc-buildrc
config:
global
branch-group kf6-qt6
prefix /usr/local/qt-dev
kdedir /usr/local/qt-dev
qtdir /usr/local/qt-dev
source-dir ~/kde/src6
build-dir ~/kde/build-qt6-dev
persistent-data-file ~/kde/.qt6-dev.kdesrc-build-data
stop-on-failure false
directory-layout flat
include-dependencies true
install-environment-driver false
install-session-driver false
compile-commands-export true
compile-commands-linking true
num-cores 6
num-cores-low-mem 2
cmake-generator Kate - Ninja
cmake-options \
-DBUILD_TESTING=ON \
-DBUILD_EXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
git-repository-base qt6-copy https://invent.kde.org/qt/qt/
end global
include /home/ratijas/kde/src6/kdesrc-build/kf6-qt6-build-include
module-set qt6-set
override-build-system qt6
repository qt6-copy
branch dev
use-modules qtbase qtsvg qtshadertools qtimageformats \
qtlanguageserver qtdeclarative qttools qtmultimedia \
qtwayland qtwebsockets qtwebchannel qtwebview qtsensors \
qtnetworkauth qt5compat qtpositioning qtlocation \
qtdoc
cmake-options \
-DQT_BUILD_TESTS=OFF -DQT_BUILD_EXAMPLES=OFF \
-DFEATURE_developer_build=ON \
-DQT_USE_CCACHE=TRUE \
-DQT_AVOID_CMAKE_ARCHIVING_API=TRUE -DQT_USE_CCACHE=TRUE \
cmake-generator Kate - Ninja
end module-set
module qtbase
end module
And it fails to build qtbase. It can be fixed by commenting out the last two lines: an empty module block. Somehow merely having that block in my config switches qtbase module into SVN mode, and I'm getting this svn-co.log
error:
# kdesrc-build running: 'svn' 'co' '--non-interactive' 'svn://anonsvn.kde.org/home/kde/trunk/KDE/qtbase' 'qtbase'
# from directory: /home/ratijas/kde/src6
svn: E170000: URL 'svn://anonsvn.kde.org/home/kde/trunk/KDE/qtbase' doesn't exist
Why?
Preferred solution
kdesrc-build shouldn't be using SVN to update Qt repos. There is nothing in my config file that even implies usage of SVN.