Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] can't set up docker build environment for manjaro / arch #1057

Open
2 tasks done
wohltat opened this issue Feb 17, 2025 · 0 comments
Open
2 tasks done

[Problem] can't set up docker build environment for manjaro / arch #1057

wohltat opened this issue Feb 17, 2025 · 0 comments

Comments

@wohltat
Copy link

wohltat commented Feb 17, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.21 (Development)

Full version info

todays state.
I tested LinkStable and LinkMerge.

Subproject(s) affected?

None

Problem description

The docker scripts in tools/build/Docker are outdated.
I get the following error now:

> docker build --file tools/build/Docker/Dockerfile.Arch --tag freecad-arch tools/build/Docker/  
[+] Building 51.1s (7/8)                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile.Arch                                                                                                                                 0.0s
 => => transferring dockerfile: 224B                                                                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/archlinux:base                                                                                                                         1.7s
 => [internal] load .dockerignore                                                                                                                                                         0.0s
 => => transferring context: 2B                                                                                                                                                           0.0s
 => [internal] load build context                                                                                                                                                         0.0s
 => => transferring context: 440B                                                                                                                                                         0.0s
 => [1/4] FROM docker.io/library/archlinux:base@sha256:33ff44f3d1d18207c1bdc1bf5c4283541b7680bb60e3092e6973437e4e1c3927                                                                  31.5s
 => => resolve docker.io/library/archlinux:base@sha256:33ff44f3d1d18207c1bdc1bf5c4283541b7680bb60e3092e6973437e4e1c3927                                                                   0.0s
 => => sha256:33ff44f3d1d18207c1bdc1bf5c4283541b7680bb60e3092e6973437e4e1c3927 1.23kB / 1.23kB                                                                                            0.0s
 => => sha256:2a006ed10836e49964826d6b310b169983bffd474917e02727342012f1b970c2 1.22kB / 1.22kB                                                                                            0.0s
 => => sha256:957e6371bf45c26d24c8087e3945b87428edc053e2f9bbdd6dfb730c04cd31df 4.06kB / 4.06kB                                                                                            0.0s
 => => sha256:c4ce51beea9c3c5783dd11628e243d1c6679951a48f0168e07d67ad3ff6c26c7 157.67MB / 157.67MB                                                                                       23.9s
 => => sha256:d28b40c5e7a481307aa7619a8d87e35c219aa4561ba990a0966f3bc9d1a6010a 8.28kB / 8.28kB                                                                                            0.3s
 => => extracting sha256:c4ce51beea9c3c5783dd11628e243d1c6679951a48f0168e07d67ad3ff6c26c7                                                                                                 6.1s
 => => extracting sha256:d28b40c5e7a481307aa7619a8d87e35c219aa4561ba990a0966f3bc9d1a6010a                                                                                                 0.0s
 => [2/4] COPY arch.sh /tmp                                                                                                                                                               0.0s
 => ERROR [3/4] RUN pacman --sync --refresh --sysupgrade --noconfirm &&     sh /tmp/arch.sh &&     mkdir /builds                                                                         17.8s
------                                                                                                                                                                                         
 > [3/4] RUN pacman --sync --refresh --sysupgrade --noconfirm &&     sh /tmp/arch.sh &&     mkdir /builds:                                                                                     
