Build:
- 0
2025-04-22 17:51.36: New job: docker build {
"commit": "c1a48a13403522e5002d00b3a72938a893c2d073",
"dockerfile": {
"file": "Dockerfile"
},
"docker_context": null,
"squash": false,
"buildx": false,
"build_args": [
"--build-arg", "TARGET=xen",
"--build-arg",
"EXTRA_FLAGS=--tls=true"
],
"path": null
}
2025-04-22 17:51.36: Checking out commit c1a48a13. To reproduce:
git clone --recursive "https://github.com/mirage/mirage-www.git" && cd "mirage-www" && git fetch origin "refs/pull/851/head" && git reset --hard c1a48a13
2025-04-22 17:51.36: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/mirage-www.git-c1609aad5612d6b73e1c5be1a480108ce3363f2b7727366290103fad03b019f2/.git"
"/tmp/git-checkout246f7ad2"
2025-04-22 17:51.37: Exec: "git" "-C" "/tmp/git-checkout246f7ad2" "submodule"
"deinit" "--force" "--all"
could not create empty submodule directory data/wiki/files/mirage-skeletonSubmodule 'data/wiki/files/mirage-skeleton' (https://github.com/mirage/mirage-skeleton) unregistered for path 'data/wiki/files/mirage-skeleton'
2025-04-22 17:51.37: Exec: "git" "-C" "/tmp/git-checkout246f7ad2" "reset"
"--hard" "-q" "c1a48a13403522e5002d00b3a72938a893c2d073"
2025-04-22 17:51.37: Exec: "git" "-c" "protocol.file.allow=always" "-C"
"/tmp/git-checkout246f7ad2" "submodule" "update"
"--recursive" "--init" "--no-fetch"
Submodule 'data/wiki/files/mirage-skeleton' (https://github.com/mirage/mirage-skeleton) registered for path 'data/wiki/files/mirage-skeleton'
Submodule path 'data/wiki/files/mirage-skeleton': checked out 'ff5febb147ec708ef56d74e9fed9e99743965edd'
2025-04-22 17:51.37: Exec: "docker" "build" "--pull" "--build-arg" "TARGET=xen"
"--build-arg" "EXTRA_FLAGS=--tls=true" "-f"
"/tmp/git-checkout246f7ad2/Dockerfile" "--iidfile"
"/tmp/git-checkout246f7ad2/docker-iid" "--"
"/tmp/git-checkout246f7ad2"
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 949B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14
#2 ...
#3 [auth] ocaml/opam:pull token for registry-1.docker.io
#3 DONE 0.0s
#2 [internal] load metadata for docker.io/ocaml/opam:debian-12-ocaml-4.14
#2 DONE 0.8s
#4 [internal] load .dockerignore
#4 transferring context: 64B done
#4 DONE 0.1s
#5 [ 1/16] FROM docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:9561d66d4f447e27cc4a50a2a31bc4d21ddb0014b5344be1f8e13178c9bfe0ca
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 25.37MB 0.3s done
#6 DONE 0.3s
#7 [ 5/16] RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
#7 CACHED
#8 [ 7/16] RUN opam update
#8 CACHED
#9 [11/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true
#9 CACHED
#10 [10/16] COPY --chown=opam:root mirageio.opam /home/opam/www/
#10 CACHED
#11 [ 2/16] RUN sudo apt-get update && sudo apt-get install autoconf automake -y --no-install-recommends
#11 CACHED
#12 [ 3/16] RUN mkdir -p /home/opam/www/mirage
#12 CACHED
#13 [ 4/16] WORKDIR /home/opam/www
#13 CACHED
#14 [ 9/16] COPY --chown=opam:root mirage/config.ml /home/opam/www/mirage/
#14 CACHED
#15 [ 6/16] RUN cd ~/opam-repository && git pull origin master && git reset --hard 6e53e4603d4bb696e4fa1cdbde61b156a3f8e01e
#15 CACHED
#16 [ 8/16] RUN opam install 'mirage>=4.5.0'
#16 CACHED
#17 [12/16] RUN opam exec -- make depend
#17 CACHED
#18 [13/16] COPY --chown=opam:root . /home/opam/www
#18 DONE 0.7s
#19 [14/16] RUN opam exec -- mirage configure -f mirage/config.ml -t xen --tls=true
#19 DONE 1.1s
#20 [15/16] RUN opam exec -- dune build mirage/ --profile release
#20 6.476 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o bmap.o bmap.c
#20 6.476 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o clock_stubs.o clock_stubs.c
#20 6.476 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o evtchn.o evtchn.c
#20 6.476 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o gnttab.o gnttab.c
#20 6.476 ocamlfind -toolchain solo5 ocamlopt -ccopt "-I ./include/ -O2 -std=c99 -Wall -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__" -c -o main.o main.c
#20 6.476 ar r libmirage-xen_bindings.a bmap.o clock_stubs.o evtchn.o gnttab.o main.o
#20 6.476 ar: creating libmirage-xen_bindings.a
#20 17.07 /usr/bin/ld: warning: amd64.o: missing .note.GNU-stack section implies executable stack
#20 17.07 /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
#20 51.48 emitter.c: In function 'yaml_emitter_write_plain_scalar':
#20 51.48 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#20 51.48 28 | && ((emitter->line_break == YAML_CR_BREAK ? \
#20 51.48 | ^~
#20 51.48 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#20 51.48 56 | (PUT_BREAK(emitter), \
#20 51.48 | ^~~~~~~~~
#20 51.48 emitter.c:1962:18: note: in expansion of macro 'WRITE_BREAK'
#20 51.48 1962 | if (!WRITE_BREAK(emitter, string)) return 0;
#20 51.48 | ^~~~~~~~~~~
#20 51.48 emitter.c: In function 'yaml_emitter_write_single_quoted_scalar':
#20 51.48 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#20 51.48 28 | && ((emitter->line_break == YAML_CR_BREAK ? \
#20 51.48 | ^~
#20 51.48 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#20 51.48 56 | (PUT_BREAK(emitter), \
#20 51.48 | ^~~~~~~~~
#20 51.48 emitter.c:2019:18: note: in expansion of macro 'WRITE_BREAK'
#20 51.48 2019 | if (!WRITE_BREAK(emitter, string)) return 0;
#20 51.48 | ^~~~~~~~~~~
#20 51.48 emitter.c: In function 'yaml_emitter_write_literal_scalar':
#20 51.48 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#20 51.48 28 | && ((emitter->line_break == YAML_CR_BREAK ? \
#20 51.48 | ^~
#20 51.48 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#20 51.48 56 | (PUT_BREAK(emitter), \
#20 51.48 | ^~~~~~~~~
#20 51.48 emitter.c:2285:18: note: in expansion of macro 'WRITE_BREAK'
#20 51.48 2285 | if (!WRITE_BREAK(emitter, string)) return 0;
#20 51.48 | ^~~~~~~~~~~
#20 51.48 emitter.c: In function 'yaml_emitter_write_folded_scalar':
#20 51.48 emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#20 51.48 28 | && ((emitter->line_break == YAML_CR_BREAK ? \
#20 51.48 | ^~
#20 51.48 emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#20 51.48 56 | (PUT_BREAK(emitter), \
#20 51.48 | ^~~~~~~~~
#20 51.48 emitter.c:2334:18: note: in expansion of macro 'WRITE_BREAK'
#20 51.48 2334 | if (!WRITE_BREAK(emitter, string)) return 0;
#20 51.48 | ^~~~~~~~~~~
#20 85.69 yaml_stubs.c: In function 'yaml_stub_1_yaml_get_version_string':
#20 85.69 yaml_stubs.c:11:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#20 85.69 11 | char* x2 = yaml_get_version_string();
#20 85.69 | ^~~~~~~~~~~~~~~~~~~~~~~
#20 118.4 configure: WARNING: using cross tools not prefixed with host triplet
#20 118.4 configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok
#20 118.5 binary ocaml: found in /home/opam/.opam/4.14/bin
#20 118.5 binary ocamlc: found in /home/opam/.opam/4.14/bin
#20 118.5 binary ocamldep: found in /home/opam/.opam/4.14/bin
#20 118.5 binary ocamlmklib: found in /home/opam/.opam/4.14/bin
#20 118.5 binary ocamldoc: found in /home/opam/.opam/4.14/bin
#20 118.5 binary x86_64-solo5-none-static-cc: found in /home/opam/.opam/4.14/bin
#20 118.5 binary ocamlopt: found in /home/opam/.opam/4.14/bin
#20 118.5 checking compilation with -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/: working
#20 118.5 include caml/mlvalues.h: found
#20 118.5 library dynlink.cmxa: found
#20 118.5 binary ocamlfind: found in /home/opam/.opam/4.14/bin
#20 118.5 OCaml's word size is 64
#20 118.5 package gmp: found
#20 118.5 OCaml supports -bin-annot to produce documentation
#20 118.5
#20 118.5 detected configuration:
#20 118.5
#20 118.5 native-code: yes
#20 118.5 dynamic linking: yes
#20 118.5 defines: -DHAS_GMP
#20 118.5 includes: -I/home/opam/.opam/4.14/solo5-sysroot/lib/ocaml -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
#20 118.5 libraries: -lgmp
#20 118.5 linker options: -L/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
#20 118.5 C options: -I/home/opam/www/_build/solo5/mirage/duniverse/Zarith/../../../../install/solo5/lib/gmp/
#20 118.5 installation path: /home/opam/.opam/4.14/lib
#20 118.5 installation method findlib
#20 118.5
#20 118.5 configuration successful!
#20 118.5 now type "make" to build
#20 118.5 then type "make install" or "sudo make install" to install
#20 126.8 /usr/bin/ld: warning: /home/opam/.opam/4.14/bin/../lib/x86_64-solo5-none-static/solo5_xen.o: requires executable stack (because the .note.GNU-stack section is executable)
#20 DONE 127.4s
#21 [16/16] RUN if [ xen = hvt ]; then sudo cp mirage/dist/www.xen /unikernel.xen; fi
#21 DONE 0.3s
#22 exporting to image
#22 exporting layers
#22 exporting layers 2.9s done
#22 writing image sha256:67ade9290c3c5b35bed73a3e637e14c1e2aae4f679e00ddc8ddbadbea1866e2f done
#22 DONE 2.9s
2025-04-22 17:53.51: Job succeeded