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

chore: workaround for vite5 not working on s390x platform arch [WD-8319] #656

Closed
wants to merge 1 commit into from

Conversation

mas-who
Copy link
Contributor

@mas-who mas-who commented Feb 19, 2024

Done

  • Check if platform arch is s390x and downgrade to vite4 for building the ui

QA

  1. Run the LXD-UI:
    • On the demo server via the link posted by @webteam-app below. This is only available for PRs created by collaborators of the repo. Ask @lorumic or @edlerd for access.
    • With a local copy of this branch, run as described here.
  2. Perform the following QA steps:
    • ensure CI passes
    • locally create a docker builder for s390x arch, then use that builder to build the project image (make sure the base image used is also built in s390x)

Signed-off-by: Mason Hu <mason.hu@canonical.com>
@webteam-app
Copy link

Demo starting at https://lxd-ui-656.demos.haus

@mas-who
Copy link
Contributor Author

mas-who commented Feb 19, 2024

This is a hack workaround, also difficult to test the final build output for s390x arch since we can't really run an multi-platform image locally. Not sure if I can find an alternative either than waiting for rollup to support s390x (or figure out a fix for rollup which will take a while). Below is an example build output from the project Dockerfile:

mason@BlackMumba:~/Desktop/work/forks/lxd-ui$ docker buildx build -t s390x-test --progress plain --pl
atform linux/s390x --push .
#0 building with "s390x-builder" instance using docker-container driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.15kB done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/node:21
#2 ...

#3 [internal] load metadata for docker.io/library/ubuntu:jammy
#3 DONE 2.1s

#2 [internal] load metadata for docker.io/library/node:21
#2 DONE 2.4s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [yarn-dependencies  1/10] FROM docker.io/library/node:21@sha256:65998e325b06014d4f1417a8a6afb1540d1ac66521cca76f2221a6953947f9ee
#5 resolve docker.io/library/node:21@sha256:65998e325b06014d4f1417a8a6afb1540d1ac66521cca76f2221a6953947f9ee 0.0s done
#5 DONE 0.0s

#6 [stage-1 1/5] FROM docker.io/library/ubuntu:jammy@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da
#6 resolve docker.io/library/ubuntu:jammy@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da 0.0s done
#6 DONE 0.0s

#7 [internal] load build context
#7 transferring context: 842.66MB 5.1s
#7 transferring context: 1.72GB 10.3s
#7 transferring context: 2.54GB 15.3s
#7 transferring context: 3.09GB 20.3s
#7 transferring context: 3.14GB 20.9s done
#7 DONE 21.0s

#8 [yarn-dependencies  2/10] WORKDIR /srv
#8 CACHED

#9 [yarn-dependencies  3/10] COPY . .
#9 DONE 5.5s

#10 [yarn-dependencies  4/10] RUN yarn --network-concurrency 2
#10 2.163 yarn install v1.22.19
#10 3.030 [1/4] Resolving packages...
#10 5.105 [2/4] Fetching packages...
#10 5.351 (node:9) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
#10 5.351 (Use `node --trace-deprecation ...` to show where the warning was created)
#10 135.0 [3/4] Linking dependencies...
#10 157.4 [4/4] Building fresh packages...
#10 159.4 Done in 157.29s.
#10 DONE 159.7s

#11 [yarn-dependencies  5/10] RUN if [ "$(arch)" = "s390x" ] ; then yarn upgrade vite@4.5.2 ; else echo "we good" ; fi
#11 2.232 yarn upgrade v1.22.19
#11 3.136 (node:11) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
#11 3.136 (Use `node --trace-deprecation ...` to show where the warning was created)
#11 8.120 [1/4] Resolving packages...
#11 11.80 [2/4] Fetching packages...
#11 25.57 [3/4] Linking dependencies...
#11 34.77 [4/4] Rebuilding all packages...
#11 37.12 success Saved lockfile.
#11 37.56 success Saved 4 new dependencies.
#11 37.56 info Direct dependencies
#11 37.57 └─ vite@4.5.2
#11 37.57 info All dependencies
#11 37.57 ├─ @esbuild/linux-s390x@0.18.20
#11 37.57 ├─ esbuild@0.18.20
#11 37.57 ├─ rollup@3.29.4
#11 37.57 └─ vite@4.5.2
#11 37.57 Done in 35.38s.
#11 DONE 38.1s

