You are not logged in.

#1 2026-01-08 02:13:48

TheBill2001
Member
Registered: 2021-08-17
Posts: 18

[SOLVED] Some files are not installed in Arch Linux docker image.

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

The error:

Cannot open file '/usr/share/doc/qt6/global/qt-module-defaults-offline.qdocconf': No such file or directory

Last edited by TheBill2001 (2026-01-08 14:06:09)

Offline

#2 2026-01-08 02:47:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,418

Re: [SOLVED] Some files are not installed in Arch Linux docker image.

And the log?

Offline

#3 2026-01-08 03:53:40

TheBill2001
Member
Registered: 2021-08-17
Posts: 18

Re: [SOLVED] Some files are not installed in Arch Linux docker image.

To be specific, which log do you want?

Here is the link to the latest CI run.

Offline

#4 2026-01-08 11:31:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,418

Re: [SOLVED] Some files are not installed in Arch Linux docker image.

OK, that looks fine. What does /etc/pacman.conf look like?

Offline

#5 2026-01-08 13:29:15

csmnn
Member
Registered: 2017-05-10
Posts: 23

Re: [SOLVED] Some files are not installed in Arch Linux docker image.

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

#6 2026-01-08 14:05:52

TheBill2001
Member
Registered: 2021-08-17
Posts: 18

Re: [SOLVED] Some files are not installed in Arch Linux docker image.

Ah! That was it. I didn't look at pacman.conf because I didn't even consider pacman has that function. Thank you!

Offline

Board footer

Powered by FluxBB