2024-05-12 08:06.29: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/pull/34/head (3c093f9d5c4d0ac58f099c16bc65dbdee60572d9) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/sanette/bogue.git" && cd "bogue" && git fetch origin "refs/pull/34/head" && git reset --hard 3c093f9d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bogue.opam ./
RUN opam pin add -yn bogue.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-m4.1 conf-pkg-config.1.0 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 ctypes.0.14.0 ctypes-foreign.0.4.0 dune.3.3.0 integers.0.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 topkg.0.7.5 tsdl.0.9.7 tsdl-image.0.3.0 tsdl-ttf.0.3 xdg.3.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y bogue.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-12 08:06.29: Using cache hint "sanette/bogue-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-032e91cd3c0d729516a0e2609f4dd6a2"
2024-05-12 08:06.29: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
(comment debian-12-4.08_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bogue.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bogue.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-m4.1 conf-pkg-config.1.0 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 ctypes.0.14.0 ctypes-foreign.0.4.0 dune.3.3.0 integers.0.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 topkg.0.7.5 tsdl.0.9.7 tsdl-image.0.3.0 tsdl-ttf.0.3 xdg.3.4.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y bogue.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-05-12 08:06.29: Waiting for resource in pool OCluster
2024-05-12 08:06.29: Waiting for worker…
2024-05-12 08:06.54: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at 3c093f9 Support where not which on Windows
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-12 08:06.54 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" from cache
/: (comment debian-12-4.08_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-12 08:06.54 ---> saved as "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7"
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-12 08:08.39 ---> saved as "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-12 08:08.40 ---> saved as "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-12 08:08.40 ---> saved as "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..fec8ff50cd master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-12 08:10.00 ---> saved as "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7"
/src: (copy (src bogue.opam) (dst ./))
2024-05-12 08:10.00 ---> saved as "b2c10272acabc946d0169d54a3175f01dac190f97e3738e8886bbac3614e373b"
/src: (run (network host)
(shell "opam pin add -yn bogue.dev './'"))
[bogue.dev] synchronised (file:///src)
bogue is now pinned to file:///src (version dev)
2024-05-12 08:10.03 ---> saved as "a1aa3e388ca92f74783f41f234db4a93b04d4e64bc611318f47ebe2623864cbe"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-libffi.2.0.0 conf-m4.1 conf-pkg-config.1.0 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 ctypes.0.14.0 ctypes-foreign.0.4.0 dune.3.3.0 integers.0.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 result.1.0 topkg.0.7.5 tsdl.0.9.7 tsdl-image.0.3.0 tsdl-ttf.0.3 xdg.3.4.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y bogue.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (833 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bogue.dev] synchronised (no changes)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
libffi-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev m4 pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "libsdl2-dev" "libsdl2-image-dev" "libsdl2-ttf-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Regenerating fonts cache...
2024-05-12 08:10.48 ---> saved as "bee27215d4fcab16055f4ac13392f8026de01518abec63e01fb97d089b7690f4"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
- install conf-pkg-config 1.0
- install conf-m4 1
- install dune 3.3.0
- install result 1.0
- install ocamlbuild 0.14.0
- install conf-sdl2-ttf 1
- install conf-sdl2-image 1
- install conf-sdl2 1
- install conf-libffi 2.0.0
- install ocamlfind 1.8.0
- install xdg 3.4.0
- install ctypes-foreign 0.4.0
- install topkg 0.7.5
- install base-bytes base
- install integers 0.1.0
- install ctypes 0.14.0
- install tsdl 0.9.7
- install tsdl-ttf 0.3
- install tsdl-image 0.3.0
===== 19 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ctypes.0.14.0 (cached)
-> retrieved dune.3.3.0 (cached)
-> retrieved integers.0.1.0 (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved result.1.0 (cached)
-> installed conf-libffi.2.0.0
-> installed ctypes-foreign.0.4.0
-> installed conf-sdl2.1
-> installed conf-sdl2-image.1
-> installed conf-sdl2-ttf.1
-> retrieved topkg.0.7.5 (cached)
-> retrieved tsdl.0.9.7 (cached)
-> retrieved tsdl-image.0.3.0 (cached)
-> retrieved tsdl-ttf.0.3 (cached)
-> installed result.1.0
-> retrieved xdg.3.4.0 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed topkg.0.7.5
-> installed integers.0.1.0
-> installed dune.3.3.0
-> installed xdg.3.4.0
-> installed ctypes.0.14.0
-> installed tsdl.0.9.7
-> installed tsdl-image.0.3.0
-> installed tsdl-ttf.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 08:11.56 ---> saved as "9a17f9ba54086275bc82e8be5145ea53621d62eb2601d1a565d43c969a00909e"
/src: (copy (src .) (dst /src))
2024-05-12 08:11.57 ---> saved as "382398a7b2422e31cc8605594ebd277388b7436a21bf56a828f4259656d6f53b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples && ./examples.exe 00)
[0][0] : Warning: User variable 'LOG_TO_FILE' not found in config.
[0][0] : Warning: Using LOG_TO_FILE=false
[0][0] : I/O: Executable=examples.exe
[0][0] : I/O: Invoking opam
[26][0] : ERROR: Cannot find share directory for examples.exe/.! bin_dir=/src/_build/default/examples, prefix_dir=/src/_build/default
[27][0] : Warning: User variable 'DIR' not found in config.
[27][0] : Warning: Using DIR=
[30][0] : Warning: User variable 'THEME' not found in config.
[31][0] : Warning: Using THEME=default
[31][0] : I/O: No theme specified, using default=default
[31][0] : I/O: Reading config file [/src/_build/install/default/share/bogue/themes/default/bogue.conf]. BOGUE Version [20240229]
[31][0] : I/O: Reading BACKGROUND=color:white
[31][0] : I/O: Reading CHECK_ON=fa:check-square-o
[31][0] : I/O: Reading CHECK_OFF=fa:square-o
[31][0] : Warning: Using THEME=default
Loading Bogue 20240229 with config dir /src/_build/install/default/share/bogue/themes/default
[31][0] : Warning: Using BACKGROUND=color:white
[31][0] : Warning: User variable 'BG_COLOR' not found in config.
[31][0] : Warning: Using BG_COLOR=lightsteelblue
[31][0] : Warning: User variable 'BUTTON_COLOR_OFF' not found in config.
[31][0] : Warning: Using BUTTON_COLOR_OFF=steelblue
[31][0] : Warning: User variable 'BUTTON_COLOR_ON' not found in config.
[31][0] : Warning: Using BUTTON_COLOR_ON=darkturquoise
[31][0] : Warning: Using CHECK_ON=fa:check-square-o
[31][0] : Warning: Using CHECK_OFF=fa:square-o
[31][0] : Warning: User variable 'CURSOR_COLOR' not found in config.
[31][0] : Warning: Using CURSOR_COLOR=#2a7da2
[31][0] : Warning: User variable 'FAINT_COLOR' not found in config.
[31][0] : Warning: Using FAINT_COLOR=gainsboro
[31][0] : Warning: User variable 'TEXT_COLOR' not found in config.
[31][0] : Warning: Using TEXT_COLOR=black
[31][0] : Warning: User variable 'SEL_BG_COLOR' not found in config.
[31][0] : Warning: Using SEL_BG_COLOR=slategray
[31][0] : Warning: User variable 'SEL_FG_COLOR' not found in config.
[31][0] : Warning: Using SEL_FG_COLOR=white
[31][0] : Warning: User variable 'LABEL_COLOR' not found in config.
[31][0] : Warning: Using LABEL_COLOR=black
[31][0] : Warning: User variable 'MENU_HL_COLOR' not found in config.
[31][0] : Warning: Using MENU_HL_COLOR=#8099a2
[31][0] : Warning: User variable 'MENU_BG_COLOR' not found in config.
[31][0] : Warning: Using MENU_BG_COLOR=#BEBEBE
[31][0] : Warning: User variable 'LABEL_FONT_SIZE' not found in config.
[31][0] : Warning: Using LABEL_FONT_SIZE=14
[31][0] : Warning: User variable 'LABEL_FONT' not found in config.
[31][0] : Warning: Using LABEL_FONT=Ubuntu-R.ttf
[31][0] : Warning: User variable 'TEXT_FONT' not found in config.
[31][0] : Warning: Using TEXT_FONT=Ubuntu-R.ttf
[31][0] : Warning: User variable 'TEXT_FONT_SIZE' not found in config.
[31][0] : Warning: Using TEXT_FONT_SIZE=14
[31][0] : Warning: User variable 'SMALL_FONT_SIZE' not found in config.
[31][0] : Warning: Using SMALL_FONT_SIZE=10
[31][0] : Warning: User variable 'MONO_FONT' not found in config.
[31][0] : Warning: Using MONO_FONT=UbuntuMono-R.ttf
[31][0] : Warning: User variable 'ROOM_MARGIN' not found in config.
[31][0] : Warning: Using ROOM_MARGIN=10
[31][0] : Warning: User variable 'FA_DIR' not found in config.
[31][0] : Warning: Using FA_DIR=font-awesome-4.6.3
[31][0] : Warning: User variable 'INT_SCALE' not found in config.
[31][0] : Warning: Using INT_SCALE=false
[31][0] : Warning: User variable 'SCALE' not found in config.
[31][0] : Warning: Using SCALE=0
[31][0] : Warning: User variable 'OPENGL_MULTISAMPLE' not found in config.
[31][0] : Warning: Using OPENGL_MULTISAMPLE=false
[36][0] : I/O: Reading color names from [/src/_build/install/default/share/bogue/themes/common/colors/liste.txt].
[41][0] : I/O; Warning: Cannot find rsvg converter. You will not be able to load SVG images.
[42][0] : Warning: SDL initialized
INFO: Using SDL 2.26.5
[42][0] : Event: SDL Events initialized
[42][0] : Event: Register new event type:user (32768)
[42][0] : Event: Register new event type:stop (32769)
[42][0] : Event: Register new event type:stopped (32770)
[42][0] : Event: Register new event type:mouse_enter (32771)
[42][0] : Event: Register new event type:mouse_leave (32772)
[42][0] : Event: Register new event type:redraw (32773)
[42][0] : Event: Register new event type:mouse_at_rest (32774)
[42][0] : Event: Register new event type:startup (32775)
[42][0] : Event: Register new event type:var_changed (32776)
[42][0] : Event: Register new event type:update (32777)
[42][0] : Event: Register new event type:sync_action (32778)
[42][0] : Event: Register new event type:keyboard_focus (32779)
[42][0] : Event: Register new event type:mouse_focus (32780)
[42][0] : Event: Register new event type:remove_layout (32781)
[42][0] : Event: Register new event type:destroy_window (32782)
[42][0] : Event: Register new event type:not_used (32783)
[42][0] : Board: Layout #1 (dummy) created.
[42][0] : I/O: Checking image file size /src/_build/install/default/share/bogue/assets/images/chl.png
[45][0] : Graphics: SDL Video initialized
[45][0] : Memory: Create surface_load (/src/_build/install/default/share/bogue/themes/default/bogue-icon.png)
[45][0] : ERROR; Graphics: SDL get DPI error: That operation is not supported
/bin/sh: 1: xdpyinfo: not found
[49][0] : Warning: Cannot get monitor's DPI from xdpyinfo.
[49][0] : Graphics: DPI from system: 110
[49][0] : Graphics; Warning: Using SCALE=1.000000
[49][0] : Graphics: SDL Image initialized
[49][0] : Memory: Create surface_load (/src/_build/install/default/share/bogue/assets/images/chl.png)
[50][0] : Memory: Freeing surface (330,290)
00 = Bogue initialization without opening any window.
[50][0] : Board: Adding timeout 1
[50][0] : Board: Layout #2 (windows_house) created.
[50][0] : Board: ==> Running board!
[60][0] : Board: Has focus: NO
[60][0] : Board: Adding timeout 2
[60][0] : Graphics: FPS:100 (round_trip=0)
[1060][0] : Board: Executing timeout 1
Hello world
[1060][0] : Memory: All zombies have been killed! Congratulations!
[1060][0] : Board: Quitting...
[1060][0] : Graphics: Quitting SDL Image
[1060][0] : Graphics: Quitting SDL Video
[1060][0] : Graphics: Cleaning up 0 SDL_TTF surfaces...
[1061][0] : Memory: Freeing surface (123,128)
[1061][0] : Event: Quitting SDL Events
[1061][0] : Graphics: Exit SDL...
[0][0] : Graphics: Done.
2024-05-12 08:12.01 ---> saved as "7efc45d2267354f63571e009f6fc68a6ec28d4e45bceecceb595f951f20e2acc"
Job succeeded
2024-05-12 08:12.01: Job succeeded