Organisationssanettebogue3c093f ()debian-12-5.1_opam-2.1

debian-12-5.1_opam-2.1

Link Copied
Code Copied

Logs

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:debian-12-5.1_opam-2.1)
Base: ocaml/opam@sha256:d200873f5bf58fa64cc36052aa4c20b809ae5c537a237c1568d4ec56c464d610
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:d200873f5bf58fa64cc36052aa4c20b809ae5c537a237c1568d4ec56c464d610
# debian-12-5.1_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-domains.base base-nnp.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.15.2 dune-configurator.3.15.2 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 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.15.2"
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:d200873f5bf58fa64cc36052aa4c20b809ae5c537a237c1568d4ec56c464d610-debian-12-5.1_opam-2.1-07993091f8f4cf51be8d78572c51239f"
2024-05-12 08:06.29: Using OBuilder spec:
((from ocaml/opam@sha256:d200873f5bf58fa64cc36052aa4c20b809ae5c537a237c1568d4ec56c464d610)
 (comment debian-12-5.1_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-domains.base base-nnp.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.15.2 dune-configurator.3.15.2 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 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.15.2")
 (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.29: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at 3c093f9 Support where not which on Windows


(from ocaml/opam@sha256:d200873f5bf58fa64cc36052aa4c20b809ae5c537a237c1568d4ec56c464d610)
2024-05-12 08:07.51 ---> using "02f3acce9469f575133f358c3526b920479bcdac9926e1ced16a262cad00e5e9" from cache


/: (comment debian-12-5.1_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:07.51 ---> using "66060d01bd4aa77d0aedcad853a1043843ba6c8ace803f6a3753c6406af0b07a" 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 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:07.51 ---> using "db7a5bfe50809f1548023c6e91816fe38a29f4e7586c214126eabcc9787e3f71" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-12 08:07.51 ---> using "224d5fd882e4a3963c81eef188a2acc2b8c27b00a82c703180ad4cb24147f525" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-12 08:07.51 ---> using "da2832c88a44b5bfe8f18d3ab4a49f0c3d34811d87b2c9bf99ec196a8af3fde4" from cache


/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..739cf1c21c  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:07.51 ---> using "ea11be5761c64943f51dd06705682dbc418770f20213260d959da1ca867b3364" from cache


/src: (copy (src bogue.opam) (dst ./))
2024-05-12 08:07.51 ---> saved as "6dbef788aae8b08480826e8145570549c864929e42dc5cde7295f9b18c91bc3f"


/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:07.54 ---> saved as "d8740a4cb53e5af2a33523921ad06235b65b432959918319caa1ab267a395cb4"


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.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.15.2 dune-configurator.3.15.2 integers.0.7.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 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.15.2")


/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 1s (359 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bogue.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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-05-12 08:08.54 ---> saved as "8ab508fc8ceb16cd38a0b8b0becd9db301d520e2aed23c65d42b2ead0d3f7a3d"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 ocamlbuild        0.14.3
  - install conf-pkg-config   3
  - install ocamlfind         1.9.6
  - install dune              3.15.2
  - install conf-sdl2-ttf     1
  - install conf-sdl2-image   1
  - install conf-sdl2         1
  - install conf-libffi       2.0.0
  - install topkg             1.0.7
  - install xdg               3.15.2
  - install stdlib-shims      0.3.0
  - install csexp             1.5.2
  - install bigarray-compat   1.1.0
  - install ctypes-foreign    0.18.0
  - install integers          0.7.0
  - install dune-configurator 3.15.2
  - install ctypes            0.20.2
  - install tsdl              0.9.8
  - install tsdl-ttf          0.6
  - install tsdl-image        0.6
===== 20 to install =====


<><> 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)
-> 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 ocamlbuild.0.14.3  (cached)
-> 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.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved xdg.3.15.2  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed dune.3.15.2
-> 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.15.2
-> installed dune-configurator.3.15.2
-> 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-05-12 08:10.39 ---> saved as "afe880abf83068910c37717ff8cb93fdcc1fe611fef484caca5ac9890a17ade0"


/src: (copy (src .) (dst /src))
2024-05-12 08:10.40 ---> saved as "17ee382eb3555e2c952e0a1d5e946c6886a484c5db6c3252a060ce5d93806598"


/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
[30][0] :	 ERROR: Cannot find share directory for examples.exe/.! bin_dir=/src/_build/default/examples, prefix_dir=/src/_build/default
[30][0] :	 Warning: User variable 'DIR' not found in config.
[30][0] :	 Warning: Using DIR=
[34][0] :	 Warning: User variable 'THEME' not found in config.
[34][0] :	 Warning: Using THEME=default
[34][0] :	 I/O: No theme specified, using default=default
[34][0] :	 I/O: Reading config file [/src/_build/install/default/share/bogue/themes/default/bogue.conf]. BOGUE Version [20240229]
[34][0] :	 I/O: Reading BACKGROUND=color:white
[34][0] :	 I/O: Reading CHECK_ON=fa:check-square-o
[34][0] :	 I/O: Reading CHECK_OFF=fa:square-o
[34][0] :	 Warning: Using THEME=default
Loading Bogue 20240229 with config dir /src/_build/install/default/share/bogue/themes/default
[34][0] :	 Warning: Using BACKGROUND=color:white
[34][0] :	 Warning: User variable 'BG_COLOR' not found in config.
[34][0] :	 Warning: Using BG_COLOR=lightsteelblue
[34][0] :	 Warning: User variable 'BUTTON_COLOR_OFF' not found in config.
[34][0] :	 Warning: Using BUTTON_COLOR_OFF=steelblue
[34][0] :	 Warning: User variable 'BUTTON_COLOR_ON' not found in config.
[34][0] :	 Warning: Using BUTTON_COLOR_ON=darkturquoise
[34][0] :	 Warning: Using CHECK_ON=fa:check-square-o
[34][0] :	 Warning: Using CHECK_OFF=fa:square-o
[34][0] :	 Warning: User variable 'CURSOR_COLOR' not found in config.
[34][0] :	 Warning: Using CURSOR_COLOR=#2a7da2
[34][0] :	 Warning: User variable 'FAINT_COLOR' not found in config.
[34][0] :	 Warning: Using FAINT_COLOR=gainsboro
[34][0] :	 Warning: User variable 'TEXT_COLOR' not found in config.
[34][0] :	 Warning: Using TEXT_COLOR=black
[34][0] :	 Warning: User variable 'SEL_BG_COLOR' not found in config.
[34][0] :	 Warning: Using SEL_BG_COLOR=slategray
[34][0] :	 Warning: User variable 'SEL_FG_COLOR' not found in config.
[35][0] :	 Warning: Using SEL_FG_COLOR=white
[35][0] :	 Warning: User variable 'LABEL_COLOR' not found in config.
[35][0] :	 Warning: Using LABEL_COLOR=black
[35][0] :	 Warning: User variable 'MENU_HL_COLOR' not found in config.
[35][0] :	 Warning: Using MENU_HL_COLOR=#8099a2
[35][0] :	 Warning: User variable 'MENU_BG_COLOR' not found in config.
[35][0] :	 Warning: Using MENU_BG_COLOR=#BEBEBE
[35][0] :	 Warning: User variable 'LABEL_FONT_SIZE' not found in config.
[35][0] :	 Warning: Using LABEL_FONT_SIZE=14
[35][0] :	 Warning: User variable 'LABEL_FONT' not found in config.
[35][0] :	 Warning: Using LABEL_FONT=Ubuntu-R.ttf
[35][0] :	 Warning: User variable 'TEXT_FONT' not found in config.
[35][0] :	 Warning: Using TEXT_FONT=Ubuntu-R.ttf
[35][0] :	 Warning: User variable 'TEXT_FONT_SIZE' not found in config.
[35][0] :	 Warning: Using TEXT_FONT_SIZE=14
[35][0] :	 Warning: User variable 'SMALL_FONT_SIZE' not found in config.
[35][0] :	 Warning: Using SMALL_FONT_SIZE=10
[35][0] :	 Warning: User variable 'MONO_FONT' not found in config.
[35][0] :	 Warning: Using MONO_FONT=UbuntuMono-R.ttf
[35][0] :	 Warning: User variable 'ROOM_MARGIN' not found in config.
[35][0] :	 Warning: Using ROOM_MARGIN=10
[35][0] :	 Warning: User variable 'FA_DIR' not found in config.
[35][0] :	 Warning: Using FA_DIR=font-awesome-4.6.3
[35][0] :	 Warning: User variable 'INT_SCALE' not found in config.
[35][0] :	 Warning: Using INT_SCALE=false
[35][0] :	 Warning: User variable 'SCALE' not found in config.
[35][0] :	 Warning: Using SCALE=0
[35][0] :	 Warning: User variable 'OPENGL_MULTISAMPLE' not found in config.
[35][0] :	 Warning: Using OPENGL_MULTISAMPLE=false
[41][0] :	 I/O: Reading color names from [/src/_build/install/default/share/bogue/themes/common/colors/liste.txt].
[46][0] :	 I/O; Warning: Cannot find rsvg converter. You will not be able to load SVG images.
[47][0] :	 Warning: SDL initialized
[47][0] :	 Event: SDL Events initialized
[47][0] :	 Event: Register new event type:user (32768)
[47][0] :	 Event: Register new event type:stop (32769)
[47][0] :	 Event: Register new event type:stopped (32770)
[47][0] :	 Event: Register new event type:mouse_enter (32771)
[47][0] :	 Event: Register new event type:mouse_leave (32772)
[47][0] :	 Event: Register new event type:redraw (32773)
[47][0] :	 Event: Register new event type:mouse_at_rest (32774)
[47][0] :	 Event: Register new event type:startup (32775)
[47][0] :	 Event: Register new event type:var_changed (32776)
[47][0] :	 Event: Register new event type:update (32777)
[47][0] :	 Event: Register new event type:sync_action (32778)
[47][0] :	 Event: Register new event type:keyboard_focus (32779)
[47][0] :	 Event: Register new event type:mouse_focus (32780)
[47][0] :	 Event: Register new event type:remove_layout (32781)
[47][0] :	 Event: Register new event type:destroy_window (32782)
[47][0] :	 Event: Register new event type:not_used (32783)
[47][0] :	 Board: Layout #1 (dummy) created.
[47][0] :	 I/O: Checking image file size /src/_build/install/default/share/bogue/assets/images/chl.png
[63][0] :	 Graphics: SDL Video initialized
[63][0] :	 Memory: Create surface_load (/src/_build/install/default/share/bogue/themes/default/bogue-icon.png)
[64][0] :	 ERROR; Graphics: SDL get DPI error: That operation is not supported
[68][0] :	 Warning: Cannot get monitor's DPI from xdpyinfo.
[68][0] :	 Graphics: DPI from system: 110
[68][0] :	 Graphics; Warning: Using SCALE=1.000000
[68][0] :	 Graphics: SDL Image initialized
[68][0] :	 Memory: Create surface_load (/src/_build/install/default/share/bogue/assets/images/chl.png)
[69][0] :	 Memory: Freeing surface (330,290)
00 = Bogue initialization without opening any window.
[70][0] :	 Board: Adding timeout 1
[70][0] :	 Board: Layout #2 (windows_house) created.
[70][0] :	 Board: ==> Running board!
[80][0] :	 Board: Has focus: NO
[80][0] :	 Board: Adding timeout 2
[80][0] :	 Graphics: FPS:100 (round_trip=0)


[1080][0] :	 Board: Executing timeout 1
Hello world
[1080][0] :	 Memory: All zombies have been killed! Congratulations!
[1080][0] :	 Board: Quitting...
[1080][0] :	 Graphics: Quitting SDL Image
[1080][0] :	 Graphics: Quitting SDL Video
[1081][0] :	 Graphics: Cleaning up 0 SDL_TTF surfaces...
[1081][0] :	 Memory: Freeing surface (123,128)
[1081][0] :	 Event: Quitting SDL Events
[1081][0] :	 Graphics: Exit SDL...
[0][0] :	 Graphics: Done.
INFO: Using SDL 2.26.5
/bin/sh: 1: xdpyinfo: not found
2024-05-12 08:10.46 ---> saved as "6ae531ccb29eec285c58f251d74c1070d529c7988cf8e4939b214c5340b6b64e"
Job succeeded
2024-05-12 08:10.47: Job succeeded