#12 [yarn-dependencies  6/10] RUN yarn run build
#12 1.984 yarn run v1.22.19
#12 2.342 $ npx vite build && yarn build-html
#12 9.743 vite v4.5.2 building for production...
#12 10.00 transforming...
#12 127.3 ✓ 1926 modules transformed.
#12 130.4 rendering chunks...
#12 133.4 computing gzip size...
#12 133.8 build/ui/index.html                                         0.54 kB │ gzip:   0.33 kB
#12 133.8 build/ui/assets/certificate-3aff5cf1.js                   283.83 kB
#12 133.8 build/ui/assets/InstanceDetail-ff373be6.css                 3.97 kB │ gzip:   1.64 kB
#12 133.8 build/ui/assets/instanceValidation-d51d9b53.css            55.57 kB │ gzip:   9.35 kB
#12 133.8 build/ui/assets/index-edd7b0a7.css                        579.66 kB │ gzip:  77.57 kB
#12 133.8 build/ui/assets/instanceDelete-92f38617.js                  0.04 kB │ gzip:   0.06 kB
#12 133.8 build/ui/assets/NotificationRow-390ee60a.js                 0.13 kB │ gzip:   0.14 kB
#12 133.8 build/ui/assets/useDeleteIcon-54224b7e.js                   0.17 kB │ gzip:   0.16 kB
#12 133.8 build/ui/assets/formFields-f410667c.js                      0.20 kB │ gzip:   0.17 kB
#12 133.8 build/ui/assets/ProtectedRoute-b268538f.js                  0.21 kB │ gzip:   0.18 kB
#12 133.8 build/ui/assets/settings-ab74056c.js                        0.23 kB │ gzip:   0.16 kB
#12 133.8 build/ui/assets/HelpLink-8e855176.js                        0.29 kB │ gzip:   0.22 kB
#12 133.8 build/ui/assets/Meter-75000d54.js                           0.29 kB │ gzip:   0.21 kB
#12 133.8 build/ui/assets/searchAndFilter-67115edd.js                 0.36 kB │ gzip:   0.26 kB
#12 133.8 build/ui/assets/TabLinks-b68a3bb9.js                        0.36 kB │ gzip:   0.29 kB
#12 133.8 build/ui/assets/CreateInstanceFromImageBtn-b4b61397.js      0.36 kB │ gzip:   0.27 kB
#12 133.8 build/ui/assets/AutoExpandingTextArea-f70335ea.js           0.39 kB │ gzip:   0.30 kB
#12 133.8 build/ui/assets/useSortTableData-421dc968.js                0.39 kB │ gzip:   0.26 kB
#12 133.8 build/ui/assets/CreateClusterGroup-bbc0c208.js              0.40 kB │ gzip:   0.26 kB
#12 133.8 build/ui/assets/operations-3c8573d9.js                      0.45 kB │ gzip:   0.21 kB
#12 133.8 build/ui/assets/BaseLayout-b2ed7ad8.js                      0.46 kB │ gzip:   0.24 kB
#12 133.8 build/ui/assets/SubmitButton-1aee9ff7.js                    0.54 kB │ gzip:   0.33 kB
#12 133.8 build/ui/assets/ScrollableTable-19dd092c.js                 0.54 kB │ gzip:   0.39 kB
#12 133.8 build/ui/assets/PageHeader-fb7858b8.js                      0.55 kB │ gzip:   0.25 kB
#12 133.8 build/ui/assets/images-3a73c617.js                          0.62 kB │ gzip:   0.34 kB
#12 133.8 build/ui/assets/snapshots-51d84983.js                       0.67 kB │ gzip:   0.38 kB
#12 133.8 build/ui/assets/EditClusterGroup-dd309f16.js                0.69 kB │ gzip:   0.44 kB
#12 133.8 build/ui/assets/network-forwards-9ae60866.js                0.83 kB │ gzip:   0.31 kB
#12 133.8 build/ui/assets/images-55120f45.js                          0.85 kB │ gzip:   0.47 kB
#12 133.8 build/ui/assets/FormFooterLayout-3468b9f7.js                0.88 kB │ gzip:   0.51 kB
#12 133.8 build/ui/assets/ProfileDetailsForm-f8a81660.js              0.88 kB │ gzip:   0.49 kB
#12 133.8 build/ui/assets/CancelOperationBtn-dd7c36c2.js              0.91 kB │ gzip:   0.54 kB
#12 133.8 build/ui/assets/SelectedTableNotification-bed1270b.js       0.91 kB │ gzip:   0.41 kB
#12 133.8 build/ui/assets/StorageVolumesFilter-fe0dc272.js            1.03 kB │ gzip:   0.60 kB
#12 133.8 build/ui/assets/ConfigFieldDescription-2829ac86.js          1.23 kB │ gzip:   0.74 kB
#12 133.8 build/ui/assets/SnapshotForm-5760cb2b.js                    1.45 kB │ gzip:   0.66 kB
#12 133.8 build/ui/assets/ProfileFormMenu-97892108.js                 1.50 kB │ gzip:   0.72 kB
#12 133.8 build/ui/assets/Login-a7150a8a.js                           1.50 kB │ gzip:   0.63 kB
#12 133.8 build/ui/assets/CreateNetworkForward-3dd64947.js            1.52 kB │ gzip:   0.82 kB
#12 133.8 build/ui/assets/SelectableMainTable-f3c3ef47.js             1.52 kB │ gzip:   0.77 kB
#12 133.8 build/ui/assets/StoragePoolSize-6778709f.js                 1.58 kB │ gzip:   0.93 kB
#12 133.8 build/ui/assets/RenameHeader-807807cb.js                    1.67 kB │ gzip:   0.76 kB
#12 133.8 build/ui/assets/networks-2e60f1dc.js                        1.71 kB │ gzip:   0.66 kB
#12 133.8 build/ui/assets/ProfileSelector-0e6e6c71.js                 1.81 kB │ gzip:   0.83 kB
#12 133.8 build/ui/assets/CreateStoragePool-78a6208f.js               1.85 kB │ gzip:   1.04 kB
#12 133.8 build/ui/assets/DiskSizeSelector-3da8b2fe.js                1.89 kB │ gzip:   0.92 kB
#12 133.8 build/ui/assets/EditNetworkForward-2c96b4aa.js              1.93 kB │ gzip:   0.97 kB
#12 133.8 build/ui/assets/StorageVolumeCreate-039dbe36.js             2.01 kB │ gzip:   1.07 kB
#12 133.8 build/ui/assets/WarningList-ecd5b5f4.js                     2.02 kB │ gzip:   0.88 kB
#12 133.8 build/ui/assets/CreateProject-10d6f55b.js                   2.07 kB │ gzip:   1.17 kB
#12 133.9 build/ui/assets/StorageUsedBy-f5167ff1.js                   2.39 kB │ gzip:   0.66 kB
#12 133.9 build/ui/assets/CreateNetwork-9b98d6d8.js                   2.43 kB │ gzip:   1.28 kB
#12 133.9 build/ui/assets/CertificateAdd-4e5cbefa.js                  2.47 kB │ gzip:   0.94 kB
#12 133.9 build/ui/assets/OperationList-fb20ced5.js                   3.02 kB │ gzip:   1.18 kB
#12 133.9 build/ui/assets/loadIsoVolumes-fc6e2d70.js                  3.18 kB │ gzip:   1.56 kB
#12 133.9 build/ui/assets/ClusterGroupForm-8dcaa778.js                3.22 kB │ gzip:   1.47 kB
#12 133.9 build/ui/assets/NetworkList-0cc227ae.js                     3.34 kB │ gzip:   1.30 kB
#12 133.9 build/ui/assets/CreateProfile-d38a5290.js                   3.34 kB │ gzip:   1.67 kB
#12 133.9 build/ui/assets/clusterGroups-421fca7c.js                   3.43 kB │ gzip:   1.03 kB
#12 133.9 build/ui/assets/ProfileList-61873414.js                     3.65 kB │ gzip:   1.63 kB
#12 133.9 build/ui/assets/InstanceFormMenu-f91b5538.js                3.99 kB │ gzip:   1.65 kB
#12 133.9 build/ui/assets/useClusterMembers-ef56f2a1.js               4.61 kB │ gzip:   1.80 kB
#12 133.9 build/ui/assets/ClusterList-60dea077.js                     5.10 kB │ gzip:   2.00 kB
#12 133.9 build/ui/assets/instanceEdit-3a1a18ca.js                    5.51 kB │ gzip:   2.14 kB
#12 133.9 build/ui/assets/VolumeAddSnapshotBtn-d65c9557.js            5.98 kB │ gzip:   2.34 kB
#12 133.9 build/ui/assets/NetworkForwardForm-2aa36700.js              6.08 kB │ gzip:   1.90 kB
#12 133.9 build/ui/assets/StoragePoolDetail-465ee0cd.js               6.19 kB │ gzip:   2.38 kB
#12 133.9 build/ui/assets/ImageList-2623e374.js                       6.49 kB │ gzip:   2.39 kB
#12 133.9 build/ui/assets/Settings-428241e4.js                        6.82 kB │ gzip:   2.50 kB
#12 133.9 build/ui/assets/ProjectConfiguration-472b3a98.js            7.52 kB │ gzip:   2.77 kB
#12 133.9 build/ui/assets/CertificateGenerate-6d844286.js             9.81 kB │ gzip:   2.53 kB
#12 133.9 build/ui/assets/FormMenuItem-45091333.js                    9.85 kB │ gzip:   3.28 kB
#12 133.9 build/ui/assets/ProfileDetail-a3be3275.js                  10.00 kB │ gzip:   3.47 kB
#12 133.9 build/ui/assets/StorageVolumeForm-700d5968.js              10.62 kB │ gzip:   3.64 kB
#12 133.9 build/ui/assets/NetworkForm-2d838cbd.js                    10.89 kB │ gzip:   3.23 kB
#12 133.9 build/ui/assets/NetworkDetail-f77b7813.js                  14.23 kB │ gzip:   4.35 kB
#12 133.9 build/ui/assets/ProjectForm-bfa9c3af.js                    14.56 kB │ gzip:   3.14 kB
#12 133.9 build/ui/assets/Storage-514adca3.js                        14.66 kB │ gzip:   4.29 kB
#12 133.9 build/ui/assets/InstanceList-4105c2d9.js                   16.38 kB │ gzip:   5.63 kB
#12 133.9 build/ui/assets/CreateInstance-c7595025.js                 16.57 kB │ gzip:   5.91 kB
#12 133.9 build/ui/assets/StorageVolumeDetail-8adce689.js            17.70 kB │ gzip:   5.47 kB
#12 133.9 build/ui/assets/NetworkDevicesForm-f88a25c3.js             29.71 kB │ gzip:   8.13 kB
#12 133.9 build/ui/assets/storageVolume-5a8922ba.js                  34.64 kB │ gzip:  13.57 kB
#12 133.9 build/ui/assets/index.esm-4d81eba4.js                      70.74 kB │ gzip:  22.90 kB
#12 133.9 build/ui/assets/NetworkMap-a0482935.js                    398.53 kB │ gzip: 129.37 kB
#12 133.9 build/ui/assets/InstanceDetail-b7facef7.js                468.70 kB │ gzip: 122.92 kB
#12 133.9 build/ui/assets/index-9341ff88.js                         537.22 kB │ gzip: 152.99 kB
#12 133.9 build/ui/assets/instanceValidation-2ac1099a.js          2,234.02 kB │ gzip: 585.00 kB
#12 133.9 
#12 133.9 (!) Some chunks are larger than 500 kBs after minification. Consider:
#12 133.9 - Using dynamic import() to code-split the application
#12 133.9 - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
#12 133.9 - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
#12 133.9 ✓ built in 2m 4s
#12 134.1 npm notice 
#12 134.1 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
#12 134.1 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#12 134.1 npm notice Run `npm install -g npm@10.4.0` to update!
#12 134.1 npm notice 
#12 136.2 $ cp build/ui/index.html build/index.html
#12 136.5 Done in 134.59s.
#12 DONE 136.6s