0.259 :: Synchronizing package databases...                                                                                                                                                    
1.854  core downloading...                                                                                                                                                                     
1.854  extra downloading...                                                                                                                                                                    
1.854 :: Starting full system upgrade...                                                                                                                                                       
2.115 resolving dependencies...
2.117 looking for conflicting packages...
2.120 
2.120 Package (15)              Old Version                  New Version                  Net Change  Download Size
2.120 
2.120 core/curl                 8.12.0-3                     8.12.1-1                       0.01 MiB       1.14 MiB
2.120 core/gcc-libs             14.2.1+r730+gc061ad5a36ba-1  14.2.1+r753+g1cd744a6828f-1    0.00 MiB      35.04 MiB
2.120 core/glibc                2.41+r2+g0a7c7a3e283a-1      2.41+r6+gcf88351b685d-1       -0.03 MiB       9.98 MiB
2.120 core/gnutls               3.8.8-1                      3.8.9-1                        2.46 MiB       1.75 MiB
2.120 core/gpgme                1.24.1-3                     1.24.2-1                       0.00 MiB       0.45 MiB
2.120 core/leancrypto                                        1.2.0-2                        2.40 MiB       0.62 MiB
2.120 core/libelf               0.192-3                      0.192-4                        0.00 MiB       0.59 MiB
2.120 extra/libsysprof-capture  47.2-2                       47.2-3                         0.00 MiB       0.05 MiB
2.120 core/linux-api-headers    6.10-1                       6.13-1                         0.17 MiB       1.27 MiB
2.120 core/mpfr                 4.2.1-5                      4.2.1-6                        0.00 MiB       0.43 MiB
2.120 core/openssl              3.4.0-1                      3.4.1-1                        0.00 MiB       5.02 MiB
2.120 core/pam                  1.7.0-1                      1.7.0-2                       -0.44 MiB       0.58 MiB
2.120 core/systemd              257.2-2                      257.3-1                        0.05 MiB       8.81 MiB
2.120 core/systemd-libs         257.2-2                      257.3-1                        0.00 MiB       1.20 MiB
2.120 core/systemd-sysvcompat   257.2-2                      257.3-1                        0.00 MiB       0.01 MiB
2.120 
2.120 Total Download Size:    66.92 MiB
2.120 Total Installed Size:  266.31 MiB
2.120 Net Upgrade Size:        4.62 MiB
2.120 
2.120 :: Proceed with installation? [Y/n] 
2.121 :: Retrieving packages...
12.32  gcc-libs-14.2.1+r753+g1cd744a6828f-1-x86_64 downloading...
12.32  glibc-2.41+r6+gcf88351b685d-1-x86_64 downloading...
12.32  systemd-257.3-1-x86_64 downloading...
12.32  openssl-3.4.1-1-x86_64 downloading...
12.32  gnutls-3.8.9-1-x86_64 downloading...
12.32  linux-api-headers-6.13-1-x86_64 downloading...
12.32  systemd-libs-257.3-1-x86_64 downloading...
12.32  curl-8.12.1-1-x86_64 downloading...
12.32  leancrypto-1.2.0-2-x86_64 downloading...
12.32  libelf-0.192-4-x86_64 downloading...
12.32  pam-1.7.0-2-x86_64 downloading...
12.32  gpgme-1.24.2-1-x86_64 downloading...
12.32  mpfr-4.2.1-6-x86_64 downloading...
12.32  libsysprof-capture-47.2-3-x86_64 downloading...
12.32  systemd-sysvcompat-257.3-1-x86_64 downloading...
12.32 checking keyring...
12.41 checking package integrity...
13.05 loading package files...
13.17 checking for file conflicts...
13.17 :: Processing package changes...
13.17 upgrading linux-api-headers...
13.26 upgrading glibc...
13.50 Generating locales...
13.52 Generation complete.
13.56 upgrading openssl...
13.72 upgrading gcc-libs...
14.04 upgrading systemd-libs...
14.06 upgrading pam...
14.08 upgrading curl...
14.09 installing leancrypto...
14.10 upgrading gnutls...
14.13 upgrading libsysprof-capture...
14.14 upgrading gpgme...
14.15 upgrading libelf...
14.16 upgrading mpfr...
14.16 upgrading systemd...
14.45 upgrading systemd-sysvcompat...
15.15 :: Running post-transaction hooks...
15.15 ( 1/11) Creating system user accounts...
15.24 ( 2/11) Updating journal message catalog...
15.35 ( 3/11) Reloading system manager configuration...
15.47   Skipped: Current root is not booted.
15.47 ( 4/11) Reloading user manager configuration...
15.55   Skipped: Current root is not booted.
15.55 ( 5/11) Updating udev hardware database...
16.12 ( 6/11) Restarting marked services...
16.25   Skipped: Current root is not booted.
16.25 ( 7/11) Applying kernel sysctl settings...
16.38   Skipped: Current root is not booted.
16.38 ( 8/11) Creating temporary files...
16.48 /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
16.48 All rules containing unresolvable specifiers will be skipped.
16.49 ( 9/11) Reloading device manager configuration...
16.60   Skipped: Device manager is not running.
16.60 (10/11) Arming ConditionNeedsUpdate...
16.72 (11/11) Reloading system bus configuration...
16.81   Skipped: Current root is not booted.
17.08 warning: curl-8.12.1-1 is up to date -- reinstalling
17.09 error: target not found: pyside2
17.09 error: target not found: pyside2-tools
17.09 error: target not found: qt5-webkit
17.09 error: target not found: shiboken2
------
Dockerfile.Arch:5
--------------------
   4 |     
   5 | >>> RUN pacman --sync --refresh --sysupgrade --noconfirm && \
   6 | >>>     sh /tmp/arch.sh && \
   7 | >>>     mkdir /builds
   8 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c pacman --sync --refresh --sysupgrade --noconfirm &&     sh /tmp/arch.sh &&     mkdir /builds" did not complete successfully: exit code: 1

This is very likely caused by pyside2, pyside2-tools, qt5-webkit and shiboken2 not being part of the main arch/manjaro repos but in AUR now. They cannot be installed with pacman --sync anymore like in the arch.sh/manjaro.sh.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@wohltat wohltat changed the title [Problem] can set up docker build environment for manjaro / arch [Problem] can't set up docker build environment for manjaro / arch Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant