2024-09-01 14:13.36: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/heads/master (b307b736609e19ba6fee688cfed761ce9425a2e1) (linux-x86_64:debian-12-4.10_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/sanette/bogue.git" -b "master" && cd "bogue" && git reset --hard b307b736
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452
# debian-12-4.10_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 dc4ad843fd2f8a062c629efb9bd9973ba0407a94 || git fetch origin master) && git reset -q --hard dc4ad843fd2f8a062c629efb9bd9973ba0407a94 && 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-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.16.0 dune-configurator.3.16.0 integers.0.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.0.9.8 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.16.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --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-09-01 14:13.36: Using cache hint "sanette/bogue-ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452-debian-12-4.10_opam-2.2-85dd8aab94db5b4d2d4c3aa12da0127d"
2024-09-01 14:13.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
(comment debian-12-4.10_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 dc4ad843fd2f8a062c629efb9bd9973ba0407a94 || git fetch origin master) && git reset -q --hard dc4ad843fd2f8a062c629efb9bd9973ba0407a94 && 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-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.16.0 dune-configurator.3.16.0 integers.0.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.0.9.8 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.16.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.2 --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-09-01 14:13.36: Waiting for resource in pool OCluster
2024-09-01 16:25.08: Waiting for worker…
2024-09-01 16:27.35: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at b307b73 remove audio un/lock
(from ocaml/opam:debian-12-ocaml-4.10@sha256:48695943c9555d3a08e150097535c67d52f58819eb6bc592c398679a2a744452)
2024-09-01 16:27.35 ---> using "1171274062e138f4d83d3503b81ae1a38569e1bd12aa4ea9aae9c1899d407bf8" from cache
/: (comment debian-12-4.10_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-01 16:27.35 ---> using "23c3ce6f6a9471e22e964e0919404a9a2f9eac94be800f1acc78ab45d7bb1ecc" from cache
/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 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] synchronised from file:///home/opam/opam-repository
2024-09-01 16:27.35 ---> using "d4b8a094d7a75d0f7cd503c39f273adf4855881abc386e237400daf9817ed3d5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.10.2
2.2.1
2024-09-01 16:27.35 ---> using "e87de53e2a6a7c4beb17d49b5a8efda86f6fb980c856d2dc8f15fb6924fb5827" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-01 16:27.35 ---> using "784b3019b43cb147dea0a0a5b01c95928aaec5b901fa106a31119fbf80bf0992" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dc4ad843fd2f8a062c629efb9bd9973ba0407a94 || git fetch origin master) && git reset -q --hard dc4ad843fd2f8a062c629efb9bd9973ba0407a94 && git log --no-decorate -n1 --oneline && opam update -u"))
dc4ad843fd Merge pull request #26343 from dra27/conf-libffi-windows
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
The following actions will be performed:
=== downgrade 1 package
- downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1 (cached)
-> removed opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.
<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-09-01 16:29.00 ---> saved as "930e05a5a60b7b63f71e7d611b83828b90037daa5bf7c3666f16de7750f1f770"
/src: (copy (src bogue.opam) (dst ./))
2024-09-01 16:29.00 ---> saved as "afe75f045a816f637537590f4937969182a22d931e6c3b036242ac6be95e48ce"
/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-09-01 16:29.03 ---> saved as "f6d702b5df175648aa77130317ed69dc4d638468c9a240ef5c5d929f582d33fb"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.16.0 dune-configurator.3.16.0 integers.0.7.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.0.9.8 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.16.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.2 --depext-only -y bogue.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 3s (3009 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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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 pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "libsdl2-dev" "libsdl2-image-dev" "libsdl2-ttf-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Regenerating fonts cache...
2024-09-01 16:29.53 ---> saved as "d7fed0f8514597eec847602b9014cf608228e9774a7cc927fe299f317dc59795"
/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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 20 packages
- install bigarray-compat 1.1.0
- install conf-libffi 2.0.0
- install conf-pkg-config 3
- install conf-sdl2 1
- install conf-sdl2-image 1
- install conf-sdl2-ttf 1
- install csexp 1.5.2
- install ctypes 0.20.2
- install ctypes-foreign 0.18.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- install integers 0.7.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install tsdl 0.9.8
- install tsdl-image 0.6
- install tsdl-ttf 0.6
- install xdg 3.16.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.20.2 (cached)
-> installed conf-pkg-config.3
-> retrieved integers.0.7.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> installed conf-libffi.2.0.0
-> installed ctypes-foreign.0.18.0
-> installed conf-sdl2.1
-> installed conf-sdl2-image.1
-> installed conf-sdl2-ttf.1
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tsdl.0.9.8 (cached)
-> retrieved tsdl-image.0.6 (cached)
-> retrieved tsdl-ttf.0.6 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0, xdg.3.16.0 (cached)
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed dune.3.16.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed xdg.3.16.0
-> installed dune-configurator.3.16.0
-> installed ctypes.0.20.2
-> installed tsdl.0.9.8
-> installed tsdl-image.0.6
-> installed tsdl-ttf.0.6
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-01 16:31.43 ---> saved as "b3d8960a439c9e5814410a14394d4895173a2fa6a16ebfd6f757f3a1bc21ff38"
/src: (copy (src .) (dst /src))
2024-09-01 16:31.43 ---> saved as "b0eba0b2335e390385f2182406286e1c886b79bde61a90a9c5563247498e1576"
/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
[43][0] : ERROR: Cannot find share directory for examples.exe/.! bin_dir=/src/_build/default/examples, prefix_dir=/src/_build/default
[43][0] : Warning: User variable 'DIR' not found in config.
[43][0] : Warning: Using DIR=
[49][0] : Warning: User variable 'THEME' not found in config.
[49][0] : Warning: Using THEME=default
[49][0] : I/O: No theme specified, using default=default
[53][0] : I/O: Reading config file [/src/_build/install/default/share/bogue/themes/default/bogue.conf]. BOGUE Version [20240229]
[53][0] : I/O: Reading BACKGROUND=color:white
[53][0] : I/O: Reading CHECK_ON=fa:check-square-o
[53][0] : I/O: Reading CHECK_OFF=fa:square-o
[53][0] : Warning: Using THEME=default
Loading Bogue 20240229 with config dir /src/_build/install/default/share/bogue/themes/default
[53][0] : Warning: Using BACKGROUND=color:white
[53][0] : Warning: User variable 'BG_COLOR' not found in config.
[53][0] : Warning: Using BG_COLOR=lightsteelblue
[53][0] : Warning: User variable 'BUTTON_COLOR_OFF' not found in config.
[53][0] : Warning: Using BUTTON_COLOR_OFF=steelblue
[53][0] : Warning: User variable 'BUTTON_COLOR_ON' not found in config.
[53][0] : Warning: Using BUTTON_COLOR_ON=darkturquoise
[53][0] : Warning: Using CHECK_ON=fa:check-square-o
[53][0] : Warning: Using CHECK_OFF=fa:square-o
[53][0] : Warning: User variable 'CURSOR_COLOR' not found in config.
[53][0] : Warning: Using CURSOR_COLOR=#2a7da2
[53][0] : Warning: User variable 'FAINT_COLOR' not found in config.
[53][0] : Warning: Using FAINT_COLOR=gainsboro
[53][0] : Warning: User variable 'TEXT_COLOR' not found in config.
[53][0] : Warning: Using TEXT_COLOR=black
[53][0] : Warning: User variable 'SEL_BG_COLOR' not found in config.
[53][0] : Warning: Using SEL_BG_COLOR=slategray
[53][0] : Warning: User variable 'SEL_FG_COLOR' not found in config.
[53][0] : Warning: Using SEL_FG_COLOR=white
[53][0] : Warning: User variable 'LABEL_COLOR' not found in config.
[53][0] : Warning: Using LABEL_COLOR=black
[53][0] : Warning: User variable 'MENU_HL_COLOR' not found in config.
[53][0] : Warning: Using MENU_HL_COLOR=#8099a2
[53][0] : Warning: User variable 'MENU_BG_COLOR' not found in config.
[53][0] : Warning: Using MENU_BG_COLOR=#BEBEBE
[53][0] : Warning: User variable 'LABEL_FONT_SIZE' not found in config.
[53][0] : Warning: Using LABEL_FONT_SIZE=14
[53][0] : Warning: User variable 'LABEL_FONT' not found in config.
[53][0] : Warning: Using LABEL_FONT=Ubuntu-R.ttf
[53][0] : Warning: User variable 'TEXT_FONT' not found in config.
[53][0] : Warning: Using TEXT_FONT=Ubuntu-R.ttf
[53][0] : Warning: User variable 'TEXT_FONT_SIZE' not found in config.
[53][0] : Warning: Using TEXT_FONT_SIZE=14
[53][0] : Warning: User variable 'SMALL_FONT_SIZE' not found in config.
[53][0] : Warning: Using SMALL_FONT_SIZE=10
[53][0] : Warning: User variable 'MONO_FONT' not found in config.
[53][0] : Warning: Using MONO_FONT=UbuntuMono-R.ttf
[53][0] : Warning: User variable 'ROOM_MARGIN' not found in config.
[53][0] : Warning: Using ROOM_MARGIN=10
[53][0] : Warning: User variable 'FA_DIR' not found in config.
[53][0] : Warning: Using FA_DIR=font-awesome-4.6.3
[53][0] : Warning: User variable 'INT_SCALE' not found in config.
[53][0] : Warning: Using INT_SCALE=false
[53][0] : Warning: User variable 'SCALE' not found in config.
[53][0] : Warning: Using SCALE=0
[53][0] : Warning: User variable 'OPENGL_MULTISAMPLE' not found in config.
[53][0] : Warning: Using OPENGL_MULTISAMPLE=false
[58][0] : I/O: Reading color names from [/src/_build/install/default/share/bogue/themes/common/colors/liste.txt].
[67][0] : I/O; Warning: Cannot find rsvg converter. You will not be able to load SVG images.
[68][0] : Warning: SDL initialized
[68][0] : Event: SDL Events initialized
[68][0] : Event: Register new event type:user (32768)
[68][0] : Event: Register new event type:stop (32769)
[68][0] : Event: Register new event type:stopped (32770)
[68][0] : Event: Register new event type:mouse_enter (32771)
[68][0] : Event: Register new event type:mouse_leave (32772)
[68][0] : Event: Register new event type:redraw (32773)
[68][0] : Event: Register new event type:mouse_at_rest (32774)
[68][0] : Event: Register new event type:startup (32775)
[68][0] : Event: Register new event type:var_changed (32776)
[68][0] : Event: Register new event type:update (32777)
[68][0] : Event: Register new event type:sync_action (32778)
[68][0] : Event: Register new event type:keyboard_focus (32779)
[68][0] : Event: Register new event type:mouse_focus (32780)
[68][0] : Event: Register new event type:remove_layout (32781)
[68][0] : Event: Register new event type:destroy_window (32782)
[68][0] : Event: Register new event type:not_used (32783)
[68][0] : Board: Layout #1 (dummy) created.
[68][0] : I/O: Checking image file size /src/_build/install/default/share/bogue/assets/images/chl.png
[74][0] : Graphics: SDL Video initialized
[74][0] : Memory: Create surface_load (/src/_build/install/default/share/bogue/themes/default/bogue-icon.png)
[76][0] : ERROR; Graphics: SDL get DPI error: That operation is not supported
[84][0] : Warning: Cannot get monitor's DPI from xdpyinfo.
[84][0] : Graphics: DPI from system: 110
[84][0] : Graphics; Warning: Using SCALE=1.000000
[84][0] : Graphics: SDL Image initialized
[84][0] : Memory: Create surface_load (/src/_build/install/default/share/bogue/assets/images/chl.png)
[86][0] : Memory: Freeing surface (330,290)
00 = Bogue initialization without opening any window.
[86][0] : Board: Adding timeout 1
[86][0] : Board: Layout #2 (windows_house) created.
[86][0] : Board: ==> Running board!
[96][0] : Board: Has focus: NO
[96][0] : Board: Adding timeout 2
[96][0] : Graphics: FPS:100 (round_trip=0)
[1097][0] : Board: Executing timeout 1
Hello world
[1097][0] : Memory: All zombies have been killed! Congratulations!
[1097][0] : Board: Quitting...
[1097][0] : Graphics: Quitting SDL Image
[1097][0] : Graphics: Quitting SDL Video
[1097][0] : Graphics: Cleaning up 0 SDL_TTF surfaces...
[1097][0] : Memory: Freeing surface (123,128)
[1097][0] : Event: Quitting SDL Events
[1097][0] : Graphics: Exit SDL...
[0][0] : Graphics: Done.
INFO: Using SDL 2.26.5
/bin/sh: 1: xdpyinfo: not found
2024-09-01 16:31.51 ---> saved as "8ec820264b307d6d0193b832e365bc35d1a5b00b5b90676be6cb7d2a98c49274"
Job succeeded
2024-09-01 16:31.51: Job succeeded