#13 [yarn-dependencies  7/10] RUN mkdir /srv/deploy
#13 DONE 0.1s

#14 [yarn-dependencies  8/10] RUN mv build /srv/deploy/
#14 DONE 0.4s

#15 [yarn-dependencies  9/10] RUN mv entrypoint /srv/deploy/
#15 DONE 0.1s

#16 [yarn-dependencies 10/10] RUN mv haproxy-demo.cfg /srv/deploy/
#16 DONE 0.1s

#17 [stage-1 4/5] RUN mkdir /usr/local/nvm     && wget --no-check-certificate https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh     && bash install.sh     && . /usr/local/nvm/nvm.sh     && nvm install v16     && npm install --global serve
#17 ERROR: failed to load ref: krlurp5b9djry8tb8wtwwzuji: not found

#18 [stage-1 3/5] RUN apt-get update && apt-get install -y --no-install-recommends         haproxy         apt-transport-https         build-essential         ca-certificates         curl         git         libssl-dev         wget
#18 ERROR: failed to load ref: w8x5zbg41kf3zw0c0xlceneb2: not found

#19 [stage-1 2/5] WORKDIR /srv
#19 ERROR: failed to load ref: trcrbl9xbqbox8aoz78xmt8jc: not found

#6 [stage-1 1/5] FROM docker.io/library/ubuntu:jammy@sha256:f9d633ff6640178c2d0525017174a688e2c1aef28f0a0130b26bd5554491f0da
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 0B / 28.01MB 0.2s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 2.10MB / 28.01MB 2.6s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 4.19MB / 28.01MB 2.9s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 6.29MB / 28.01MB 3.3s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 9.44MB / 28.01MB 3.6s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 12.58MB / 28.01MB 3.9s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 14.68MB / 28.01MB 4.1s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 16.78MB / 28.01MB 4.2s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 18.87MB / 28.01MB 4.4s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 20.97MB / 28.01MB 4.5s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 23.07MB / 28.01MB 4.7s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 25.17MB / 28.01MB 4.8s
#6 sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 28.01MB / 28.01MB 5.0s done
#6 extracting sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9
#6 extracting sha256:8c305036370ece07999393ab52726bcdf8fc6cfdfaecfb9cb60f40ebaecec9e9 0.6s done
#6 DONE 5.7s

#19 [stage-1 2/5] WORKDIR /srv
#19 DONE 0.2s

