- github
- ocaml
- opam-repository
- c40834
- extras,riscv64-ocaml-4.14,tiny_httpd_camlzip.0.18
(not at the head of any monitored branch or PR)
2025-04-11 19:08.42: New job: build tiny_httpd_camlzip.0.18, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27745/head (c408348fb2a7fd2c69e3ca675f58bf917499c853)
on ubuntu-24.04-ocaml-4.14/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27745/head" && git reset --hard c408348f
git fetch origin master
git merge --no-edit 34a3fc46c301a891122df75c17fef6b5358bd68f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn tiny_httpd_camlzip.0.18 0.18
RUN opam reinstall tiny_httpd_camlzip.0.18; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'tiny_httpd_camlzip.0.18' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-04-11 19:08.42: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f-tiny_httpd_camlzip.0.18-c408348fb2a7fd2c69e3ca675f58bf917499c853"
2025-04-11 19:08.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn tiny_httpd_camlzip.0.18 0.18"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tiny_httpd_camlzip.0.18;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-11 19:08.42: Waiting for resource in pool OCluster
2025-04-11 19:08.42: Waiting for worker…
2025-04-11 19:08.42: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
Updating files: 11% (2724/22853)
Updating files: 12% (2743/22853)
Updating files: 13% (2971/22853)
Updating files: 14% (3200/22853)
Updating files: 15% (3428/22853)
Updating files: 16% (3657/22853)
Updating files: 17% (3886/22853)
Updating files: 18% (4114/22853)
Updating files: 19% (4343/22853)
Updating files: 20% (4571/22853)
Updating files: 21% (4800/22853)
Updating files: 22% (5028/22853)
Updating files: 23% (5257/22853)
Updating files: 23% (5327/22853)
Updating files: 24% (5485/22853)
Updating files: 25% (5714/22853)
Updating files: 26% (5942/22853)
Updating files: 27% (6171/22853)
Updating files: 28% (6399/22853)
Updating files: 29% (6628/22853)
Updating files: 30% (6856/22853)
Updating files: 31% (7085/22853)
Updating files: 32% (7313/22853)
Updating files: 33% (7542/22853)
Updating files: 33% (7718/22853)
Updating files: 34% (7771/22853)
Updating files: 35% (7999/22853)
Updating files: 36% (8228/22853)
Updating files: 37% (8456/22853)
Updating files: 38% (8685/22853)
Updating files: 39% (8913/22853)
Updating files: 40% (9142/22853)
Updating files: 41% (9370/22853)
Updating files: 42% (9599/22853)
Updating files: 43% (9827/22853)
Updating files: 44% (10056/22853)
Updating files: 44% (10112/22853)
Updating files: 45% (10284/22853)
Updating files: 46% (10513/22853)
Updating files: 47% (10741/22853)
Updating files: 48% (10970/22853)
Updating files: 49% (11198/22853)
Updating files: 50% (11427/22853)
Updating files: 51% (11656/22853)
Updating files: 52% (11884/22853)
Updating files: 53% (12113/22853)
Updating files: 54% (12341/22853)
Updating files: 54% (12402/22853)
Updating files: 55% (12570/22853)
Updating files: 56% (12798/22853)
Updating files: 57% (13027/22853)
Updating files: 58% (13255/22853)
Updating files: 59% (13484/22853)
Updating files: 60% (13712/22853)
Updating files: 61% (13941/22853)
Updating files: 62% (14169/22853)
Updating files: 63% (14398/22853)
Updating files: 64% (14626/22853)
Updating files: 64% (14746/22853)
Updating files: 65% (14855/22853)
Updating files: 66% (15083/22853)
Updating files: 67% (15312/22853)
Updating files: 68% (15541/22853)
Updating files: 69% (15769/22853)
Updating files: 70% (15998/22853)
Updating files: 71% (16226/22853)
Updating files: 72% (16455/22853)
Updating files: 73% (16683/22853)
Updating files: 74% (16912/22853)
Updating files: 74% (17138/22853)
Updating files: 75% (17140/22853)
Updating files: 76% (17369/22853)
Updating files: 77% (17597/22853)
Updating files: 78% (17826/22853)
Updating files: 79% (18054/22853)
Updating files: 80% (18283/22853)
Updating files: 81% (18511/22853)
Updating files: 82% (18740/22853)
Updating files: 83% (18968/22853)
Updating files: 84% (19197/22853)
Updating files: 84% (19358/22853)
Updating files: 85% (19426/22853)
Updating files: 86% (19654/22853)
Updating files: 87% (19883/22853)
Updating files: 88% (20111/22853)
Updating files: 89% (20340/22853)
Updating files: 90% (20568/22853)
Updating files: 91% (20797/22853)
Updating files: 92% (21025/22853)
Updating files: 93% (21254/22853)
Updating files: 94% (21482/22853)
Updating files: 94% (21522/22853)
Updating files: 95% (21711/22853)
Updating files: 96% (21939/22853)
Updating files: 97% (22168/22853)
Updating files: 98% (22396/22853)
Updating files: 99% (22625/22853)
Updating files: 100% (22853/22853)
Updating files: 100% (22853/22853), done.
HEAD is now at 4b5679c8b4 [new release] slipshow (0.2.0)
HEAD is now at 34a3fc46c3 Merge pull request #27736 from Leonidas-from-XIV/core-unix-glibc
Updating 34a3fc46c3..c408348fb2
Fast-forward
packages/tiny_httpd/tiny_httpd.0.18/opam | 53 ++++++++++++++++++++++
.../tiny_httpd_camlzip.0.18/opam | 39 ++++++++++++++++
2 files changed, 92 insertions(+)
create mode 100644 packages/tiny_httpd/tiny_httpd.0.18/opam
create mode 100644 packages/tiny_httpd_camlzip/tiny_httpd_camlzip.0.18/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f' locally
docker.io/ocaml/opam@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f: Pulling from ocaml/opam
6e1053d729cc: Already exists
70020f22a6da: Already exists
a99aa5c5fdc9: Already exists
0183accb66ab: Already exists
6b64d338467a: Already exists
b4fd817e357d: Already exists
093ce8c404c1: Already exists
edf7ca655210: Already exists
add17f78d886: Already exists
795d96136fc3: Already exists
40f677a9f5f3: Already exists
43aff7631cc9: Already exists
dee1a0a1459c: Already exists
a1681d9893ee: Already exists
da60b1ab5ad6: Already exists
da60b1ab5ad6: Already exists
fb8a70b65cb1: Already exists
1fb9c2b7b221: Already exists
876a2dbf9adb: Already exists
74d9838ef5ce: Already exists
4f4fb700ef54: Already exists
a378c37267ad: Already exists
030cc9dd64f2: Already exists
82fdda04a760: Already exists
b579b8361c0d: Already exists
70bcccf8db59: Already exists
dd129148f76c: Already exists
5c43943adb16: Already exists
b82e55811e17: Already exists
8f594400c163: Already exists
d4c55eb89951: Already exists
296bc47d2b36: Already exists
2c7dc57a9234: Already exists
faa1bacd9000: Already exists
ada64f9a66a6: Already exists
aa23598af6d5: Already exists
06f690bf7eef: Already exists
1048aa842aa9: Already exists
26c5a39d2ff5: Pulling fs layer
301335a1d739: Pulling fs layer
2651ab9f88b3: Pulling fs layer
f3a4dc26889b: Pulling fs layer
f3a4dc26889b: Waiting
301335a1d739: Verifying Checksum
301335a1d739: Download complete
2651ab9f88b3: Verifying Checksum
2651ab9f88b3: Download complete
f3a4dc26889b: Download complete
26c5a39d2ff5: Verifying Checksum
26c5a39d2ff5: Download complete
26c5a39d2ff5: Pull complete
301335a1d739: Pull complete
2651ab9f88b3: Pull complete
f3a4dc26889b: Pull complete
Digest: sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f
Status: Downloaded newer image for ocaml/opam@sha256:f8be3e27791299b91a708de073825e6b26f176758bdc48b6d724b41f865b729f
2025-04-11 19:09.16 ---> using "b24a33ae24c6e6c3f059de116ff9a172e52b979231607abe7d71210808a77447" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-11 19:09.16 ---> using "22c205322867df035de8c2e4c28f6da57061c296e42e108595d37a51daa0cff2" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-11 19:09.16 ---> using "80f726c325bb734a836c135e04a2cad3ae20fe374db2f5a878fd26310a7470d8" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-04-11 19:09.16 ---> using "bd145e1b5f2743fa7700c12332843fd2ad96091295dc12dcf66ef581b3e82dfd" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-04-11 19:09.16 ---> using "12bf3551103caeacc33f1a0e575b3ecc986db36fc97483436eba4ea11b94dbaa" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-11 19:09.47 ---> saved as "5cba386c6aa5085e7dc5162b6036f2003cbdb54302896e013f75474c8c1abd4e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-11 19:11.41 ---> saved as "a748521afa53e69dded18f4a03ef178d380db1910270311256b093275cb08992"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1092 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [714 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [409 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [826 kB]
- Fetched 3419 kB in 2s (1911 kB/s)
- Reading package lists...
-
2025-04-11 19:11.49 ---> saved as "be07069cdf7ce910d56253c0a4c9d07b0e4b317432bc029b2538da0eb4a795ca"
/home/opam: (run (shell "opam pin add -k version -yn tiny_httpd_camlzip.0.18 0.18"))
tiny_httpd_camlzip is now pinned to version 0.18
2025-04-11 19:11.52 ---> saved as "d990bd19195ac969e844df39e2082a44c62cccbc6a9c62cfc856b4fd75e24c45"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall tiny_httpd_camlzip.0.18;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'tiny_httpd_camlzip.0.18' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
tiny_httpd_camlzip.0.18 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 14 packages
- install camlzip 1.13 [required by tiny_httpd_camlzip]
- install conf-pkg-config 4 [required by conf-zlib]
- install conf-zlib 1 [required by camlzip]
- install dune 3.18.0 [required by tiny_httpd_camlzip]
- install hmap 0.8.1 [required by tiny_httpd]
- install iostream 0.3 [required by iostream-camlzip, tiny_httpd]
- install iostream-camlzip 0.3 [required by tiny_httpd_camlzip]
- install ocamlbuild 0.16.1 [required by hmap]
- install ocamlfind 1.9.8 [required by camlzip]
- install result 1.5 [required by tiny_httpd]
- install seq base [required by tiny_httpd]
- install tiny_httpd 0.18 [required by tiny_httpd_camlzip]
- install tiny_httpd_camlzip 0.18 (pinned)
- install topkg 1.0.8 [required by hmap]
The following system packages will first need to be installed:
pkg-config zlib1g-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:riscv64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16249 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-2build1_riscv64.deb ...
- Unpacking libpkgconf3:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:riscv64.
- Preparing to unpack .../pkgconf_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:riscv64.
- Preparing to unpack .../pkg-config_1.8.1-2build1_riscv64.deb ...
- Unpacking pkg-config:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package zlib1g-dev:riscv64.
- Preparing to unpack .../zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_riscv64.deb ...
- Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up libpkgconf3:riscv64 (1.8.1-2build1) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up pkgconf:riscv64 (1.8.1-2build1) ...
- Setting up pkg-config:riscv64 (1.8.1-2build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.13 (https://github.com/xavierleroy/camlzip/archive/rel113.tar.gz)
-> installed conf-pkg-config.4
-> installed conf-zlib.1
-> retrieved dune.3.18.0 (cached)
-> retrieved hmap.0.8.1 (cached)
-> retrieved iostream.0.3, iostream-camlzip.0.3 (https://github.com/c-cube/ocaml-iostream/releases/download/v0.3/iostream-0.3.tbz)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> retrieved tiny_httpd.0.18, tiny_httpd_camlzip.0.18 (https://github.com/c-cube/tiny_httpd/releases/download/v0.18/tiny_httpd-0.18.tbz)
-> retrieved topkg.1.0.8 (cached)
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed camlzip.1.13
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed hmap.0.8.1
-> installed dune.3.18.0
-> installed result.1.5
-> installed iostream.0.3
-> installed iostream-camlzip.0.3
-> installed tiny_httpd.0.18
-> installed tiny_httpd_camlzip.0.18
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-11 19:15.59 ---> saved as "e07e4779c903059f430d2c288070130a36b5e6d7363f1f110271e1e8a8d58f3e"
Job succeeded
2025-04-11 19:16.42: Job succeeded