Skip to content

ci: add depexts test for Altlinux#6277

Merged
kit-ty-kate merged 2 commits intoocaml:masterfrom
rjbou:ci-depext-altlinux
May 1, 2025
Merged

ci: add depexts test for Altlinux#6277
kit-ty-kate merged 2 commits intoocaml:masterfrom
rjbou:ci-depext-altlinux

Conversation

@rjbou
Copy link
Copy Markdown
Collaborator

@rjbou rjbou commented Oct 29, 2024

This is waiting some conf package that handles altlinux in main opam repository to be able to test altlinux support in CI.

@rjbou rjbou added PR: QUEUED Pending pull request, waiting for other work to be merged or closed PR: WIP Not for merge at this stage AREA: DEPEXTS labels Oct 29, 2024
@kit-ty-kate kit-ty-kate added this to the 2.4.0~alpha1 milestone Oct 29, 2024
@kit-ty-kate kit-ty-kate removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Oct 29, 2024
@rjbou rjbou added the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Oct 30, 2024
@rjbou rjbou removed this from the 2.4.0~alpha1 milestone Mar 27, 2025
@kit-ty-kate kit-ty-kate added this to the 2.4.0~alpha2 milestone Apr 7, 2025
@kit-ty-kate
Copy link
Copy Markdown
Member

I opened a PR on opam-repository to unlock this PR: ocaml/opam-repository#27809

@kit-ty-kate kit-ty-kate force-pushed the ci-depext-altlinux branch from 78241bb to 3c91858 Compare May 1, 2025 12:30
@kit-ty-kate kit-ty-kate removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label May 1, 2025
@kit-ty-kate kit-ty-kate force-pushed the ci-depext-altlinux branch from 3c91858 to 4f910ee Compare May 1, 2025 12:33
@kit-ty-kate kit-ty-kate added AREA: TEST and removed PR: WIP Not for merge at this stage labels May 1, 2025
@kit-ty-kate kit-ty-kate force-pushed the ci-depext-altlinux branch from a10af52 to 60277e5 Compare May 1, 2025 13:43
@kit-ty-kate
Copy link
Copy Markdown
Member

For future reference, bumping the opam binary used to speedup builds of opam master to 2.4.0~alpha1 was necessary to avoid these two puzzling bugs with 2.3.0 on Alpine and Altlinux when bumping from ocaml/opam-repository@0c42e98 to ocaml/opam-repository@335860a

  #25 [20/22] RUN /usr/bin/opam install opam-core opam-state opam-solver opam-repository opam-format opam-client --deps
  #25 0.571 [NOTE] External dependency handling not supported for OS family 'altlinux'.
  #25 0.571        You can disable this check using 'opam option --global depext=false'
  #25 8.647 The following actions will be performed:
  #25 8.647 === install 27 packages
  #25 8.647   - install 0install-solver    2.18       [required by opam-0install-cudf]
  #25 8.647   - install base64             3.5.1      [required by opam-client]
  #25 8.647   - install bz2                0.8.0
  #25 8.647   - install camlbz2            transition
  #25 8.647   - install cmdliner           1.3.0      [required by opam-client]
  #25 8.647   - install conf-c++           1.0        [required by mccs]
  #25 8.647   - install conf-libbz2        1
  #25 8.648   - install cppo               1.8.0      [required by extlib]
  #25 8.648   - install cudf               0.10       [required by opam-solver]
  #25 8.648   - install dose3              7.0.0      [required by opam-solver]
  #25 8.648   - install dune               3.18.1     [required by opam-solver, opam-format, opam-client, etc.]
  #25 8.648   - install extlib             1.8.0      [required by cudf, dose3]
  #25 8.648   - install jsonm              1.0.2      [required by opam-core]
  #25 8.648   - install mccs               1.1+19     [required by opam-solver]
  #25 8.648   - install ocamlbuild         0.16.1     [required by jsonm]
  #25 8.648   - install ocamlfind          1.9.8      [required by jsonm]
  #25 8.648   - install ocamlgraph         2.2.0      [required by opam-core]
  #25 8.648   - install opam-0install-cudf 0.5.0      [required by opam-solver]
  #25 8.648   - install opam-file-format   2.1.6      [required by opam-format]
  #25 8.648   - install re                 1.12.0     [required by opam-solver, opam-core, opam-client, etc.]
  #25 8.648   - install seq                base       [required by re]
  #25 8.648   - install sha                1.15.4     [required by opam-core]
  #25 8.648   - install spdx_licenses      1.3.0      [required by opam-state]
  #25 8.648   - install stdlib-shims       0.3.0      [required by sha, dose3]
  #25 8.648   - install swhid_core         0.1        [required by opam-core]
  #25 8.648   - install topkg              1.0.8      [required by jsonm]
  #25 8.648   - install uutf               1.0.4      [required by opam-core]
  #25 8.648 [NOTE] External dependency handling not supported for OS family 'altlinux'.
  #25 8.648        You can disable this check using 'opam option --global depext=false'
+ /usr/bin/opam install . --deps
The following actions will be performed:
=== install 5 packages
  - install opam-core       2.4.0~alpha2~dev
  - install opam-format     2.4.0~alpha2~dev
  - install opam-repository 2.4.0~alpha2~dev
  - install opam-state      2.4.0~alpha2~dev
  - install patch           3.0.0~alpha1     [required by opam-core, opam-repository]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Error:  Could not synchronize /opam/root/this-opam/.opam-switch/sources/opam-format.2.4.0~alpha2~dev from "git+file:///github/workspace#HEAD":
        "/usr/bin/git fetch -q" exited with code 128
Error:  Failed to get sources of opam-format.2.4.0~alpha2~dev: git+file:///github/workspace#HEAD
Error:  Could not synchronize /opam/root/this-opam/.opam-switch/sources/opam-core.2.4.0~alpha2~dev from "git+file:///github/workspace#HEAD":
        "/usr/bin/git fetch -q" exited with code 128
Error:  Failed to get sources of opam-core.2.4.0~alpha2~dev: git+file:///github/workspace#HEAD
Error:  Could not synchronize /opam/root/this-opam/.opam-switch/sources/opam-repository.2.4.0~alpha2~dev from "git+file:///github/workspace#HEAD":
        "/usr/bin/git fetch -q" exited with code 128
Error:  Failed to get sources of opam-repository.2.4.0~alpha2~dev: git+file:///github/workspace#HEAD
Error:  Could not synchronize /opam/root/this-opam/.opam-switch/sources/opam-state.2.4.0~alpha2~dev from "git+file:///github/workspace#HEAD":
        "/usr/bin/git fetch -q" exited with code 128
Error:  Failed to get sources of opam-state.2.4.0~alpha2~dev: git+file:///github/workspace#HEAD
-> retrieved patch.3.0.0~alpha1  (https://opam.ocaml.org/cache)
-> installed patch.3.0.0~alpha1

#=== ERROR while fetching sources for opam-state.2.4.0~alpha2~dev =============#
OpamSolution.Fetch_fail("git+file:///github/workspace#HEAD")

@kit-ty-kate
Copy link
Copy Markdown
Member

Thanks!

@kit-ty-kate kit-ty-kate merged commit cfbb45e into ocaml:master May 1, 2025
56 checks passed
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.

2 participants