#18 [stage-1 3/5] RUN apt-get update && apt-get install -y --no-install-recommends         haproxy         apt-transport-https         build-essential         ca-certificates         curl         git         libssl-dev         wget
#18 1.052 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB]
#18 2.161 Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
#18 2.358 Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [109 kB]
#18 2.665 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
#18 3.791 Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse s390x Packages [191 kB]
#18 4.191 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/universe s390x Packages [16.6 MB]
#18 6.879 Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x Packages [1691 kB]
#18 7.081 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/restricted s390x Packages [5829 B]
#18 7.082 Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse s390x Packages [3537 B]
#18 7.084 Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x Packages [911 kB]
#18 7.169 Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted s390x Packages [8936 B]
#18 7.783 Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe s390x Packages [1006 kB]
#18 9.839 Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main s390x Packages [49.1 kB]
#18 9.842 Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe s390x Packages [24.4 kB]
#18 9.845 Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe s390x Packages [750 kB]
#18 10.05 Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse s390x Packages [895 B]
#18 10.06 Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-security/main s390x Packages [654 kB]
#18 10.19 Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted s390x Packages [8309 B]
#18 13.95 Fetched 22.5 MB in 14s (1659 kB/s)
#18 13.95 Reading package lists...
#18 18.44 Reading package lists...
#18 22.45 Building dependency tree...
#18 22.98 Reading state information...
#18 23.36 The following additional packages will be installed:
#18 23.36   binutils binutils-common binutils-s390x-linux-gnu bzip2 cpp cpp-11 dpkg-dev
#18 23.36   g++ g++-11 gcc gcc-11 gcc-11-base git-man libasan6 libatomic1 libbinutils
#18 23.36   libbrotli1 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0
#18 23.36   libctf0 libcurl3-gnutls libcurl4 libdpkg-perl liberror-perl libexpat1
#18 23.36   libgcc-11-dev libgdbm-compat4 libgdbm6 libgomp1 libisl23 libitm1
#18 23.36   libldap-2.5-0 liblua5.3-0 libmpc3 libmpfr6 libnghttp2-14 libnsl-dev
#18 23.36   libperl5.34 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh-4
#18 23.36   libstdc++-11-dev libtirpc-dev libubsan1 linux-libc-dev lto-disabled-list
#18 23.36   make openssl patch perl perl-modules-5.34 rpcsvc-proto xz-utils
#18 23.37 Suggested packages:
#18 23.37   binutils-doc bzip2-doc cpp-doc gcc-11-locales debian-keyring g++-multilib
#18 23.37   g++-11-multilib gcc-11-doc gcc-multilib manpages-dev autoconf automake
#18 23.37   libtool flex bison gdb gcc-doc gcc-11-multilib gettext-base git-daemon-run
#18 23.37   | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs
#18 23.37   git-mediawiki git-svn vim-haproxy haproxy-doc glibc-doc gnupg bzr gdbm-l10n
#18 23.37   libssl-doc libstdc++-11-doc make-doc ed diffutils-doc perl-doc
#18 23.37   libterm-readline-gnu-perl | libterm-readline-perl-perl
#18 23.37   libtap-harness-archive-perl
#18 23.37 Recommended packages:
#18 23.37   fakeroot gnupg libalgorithm-merge-perl less ssh-client manpages manpages-dev
#18 23.37   libc-devtools libfile-fcntllock-perl liblocale-gettext-perl libldap-common
#18 23.37   publicsuffix libsasl2-modules netbase
#18 23.76 The following NEW packages will be installed:
#18 23.76   apt-transport-https binutils binutils-common binutils-s390x-linux-gnu
#18 23.76   build-essential bzip2 ca-certificates cpp cpp-11 curl dpkg-dev g++ g++-11
#18 23.76   gcc gcc-11 gcc-11-base git git-man haproxy libasan6 libatomic1 libbinutils
#18 23.76   libbrotli1 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0
#18 23.76   libctf0 libcurl3-gnutls libcurl4 libdpkg-perl liberror-perl libexpat1
#18 23.76   libgcc-11-dev libgdbm-compat4 libgdbm6 libgomp1 libisl23 libitm1
#18 23.76   libldap-2.5-0 liblua5.3-0 libmpc3 libmpfr6 libnghttp2-14 libnsl-dev
#18 23.76   libperl5.34 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh-4
#18 23.76   libssl-dev libstdc++-11-dev libtirpc-dev libubsan1 linux-libc-dev
#18 23.76   lto-disabled-list make openssl patch perl perl-modules-5.34 rpcsvc-proto
#18 23.76   wget xz-utils
#18 24.40 0 upgraded, 66 newly installed, 0 to remove and 3 not upgraded.
#18 24.40 Need to get 67.6 MB of archives.
#18 24.40 After this operation, 257 MB of additional disk space will be used.
#18 24.40 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x liblua5.3-0 s390x 5.3.6-1build1 [136 kB]
#18 26.13 Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x haproxy s390x 2.4.24-0ubuntu0.22.04.1 [1631 kB]
#18 26.87 Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x perl-modules-5.34 all 5.34.0-3ubuntu1.3 [2976 kB]
#18 27.23 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libgdbm6 s390x 1.23-1 [34.2 kB]
#18 27.23 Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libgdbm-compat4 s390x 1.23-1 [6662 B]
#18 27.24 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libperl5.34 s390x 5.34.0-3ubuntu1.3 [4789 kB]
#18 27.91 Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x perl s390x 5.34.0-3ubuntu1.3 [232 kB]
#18 27.98 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x openssl s390x 3.0.2-0ubuntu1.14 [1172 kB]
#18 28.31 Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x ca-certificates all 20230311ubuntu0.22.04.1 [155 kB]
#18 28.32 Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libexpat1 s390x 2.4.7-1ubuntu0.2 [88.0 kB]
#18 28.33 Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libnghttp2-14 s390x 1.43.0-1ubuntu0.1 [74.0 kB]
#18 30.94 Get:12 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libpsl5 s390x 0.21.0-1.2build2 [58.5 kB]
#18 31.65 Get:13 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x wget s390x 1.21.2-2ubuntu1 [370 kB]
#18 32.24 Get:14 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x xz-utils s390x 5.2.5-2ubuntu1 [83.9 kB]
#18 32.29 Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe s390x apt-transport-https all 2.4.11 [1510 B]
#18 32.29 Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x binutils-common s390x 2.38-4ubuntu2.5 [222 kB]
#18 32.39 Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libbinutils s390x 2.38-4ubuntu2.5 [456 kB]
#18 32.54 Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libctf-nobfd0 s390x 2.38-4ubuntu2.5 [102 kB]
#18 32.56 Get:19 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libctf0 s390x 2.38-4ubuntu2.5 [99.7 kB]
#18 32.58 Get:20 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x binutils-s390x-linux-gnu s390x 2.38-4ubuntu2.5 [2207 kB]
#18 32.87 Get:21 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x binutils s390x 2.38-4ubuntu2.5 [3162 B]
#18 33.27 Get:22 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libc-dev-bin s390x 2.35-0ubuntu3.6 [20.0 kB]
#18 33.51 Get:23 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x linux-libc-dev s390x 5.15.0-94.104 [1352 kB]
#18 35.01 Get:24 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libcrypt-dev s390x 1:4.4.27-1 [114 kB]
#18 35.07 Get:25 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB]
#18 35.08 Get:26 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libtirpc-dev s390x 1.3.2-2ubuntu0.1 [189 kB]
#18 35.11 Get:27 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libnsl-dev s390x 1.3.0-2build2 [70.9 kB]
#18 35.13 Get:28 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libc6-dev s390x 2.35-0ubuntu3.6 [1501 kB]
#18 35.36 Get:29 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x gcc-11-base s390x 11.4.0-1ubuntu1~22.04 [20.3 kB]
#18 35.36 Get:30 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libisl23 s390x 0.24-2build1 [701 kB]
#18 35.43 Get:31 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libmpfr6 s390x 4.1.0-3build3 [266 kB]
#18 35.49 Get:32 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libmpc3 s390x 1.2.1-2build1 [47.7 kB]
#18 35.94 Get:33 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x cpp-11 s390x 11.4.0-1ubuntu1~22.04 [7871 kB]
#18 38.45 Get:34 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x cpp s390x 4:11.2.0-1ubuntu1 [27.7 kB]
#18 38.46 Get:35 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libcc1-0 s390x 12.3.0-1ubuntu1~22.04 [46.2 kB]
#18 38.46 Get:36 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libgomp1 s390x 12.3.0-1ubuntu1~22.04 [123 kB]
#18 38.47 Get:37 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libitm1 s390x 12.3.0-1ubuntu1~22.04 [29.9 kB]
#18 38.47 Get:38 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libatomic1 s390x 12.3.0-1ubuntu1~22.04 [9076 B]
#18 38.48 Get:39 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libasan6 s390x 11.4.0-1ubuntu1~22.04 [2247 kB]
#18 38.73 Get:40 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libubsan1 s390x 12.3.0-1ubuntu1~22.04 [968 kB]
#18 38.87 Get:41 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libgcc-11-dev s390x 11.4.0-1ubuntu1~22.04 [829 kB]
#18 38.97 Get:42 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x gcc-11 s390x 11.4.0-1ubuntu1~22.04 [15.8 MB]
#18 41.73 Get:43 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x gcc s390x 4:11.2.0-1ubuntu1 [5118 B]
#18 42.19 Get:44 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libstdc++-11-dev s390x 11.4.0-1ubuntu1~22.04 [2103 kB]
#18 44.97 Get:45 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x g++-11 s390x 11.4.0-1ubuntu1~22.04 [9204 kB]
#18 46.49 Get:46 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x g++ s390x 4:11.2.0-1ubuntu1 [1408 B]
#18 46.49 Get:47 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x make s390x 4.3-4.1build1 [182 kB]
#18 46.52 Get:48 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libdpkg-perl all 1.21.1ubuntu2.2 [237 kB]
#18 46.54 Get:49 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x bzip2 s390x 1.0.8-5build1 [34.4 kB]
#18 46.54 Get:50 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x patch s390x 2.7.6-7build2 [108 kB]
#18 46.55 Get:51 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x lto-disabled-list all 24 [12.5 kB]
#18 46.55 Get:52 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x dpkg-dev all 1.21.1ubuntu2.2 [922 kB]
#18 46.66 Get:53 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x build-essential s390x 12.9ubuntu3 [4748 B]
#18 46.66 Get:54 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x libbrotli1 s390x 1.0.9-2build6 [318 kB]
#18 47.12 Get:55 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libsasl2-modules-db s390x 2.1.27+dfsg2-3ubuntu1.2 [20.5 kB]
#18 47.75 Get:56 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libsasl2-2 s390x 2.1.27+dfsg2-3ubuntu1.2 [54.8 kB]
#18 48.03 Get:57 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libldap-2.5-0 s390x 2.5.16+dfsg-0ubuntu0.22.04.2 [177 kB]
#18 48.54 Get:58 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x librtmp1 s390x 2.4+20151223.gitfa8646d.1-2build4 [56.4 kB]
#18 48.62 Get:59 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libssh-4 s390x 0.9.6-2ubuntu0.22.04.3 [176 kB]
#18 48.76 Get:60 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libcurl4 s390x 7.81.0-1ubuntu1.15 [281 kB]
#18 48.97 Get:61 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x curl s390x 7.81.0-1ubuntu1.15 [191 kB]
#18 49.06 Get:62 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libcurl3-gnutls s390x 7.81.0-1ubuntu1.15 [275 kB]
#18 49.14 Get:63 http://ports.ubuntu.com/ubuntu-ports jammy/main s390x liberror-perl all 0.17029-1 [26.5 kB]
#18 49.15 Get:64 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x git-man all 1:2.34.1-1ubuntu1.10 [954 kB]
#18 49.32 Get:65 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x git s390x 1:2.34.1-1ubuntu1.10 [3077 kB]
#18 50.28 Get:66 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main s390x libssl-dev s390x 3.0.2-0ubuntu1.14 [2025 kB]
#18 52.72 debconf: delaying package configuration, since apt-utils is not installed
#18 52.87 Fetched 67.6 MB in 28s (2400 kB/s)
#18 53.08 Selecting previously unselected package liblua5.3-0:s390x.
(Reading database ... 4396 files and directories currently installed.)
#18 53.10 Preparing to unpack .../00-liblua5.3-0_5.3.6-1build1_s390x.deb ...
#18 53.11 Unpacking liblua5.3-0:s390x (5.3.6-1build1) ...
#18 53.40 Selecting previously unselected package haproxy.
#18 53.40 Preparing to unpack .../01-haproxy_2.4.24-0ubuntu0.22.04.1_s390x.deb ...
#18 53.54 Unpacking haproxy (2.4.24-0ubuntu0.22.04.1) ...
#18 53.86 Selecting previously unselected package perl-modules-5.34.
#18 53.86 Preparing to unpack .../02-perl-modules-5.34_5.34.0-3ubuntu1.3_all.deb ...
#18 53.87 Unpacking perl-modules-5.34 (5.34.0-3ubuntu1.3) ...
#18 54.53 Selecting previously unselected package libgdbm6:s390x.
#18 54.53 Preparing to unpack .../03-libgdbm6_1.23-1_s390x.deb ...
#18 54.54 Unpacking libgdbm6:s390x (1.23-1) ...
#18 54.76 Selecting previously unselected package libgdbm-compat4:s390x.
#18 54.77 Preparing to unpack .../04-libgdbm-compat4_1.23-1_s390x.deb ...
#18 54.77 Unpacking libgdbm-compat4:s390x (1.23-1) ...
#18 55.04 Selecting previously unselected package libperl5.34:s390x.
#18 55.04 Preparing to unpack .../05-libperl5.34_5.34.0-3ubuntu1.3_s390x.deb ...
#18 55.05 Unpacking libperl5.34:s390x (5.34.0-3ubuntu1.3) ...
#18 55.85 Selecting previously unselected package perl.
#18 55.86 Preparing to unpack .../06-perl_5.34.0-3ubuntu1.3_s390x.deb ...
#18 56.00 Unpacking perl (5.34.0-3ubuntu1.3) ...
#18 56.27 Selecting previously unselected package openssl.
#18 56.27 Preparing to unpack .../07-openssl_3.0.2-0ubuntu1.14_s390x.deb ...
#18 56.28 Unpacking openssl (3.0.2-0ubuntu1.14) ...
#18 56.55 Selecting previously unselected package ca-certificates.
#18 56.56 Preparing to unpack .../08-ca-certificates_20230311ubuntu0.22.04.1_all.deb ...
#18 56.56 Unpacking ca-certificates (20230311ubuntu0.22.04.1) ...
#18 56.83 Selecting previously unselected package libexpat1:s390x.
#18 56.83 Preparing to unpack .../09-libexpat1_2.4.7-1ubuntu0.2_s390x.deb ...
#18 56.84 Unpacking libexpat1:s390x (2.4.7-1ubuntu0.2) ...
#18 57.11 Selecting previously unselected package libnghttp2-14:s390x.
#18 57.11 Preparing to unpack .../10-libnghttp2-14_1.43.0-1ubuntu0.1_s390x.deb ...
#18 57.11 Unpacking libnghttp2-14:s390x (1.43.0-1ubuntu0.1) ...
#18 57.36 Selecting previously unselected package libpsl5:s390x.
#18 57.37 Preparing to unpack .../11-libpsl5_0.21.0-1.2build2_s390x.deb ...
#18 57.37 Unpacking libpsl5:s390x (0.21.0-1.2build2) ...
#18 57.61 Selecting previously unselected package wget.
#18 57.61 Preparing to unpack .../12-wget_1.21.2-2ubuntu1_s390x.deb ...
#18 57.62 Unpacking wget (1.21.2-2ubuntu1) ...
#18 57.88 Selecting previously unselected package xz-utils.
#18 57.89 Preparing to unpack .../13-xz-utils_5.2.5-2ubuntu1_s390x.deb ...
#18 57.89 Unpacking xz-utils (5.2.5-2ubuntu1) ...
#18 58.13 Selecting previously unselected package apt-transport-https.
#18 58.13 Preparing to unpack .../14-apt-transport-https_2.4.11_all.deb ...
#18 58.13 Unpacking apt-transport-https (2.4.11) ...
#18 58.36 Selecting previously unselected package binutils-common:s390x.
#18 58.36 Preparing to unpack .../15-binutils-common_2.38-4ubuntu2.5_s390x.deb ...
#18 58.37 Unpacking binutils-common:s390x (2.38-4ubuntu2.5) ...
#18 58.60 Selecting previously unselected package libbinutils:s390x.
#18 58.60 Preparing to unpack .../16-libbinutils_2.38-4ubuntu2.5_s390x.deb ...
#18 58.60 Unpacking libbinutils:s390x (2.38-4ubuntu2.5) ...
#18 58.88 Selecting previously unselected package libctf-nobfd0:s390x.
#18 58.89 Preparing to unpack .../17-libctf-nobfd0_2.38-4ubuntu2.5_s390x.deb ...
#18 58.89 Unpacking libctf-nobfd0:s390x (2.38-4ubuntu2.5) ...
#18 59.17 Selecting previously unselected package libctf0:s390x.
#18 59.17 Preparing to unpack .../18-libctf0_2.38-4ubuntu2.5_s390x.deb ...
#18 59.18 Unpacking libctf0:s390x (2.38-4ubuntu2.5) ...
#18 59.45 Selecting previously unselected package binutils-s390x-linux-gnu.
#18 59.45 Preparing to unpack .../19-binutils-s390x-linux-gnu_2.38-4ubuntu2.5_s390x.deb ...
#18 59.46 Unpacking binutils-s390x-linux-gnu (2.38-4ubuntu2.5) ...
#18 59.91 Selecting previously unselected package binutils.
#18 59.91 Preparing to unpack .../20-binutils_2.38-4ubuntu2.5_s390x.deb ...
#18 59.92 Unpacking binutils (2.38-4ubuntu2.5) ...
#18 60.15 Selecting previously unselected package libc-dev-bin.
#18 60.15 Preparing to unpack .../21-libc-dev-bin_2.35-0ubuntu3.6_s390x.deb ...
#18 60.16 Unpacking libc-dev-bin (2.35-0ubuntu3.6) ...
#18 60.41 Selecting previously unselected package linux-libc-dev:s390x.
#18 60.41 Preparing to unpack .../22-linux-libc-dev_5.15.0-94.104_s390x.deb ...
#18 60.42 Unpacking linux-libc-dev:s390x (5.15.0-94.104) ...
#18 60.89 Selecting previously unselected package libcrypt-dev:s390x.
#18 60.89 Preparing to unpack .../23-libcrypt-dev_1%3a4.4.27-1_s390x.deb ...
#18 60.90 Unpacking libcrypt-dev:s390x (1:4.4.27-1) ...
#18 61.16 Selecting previously unselected package rpcsvc-proto.
#18 61.16 Preparing to unpack .../24-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ...
#18 61.17 Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
#18 61.42 Selecting previously unselected package libtirpc-dev:s390x.
#18 61.42 Preparing to unpack .../25-libtirpc-dev_1.3.2-2ubuntu0.1_s390x.deb ...
#18 61.43 Unpacking libtirpc-dev:s390x (1.3.2-2ubuntu0.1) ...
#18 61.70 Selecting previously unselected package libnsl-dev:s390x.
#18 61.70 Preparing to unpack .../26-libnsl-dev_1.3.0-2build2_s390x.deb ...
#18 61.71 Unpacking libnsl-dev:s390x (1.3.0-2build2) ...
#18 61.99 Selecting previously unselected package libc6-dev:s390x.
#18 61.99 Preparing to unpack .../27-libc6-dev_2.35-0ubuntu3.6_s390x.deb ...
#18 61.99 Unpacking libc6-dev:s390x (2.35-0ubuntu3.6) ...
#18 62.44 Selecting previously unselected package gcc-11-base:s390x.
#18 62.44 Preparing to unpack .../28-gcc-11-base_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 62.44 Unpacking gcc-11-base:s390x (11.4.0-1ubuntu1~22.04) ...
#18 62.71 Selecting previously unselected package libisl23:s390x.
#18 62.71 Preparing to unpack .../29-libisl23_0.24-2build1_s390x.deb ...
#18 62.72 Unpacking libisl23:s390x (0.24-2build1) ...
#18 63.04 Selecting previously unselected package libmpfr6:s390x.
#18 63.04 Preparing to unpack .../30-libmpfr6_4.1.0-3build3_s390x.deb ...
#18 63.04 Unpacking libmpfr6:s390x (4.1.0-3build3) ...
#18 63.31 Selecting previously unselected package libmpc3:s390x.
#18 63.31 Preparing to unpack .../31-libmpc3_1.2.1-2build1_s390x.deb ...
#18 63.32 Unpacking libmpc3:s390x (1.2.1-2build1) ...
#18 63.56 Selecting previously unselected package cpp-11.
#18 63.57 Preparing to unpack .../32-cpp-11_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 63.57 Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ...
#18 64.36 Selecting previously unselected package cpp.
#18 64.36 Preparing to unpack .../33-cpp_4%3a11.2.0-1ubuntu1_s390x.deb ...
#18 64.37 Unpacking cpp (4:11.2.0-1ubuntu1) ...
#18 64.64 Selecting previously unselected package libcc1-0:s390x.
#18 64.65 Preparing to unpack .../34-libcc1-0_12.3.0-1ubuntu1~22.04_s390x.deb ...
#18 64.65 Unpacking libcc1-0:s390x (12.3.0-1ubuntu1~22.04) ...
#18 64.89 Selecting previously unselected package libgomp1:s390x.
#18 64.89 Preparing to unpack .../35-libgomp1_12.3.0-1ubuntu1~22.04_s390x.deb ...
#18 64.89 Unpacking libgomp1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 65.18 Selecting previously unselected package libitm1:s390x.
#18 65.18 Preparing to unpack .../36-libitm1_12.3.0-1ubuntu1~22.04_s390x.deb ...
#18 65.19 Unpacking libitm1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 65.45 Selecting previously unselected package libatomic1:s390x.
#18 65.45 Preparing to unpack .../37-libatomic1_12.3.0-1ubuntu1~22.04_s390x.deb ...
#18 65.46 Unpacking libatomic1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 65.71 Selecting previously unselected package libasan6:s390x.
#18 65.71 Preparing to unpack .../38-libasan6_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 65.71 Unpacking libasan6:s390x (11.4.0-1ubuntu1~22.04) ...
#18 66.14 Selecting previously unselected package libubsan1:s390x.
#18 66.14 Preparing to unpack .../39-libubsan1_12.3.0-1ubuntu1~22.04_s390x.deb ...
#18 66.15 Unpacking libubsan1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 66.45 Selecting previously unselected package libgcc-11-dev:s390x.
#18 66.45 Preparing to unpack .../40-libgcc-11-dev_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 66.46 Unpacking libgcc-11-dev:s390x (11.4.0-1ubuntu1~22.04) ...
#18 66.80 Selecting previously unselected package gcc-11.
#18 66.80 Preparing to unpack .../41-gcc-11_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 66.81 Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ...
#18 68.03 Selecting previously unselected package gcc.
#18 68.03 Preparing to unpack .../42-gcc_4%3a11.2.0-1ubuntu1_s390x.deb ...
#18 68.03 Unpacking gcc (4:11.2.0-1ubuntu1) ...
#18 68.26 Selecting previously unselected package libstdc++-11-dev:s390x.
#18 68.26 Preparing to unpack .../43-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 68.27 Unpacking libstdc++-11-dev:s390x (11.4.0-1ubuntu1~22.04) ...
#18 68.84 Selecting previously unselected package g++-11.
#18 68.84 Preparing to unpack .../44-g++-11_11.4.0-1ubuntu1~22.04_s390x.deb ...
#18 68.85 Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ...
#18 69.71 Selecting previously unselected package g++.
#18 69.71 Preparing to unpack .../45-g++_4%3a11.2.0-1ubuntu1_s390x.deb ...
#18 69.72 Unpacking g++ (4:11.2.0-1ubuntu1) ...
#18 70.00 Selecting previously unselected package make.
#18 70.01 Preparing to unpack .../46-make_4.3-4.1build1_s390x.deb ...
#18 70.01 Unpacking make (4.3-4.1build1) ...
#18 70.28 Selecting previously unselected package libdpkg-perl.
#18 70.28 Preparing to unpack .../47-libdpkg-perl_1.21.1ubuntu2.2_all.deb ...
#18 70.29 Unpacking libdpkg-perl (1.21.1ubuntu2.2) ...
#18 70.57 Selecting previously unselected package bzip2.
#18 70.57 Preparing to unpack .../48-bzip2_1.0.8-5build1_s390x.deb ...
#18 70.58 Unpacking bzip2 (1.0.8-5build1) ...
#18 70.86 Selecting previously unselected package patch.
#18 70.86 Preparing to unpack .../49-patch_2.7.6-7build2_s390x.deb ...
#18 70.87 Unpacking patch (2.7.6-7build2) ...
#18 71.13 Selecting previously unselected package lto-disabled-list.
#18 71.13 Preparing to unpack .../50-lto-disabled-list_24_all.deb ...
#18 71.14 Unpacking lto-disabled-list (24) ...
#18 71.40 Selecting previously unselected package dpkg-dev.
#18 71.40 Preparing to unpack .../51-dpkg-dev_1.21.1ubuntu2.2_all.deb ...
#18 71.41 Unpacking dpkg-dev (1.21.1ubuntu2.2) ...
#18 71.68 Selecting previously unselected package build-essential.
#18 71.68 Preparing to unpack .../52-build-essential_12.9ubuntu3_s390x.deb ...
#18 71.69 Unpacking build-essential (12.9ubuntu3) ...
#18 71.93 Selecting previously unselected package libbrotli1:s390x.
#18 71.94 Preparing to unpack .../53-libbrotli1_1.0.9-2build6_s390x.deb ...
#18 71.94 Unpacking libbrotli1:s390x (1.0.9-2build6) ...
#18 72.30 Selecting previously unselected package libsasl2-modules-db:s390x.
#18 72.30 Preparing to unpack .../54-libsasl2-modules-db_2.1.27+dfsg2-3ubuntu1.2_s390x.deb ...
#18 72.31 Unpacking libsasl2-modules-db:s390x (2.1.27+dfsg2-3ubuntu1.2) ...
#18 72.55 Selecting previously unselected package libsasl2-2:s390x.
#18 72.55 Preparing to unpack .../55-libsasl2-2_2.1.27+dfsg2-3ubuntu1.2_s390x.deb ...
#18 72.56 Unpacking libsasl2-2:s390x (2.1.27+dfsg2-3ubuntu1.2) ...
#18 72.81 Selecting previously unselected package libldap-2.5-0:s390x.
#18 72.81 Preparing to unpack .../56-libldap-2.5-0_2.5.16+dfsg-0ubuntu0.22.04.2_s390x.deb ...
#18 72.81 Unpacking libldap-2.5-0:s390x (2.5.16+dfsg-0ubuntu0.22.04.2) ...
#18 73.09 Selecting previously unselected package librtmp1:s390x.
#18 73.09 Preparing to unpack .../57-librtmp1_2.4+20151223.gitfa8646d.1-2build4_s390x.deb ...
#18 73.10 Unpacking librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build4) ...
#18 73.37 Selecting previously unselected package libssh-4:s390x.
#18 73.38 Preparing to unpack .../58-libssh-4_0.9.6-2ubuntu0.22.04.3_s390x.deb ...
#18 73.38 Unpacking libssh-4:s390x (0.9.6-2ubuntu0.22.04.3) ...
#18 73.67 Selecting previously unselected package libcurl4:s390x.
#18 73.68 Preparing to unpack .../59-libcurl4_7.81.0-1ubuntu1.15_s390x.deb ...
#18 73.68 Unpacking libcurl4:s390x (7.81.0-1ubuntu1.15) ...
#18 73.94 Selecting previously unselected package curl.
#18 73.95 Preparing to unpack .../60-curl_7.81.0-1ubuntu1.15_s390x.deb ...
#18 73.95 Unpacking curl (7.81.0-1ubuntu1.15) ...
#18 74.22 Selecting previously unselected package libcurl3-gnutls:s390x.
#18 74.23 Preparing to unpack .../61-libcurl3-gnutls_7.81.0-1ubuntu1.15_s390x.deb ...
#18 74.24 Unpacking libcurl3-gnutls:s390x (7.81.0-1ubuntu1.15) ...
#18 74.50 Selecting previously unselected package liberror-perl.
#18 74.51 Preparing to unpack .../62-liberror-perl_0.17029-1_all.deb ...
#18 74.51 Unpacking liberror-perl (0.17029-1) ...
#18 74.77 Selecting previously unselected package git-man.
#18 74.77 Preparing to unpack .../63-git-man_1%3a2.34.1-1ubuntu1.10_all.deb ...
#18 74.77 Unpacking git-man (1:2.34.1-1ubuntu1.10) ...
#18 75.03 Selecting previously unselected package git.
#18 75.03 Preparing to unpack .../64-git_1%3a2.34.1-1ubuntu1.10_s390x.deb ...
#18 75.18 Unpacking git (1:2.34.1-1ubuntu1.10) ...
#18 75.73 Selecting previously unselected package libssl-dev:s390x.
#18 75.73 Preparing to unpack .../65-libssl-dev_3.0.2-0ubuntu1.14_s390x.deb ...
#18 75.74 Unpacking libssl-dev:s390x (3.0.2-0ubuntu1.14) ...
#18 76.17 Setting up libexpat1:s390x (2.4.7-1ubuntu0.2) ...
#18 76.20 Setting up gcc-11-base:s390x (11.4.0-1ubuntu1~22.04) ...
#18 76.21 Setting up lto-disabled-list (24) ...
#18 76.23 Setting up libpsl5:s390x (0.21.0-1.2build2) ...
#18 76.25 Setting up wget (1.21.2-2ubuntu1) ...
#18 76.28 Setting up apt-transport-https (2.4.11) ...
#18 76.30 Setting up libbrotli1:s390x (1.0.9-2build6) ...
#18 76.32 Setting up binutils-common:s390x (2.38-4ubuntu2.5) ...
#18 76.34 Setting up libnghttp2-14:s390x (1.43.0-1ubuntu0.1) ...
#18 76.35 Setting up linux-libc-dev:s390x (5.15.0-94.104) ...
#18 76.36 Setting up libctf-nobfd0:s390x (2.38-4ubuntu2.5) ...
#18 76.37 Setting up libgomp1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 76.39 Setting up perl-modules-5.34 (5.34.0-3ubuntu1.3) ...
#18 76.40 Setting up bzip2 (1.0.8-5build1) ...
#18 76.41 Setting up libasan6:s390x (11.4.0-1ubuntu1~22.04) ...
#18 76.42 Setting up libsasl2-modules-db:s390x (2.1.27+dfsg2-3ubuntu1.2) ...
#18 76.43 Setting up libtirpc-dev:s390x (1.3.2-2ubuntu0.1) ...
#18 76.44 Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
#18 76.46 Setting up make (4.3-4.1build1) ...
#18 76.47 Setting up libmpfr6:s390x (4.1.0-3build3) ...
#18 76.49 Setting up librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build4) ...
#18 76.50 Setting up xz-utils (5.2.5-2ubuntu1) ...
#18 76.59 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
#18 76.60 update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
#18 76.61 Setting up libssl-dev:s390x (3.0.2-0ubuntu1.14) ...
#18 76.62 Setting up libmpc3:s390x (1.2.1-2build1) ...
#18 76.63 Setting up libatomic1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 76.64 Setting up patch (2.7.6-7build2) ...
#18 76.65 Setting up libsasl2-2:s390x (2.1.27+dfsg2-3ubuntu1.2) ...
#18 76.66 Setting up libssh-4:s390x (0.9.6-2ubuntu0.22.04.3) ...
#18 76.68 Setting up libubsan1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 76.69 Setting up libnsl-dev:s390x (1.3.0-2build2) ...
#18 76.71 Setting up libcrypt-dev:s390x (1:4.4.27-1) ...
#18 76.72 Setting up liblua5.3-0:s390x (5.3.6-1build1) ...
#18 76.74 Setting up git-man (1:2.34.1-1ubuntu1.10) ...
#18 76.75 Setting up libbinutils:s390x (2.38-4ubuntu2.5) ...
#18 76.77 Setting up libisl23:s390x (0.24-2build1) ...
#18 76.78 Setting up libc-dev-bin (2.35-0ubuntu3.6) ...
#18 76.79 Setting up openssl (3.0.2-0ubuntu1.14) ...
#18 76.87 Setting up libcc1-0:s390x (12.3.0-1ubuntu1~22.04) ...
#18 76.89 Setting up libitm1:s390x (12.3.0-1ubuntu1~22.04) ...
#18 76.91 Setting up libgdbm6:s390x (1.23-1) ...
#18 76.92 Setting up libctf0:s390x (2.38-4ubuntu2.5) ...
#18 76.93 Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ...
#18 76.94 Setting up binutils-s390x-linux-gnu (2.38-4ubuntu2.5) ...
#18 76.95 Setting up haproxy (2.4.24-0ubuntu0.22.04.1) ...
#18 78.21 invoke-rc.d: could not determine current runlevel
#18 78.31 invoke-rc.d: policy-rc.d denied execution of start.
#18 79.72 Setting up binutils (2.38-4ubuntu2.5) ...
#18 79.74 Setting up libldap-2.5-0:s390x (2.5.16+dfsg-0ubuntu0.22.04.2) ...
#18 79.75 Setting up ca-certificates (20230311ubuntu0.22.04.1) ...
#18 80.65 debconf: unable to initialize frontend: Dialog
#18 80.65 debconf: (TERM is not set, so the dialog frontend is not usable.)
#18 80.65 debconf: falling back to frontend: Readline
#18 93.01 Updating certificates in /etc/ssl/certs...
#18 113.0 137 added, 0 removed; done.
#18 113.2 Setting up libgdbm-compat4:s390x (1.23-1) ...
#18 113.2 Setting up libgcc-11-dev:s390x (11.4.0-1ubuntu1~22.04) ...
#18 113.2 Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ...
#18 113.3 Setting up cpp (4:11.2.0-1ubuntu1) ...
#18 113.4 Setting up libcurl4:s390x (7.81.0-1ubuntu1.15) ...
#18 113.4 Setting up libc6-dev:s390x (2.35-0ubuntu3.6) ...
#18 113.4 Setting up curl (7.81.0-1ubuntu1.15) ...
#18 113.4 Setting up libperl5.34:s390x (5.34.0-3ubuntu1.3) ...
#18 113.4 Setting up libcurl3-gnutls:s390x (7.81.0-1ubuntu1.15) ...
#18 113.4 Setting up gcc (4:11.2.0-1ubuntu1) ...
#18 113.6 Setting up perl (5.34.0-3ubuntu1.3) ...
#18 113.8 Setting up libdpkg-perl (1.21.1ubuntu2.2) ...
#18 113.9 Setting up libstdc++-11-dev:s390x (11.4.0-1ubuntu1~22.04) ...
#18 113.9 Setting up g++-11 (11.4.0-1ubuntu1~22.04) ...
#18 113.9 Setting up dpkg-dev (1.21.1ubuntu2.2) ...
#18 113.9 Setting up liberror-perl (0.17029-1) ...
#18 113.9 Setting up git (1:2.34.1-1ubuntu1.10) ...
#18 114.1 Setting up g++ (4:11.2.0-1ubuntu1) ...
#18 114.3 update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
#18 114.3 update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
#18 114.3 Setting up build-essential (12.9ubuntu3) ...
#18 114.3 Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
#18 114.5 Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ...
#18 114.6 Updating certificates in /etc/ssl/certs...
#18 130.2 0 added, 0 removed; done.
#18 130.2 Running hooks in /etc/ca-certificates/update.d...
#18 130.3 done.
#18 DONE 130.5s

