You are not logged in.
Hi, sorry first if this is not right category to post this in.
I'm currently setting up a GitLab CI job that uses Arch Linux docker image, specifically archlinux:base-devel. The CI failed because some files are missing/not installed. I tried to run the workflow manually by hand and also cannot find them in the docker image. Actually, no file in /usr/share/doc is present.
The project I'm working on is a Qt CMake project. I need to generate HTML documentation pages using QDoc. To do so I need access to files in /usr/share/doc/qt6. These files are completely missing in the image even after force overwrite install of the package. Any help would be appreciated.
Here is the .gitlab-ci.yml file:
# The Docker image that will be used to build your app
image: archlinux:base-devel
create-pages:
tags:
- billarch-pc
pages:
# The folder that contains the files to be exposed at the Page URL
publish: build/install/share/doc/qch/project
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# Functions that should be executed before the build script is run
before_script:
- pacman -Syu --noconfirm cmake ninja clang qt6-base qt6-declarative qt6-doc qt6-tools extra-cmake-modules
script:
- INSTALL_DIR="$PWD/build/install" cmake --preset ninja-documentation
- cmake --build --preset ninja-documentation-html
- cmake --build --preset ninja-documentation-html-installThe error:
Cannot open file '/usr/share/doc/qt6/global/qt-module-defaults-offline.qdocconf': No such file or directoryLast edited by TheBill2001 (2026-01-08 14:06:09)
Offline
And the log?
Offline
To be specific, which log do you want?
Here is the link to the latest CI run.
Offline
OK, that looks fine. What does /etc/pacman.conf look like?
Offline
The /etc/pacman.conf for the base-devel-image also contains noextract-entries for /usr/share and a lot of other things at the end.
They are also listed here: https://gitlab.archlinux.org/archlinux/ … tract.conf
You could modify those in your container and reinstall the qt6-libraries.
Last edited by csmnn (2026-01-08 13:29:53)
Offline
Ah! That was it. I didn't look at pacman.conf because I didn't even consider pacman has that function. Thank you!
Offline