#17 [stage-1 4/5] RUN mkdir /usr/local/nvm     && wget --no-check-certificate https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh     && bash install.sh     && . /usr/local/nvm/nvm.sh     && nvm install v16     && npm install --global serve
#17 0.192 --2024-02-19 15:50:54--  https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
#17 0.249 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... ::ffff:185.199.108.133, ::ffff:185.199.109.133, ::ffff:185.199.110.133, ...
#17 0.316 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|::ffff:185.199.108.133|:443... connected.
#17 0.472 HTTP request sent, awaiting response... 200 OK
#17 0.861 Length: 15916 (16K) [text/plain]
#17 0.865 Saving to: ‘install.sh’
#17 0.866 
#17 0.866      0K .......... .....                                      100% 6.07M=0.003s
#17 0.869 
#17 0.870 2024-02-19 15:50:54 (6.07 MB/s) - ‘install.sh’ saved [15916/15916]
#17 0.870 
#17 0.991 => Downloading nvm from git to '/usr/local/nvm'
=> Cloning into '/usr/local/nvm'...
#17 5.916 * (HEAD detached at FETCH_HEAD)
#17 5.916   master
#17 5.990 => Compressing and cleaning up git repository
#17 6.112 
#17 6.223 => Appending nvm source string to /root/.bashrc
#17 6.280 => Appending bash_completion source string to /root/.bashrc
#17 6.530 => Close and reopen your terminal to start using nvm or run the following to use it now:
#17 6.530 
#17 6.530 export NVM_DIR="/usr/local/nvm"
#17 6.530 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
#17 6.530 [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
#17 10.54 Downloading and installing node v16.20.2...
#17 12.32 Downloading https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-s390x.tar.xz...
######################################################################## 100.0%         
#17 21.39 Computing checksum with sha256sum
#17 21.79 Checksums matched!
#17 33.81 Now using node v16.20.2 (npm v8.19.4)
#17 35.91 Creating default alias: default -> v16 (-> v16.20.2 *)
#17 52.05 
#17 52.05 added 89 packages, and audited 90 packages in 14s
#17 52.05 
#17 52.05 24 packages are looking for funding
#17 52.05   run `npm fund` for details
#17 52.06 
#17 52.06 found 0 vulnerabilities
#17 52.07 npm notice 
#17 52.07 npm notice New major version of npm available! 8.19.4 -> 10.4.0
#17 52.07 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#17 52.07 npm notice Run `npm install -g npm@10.4.0` to update!
#17 52.07 npm notice 
#17 DONE 52.3s

#20 [stage-1 5/5] COPY --from=yarn-dependencies /srv/deploy /srv
#20 DONE 0.1s

@edlerd
Copy link
Collaborator

edlerd commented Feb 19, 2024

This is a hack workaround, also difficult to test the final build output for s390x arch since we can't really run an multi-platform image locally. Not sure if I can find an alternative either than waiting for rollup to support s390x (or figure out a fix for rollup which will take a while). Below is an example build output from the project Dockerfile:

I think we should avoid having a different version of Vite depending on the build architecture. This creates a can of future complexity if we see any issues for that architecture that will be hard to manage. Better iterate on the upstream PR to fix roll-up. We don't have a strong incentive to go to Vite 5 and can stay on Vite 4 until it is resolved.

@mas-who
Copy link
Contributor Author

mas-who commented Feb 19, 2024

This is a hack workaround, also difficult to test the final build output for s390x arch since we can't really run an multi-platform image locally. Not sure if I can find an alternative either than waiting for rollup to support s390x (or figure out a fix for rollup which will take a while). Below is an example build output from the project Dockerfile:

I think we should avoid having a different version of Vite depending on the build architecture. This creates a can of future complexity if we see any issues for that architecture that will be hard to manage. Better iterate on the upstream PR to fix roll-up. We don't have a strong incentive to go to Vite 5 and can stay on Vite 4 until it is resolved.

Okay, I will close this PR for now, I'd like to focus a bit more on other tasks than going down a rabbit hole to get this resolved. I think in the meantime I will watch the upstream PR for this.

@mas-who mas-who closed this Feb 19, 2024
github-actions bot pushed a commit that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants