Building on c2-3.equinix.ci.dev (from ocaml/opam:debian-unstable) 2023-11-24 01:11.32 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2023-11-24 01:11.32 ---> using "5a48029448e4c4dcb1058375cea3e3790f5832d398adedd7742173873baea387" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 94fc188d337b3ff337b5f8eea1b8560bad2fcf0e")) 2023-11-24 01:11.32 ---> using "4bc2d15930d5f76cefaa6c71e986670841894866f87090a05952a9005a90ac0a" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2023-11-24 01:11.32 ---> using "8bf156a19f17cb67a536d516a57a9f45c48accd814cb9c70e316c591f2144a75" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.10' '4.10.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.10.2"} | "ocaml-system" {= "4.10.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.10.2 (cached) -> installed ocaml-base-compiler.4.10.2 -> installed ocaml-config.1 -> installed ocaml.4.10.2 Done. # Run eval $(opam env --switch=4.10) to update the current shell environment 2023-11-24 01:11.32 ---> using "924b927b51d2a1203e2dc2236e7a033382f48510542327227d4b163943129488" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-11-23-1408.42-F-2023-11-17-0204.01.pdiff [319 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-11-23-1408.42-F-2023-11-17-0204.01.pdiff [319 kB] - Fetched 580 kB in 3s (214 kB/s) - Reading package lists... - 2023-11-24 01:11.32 ---> using "1808fe5bf9fb419b535d6ed99b8433e7ba872c71b78b6d46344e5738daf12bf9" from cache /: (env OCAMLPARAM warn-error=+8,_) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"glMLite.0.03.53\"\ \nopam install -vy \"glMLite.0.03.53\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"glMLite.0.03.53\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] glMLite.0.03.53 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install conf-libjpeg 1 [required by glMLite] - install conf-pkg-config 3 [required by conf-libjpeg] - install glMLite 0.03.53 - install ocamlfind 1.9.6 [required by glMLite] The following system packages will first need to be installed: freeglut3-dev libjpeg-dev pkg-config <><> 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" "freeglut3-dev" "libjpeg-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libglvnd0:amd64. - (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 ... 18150 files and directories currently installed.) - Preparing to unpack .../00-libglvnd0_1.7.0-1_amd64.deb ... - Unpacking libglvnd0:amd64 (1.7.0-1) ... - Selecting previously unselected package libdrm-common. - Preparing to unpack .../01-libdrm-common_2.4.117-1_all.deb ... - Unpacking libdrm-common (2.4.117-1) ... - Selecting previously unselected package libdrm2:amd64. - Preparing to unpack .../02-libdrm2_2.4.117-1_amd64.deb ... - Unpacking libdrm2:amd64 (2.4.117-1) ... - Selecting previously unselected package libglapi-mesa:amd64. - Preparing to unpack .../03-libglapi-mesa_23.2.1-1_amd64.deb ... - Unpacking libglapi-mesa:amd64 (23.2.1-1) ... - Selecting previously unselected package libx11-xcb1:amd64. - Preparing to unpack .../04-libx11-xcb1_2%3a1.8.7-1_amd64.deb ... - Unpacking libx11-xcb1:amd64 (2:1.8.7-1) ... - Selecting previously unselected package libxcb-dri2-0:amd64. - Preparing to unpack .../05-libxcb-dri2-0_1.15-1_amd64.deb ... - Unpacking libxcb-dri2-0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-dri3-0:amd64. - Preparing to unpack .../06-libxcb-dri3-0_1.15-1_amd64.deb ... - Unpacking libxcb-dri3-0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-glx0:amd64. - Preparing to unpack .../07-libxcb-glx0_1.15-1_amd64.deb ... - Unpacking libxcb-glx0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-present0:amd64. - Preparing to unpack .../08-libxcb-present0_1.15-1_amd64.deb ... - Unpacking libxcb-present0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-randr0:amd64. - Preparing to unpack .../09-libxcb-randr0_1.15-1_amd64.deb ... - Unpacking libxcb-randr0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-shm0:amd64. - Preparing to unpack .../10-libxcb-shm0_1.15-1_amd64.deb ... - Unpacking libxcb-shm0:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-sync1:amd64. - Preparing to unpack .../11-libxcb-sync1_1.15-1_amd64.deb ... - Unpacking libxcb-sync1:amd64 (1.15-1) ... - Selecting previously unselected package libxcb-xfixes0:amd64. - Preparing to unpack .../12-libxcb-xfixes0_1.15-1_amd64.deb ... - Unpacking libxcb-xfixes0:amd64 (1.15-1) ... - Selecting previously unselected package libxfixes3:amd64. - Preparing to unpack .../13-libxfixes3_1%3a6.0.0-2_amd64.deb ... - Unpacking libxfixes3:amd64 (1:6.0.0-2) ... - Selecting previously unselected package libxshmfence1:amd64. - Preparing to unpack .../14-libxshmfence1_1.3-1_amd64.deb ... - Unpacking libxshmfence1:amd64 (1.3-1) ... - Selecting previously unselected package libxxf86vm1:amd64. - Preparing to unpack .../15-libxxf86vm1_1%3a1.1.4-1+b2_amd64.deb ... - Unpacking libxxf86vm1:amd64 (1:1.1.4-1+b2) ... - Selecting previously unselected package libdrm-amdgpu1:amd64. - Preparing to unpack .../16-libdrm-amdgpu1_2.4.117-1_amd64.deb ... - Unpacking libdrm-amdgpu1:amd64 (2.4.117-1) ... - Selecting previously unselected package libpciaccess0:amd64. - Preparing to unpack .../17-libpciaccess0_0.17-3_amd64.deb ... - Unpacking libpciaccess0:amd64 (0.17-3) ... - Selecting previously unselected package libdrm-intel1:amd64. - Preparing to unpack .../18-libdrm-intel1_2.4.117-1_amd64.deb ... - Unpacking libdrm-intel1:amd64 (2.4.117-1) ... - Selecting previously unselected package libdrm-nouveau2:amd64. - Preparing to unpack .../19-libdrm-nouveau2_2.4.117-1_amd64.deb ... - Unpacking libdrm-nouveau2:amd64 (2.4.117-1) ... - Selecting previously unselected package libdrm-radeon1:amd64. - Preparing to unpack .../20-libdrm-radeon1_2.4.117-1_amd64.deb ... - Unpacking libdrm-radeon1:amd64 (2.4.117-1) ... - Selecting previously unselected package libelf1:amd64. - Preparing to unpack .../21-libelf1_0.190-1_amd64.deb ... - Unpacking libelf1:amd64 (0.190-1) ... - Selecting previously unselected package libicu72:amd64. - Preparing to unpack .../22-libicu72_72.1-4_amd64.deb ... - Unpacking libicu72:amd64 (72.1-4) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../23-libxml2_2.9.14+dfsg-1.3_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.3) ... - Selecting previously unselected package libz3-4:amd64. - Preparing to unpack .../24-libz3-4_4.8.12-3.1_amd64.deb ... - Unpacking libz3-4:amd64 (4.8.12-3.1) ... - Selecting previously unselected package libllvm16:amd64. - Preparing to unpack .../25-libllvm16_1%3a16.0.6-18_amd64.deb ... - Unpacking libllvm16:amd64 (1:16.0.6-18) ... - Selecting previously unselected package libsensors-config. - Preparing to unpack .../26-libsensors-config_1%3a3.6.0-8_all.deb ... - Unpacking libsensors-config (1:3.6.0-8) ... - Selecting previously unselected package libsensors5:amd64. - Preparing to unpack .../27-libsensors5_1%3a3.6.0-8_amd64.deb ... - Unpacking libsensors5:amd64 (1:3.6.0-8) ... - Selecting previously unselected package libgl1-mesa-dri:amd64. - Preparing to unpack .../28-libgl1-mesa-dri_23.2.1-1_amd64.deb ... - Unpacking libgl1-mesa-dri:amd64 (23.2.1-1) ... - Selecting previously unselected package libglx-mesa0:amd64. - Preparing to unpack .../29-libglx-mesa0_23.2.1-1_amd64.deb ... - Unpacking libglx-mesa0:amd64 (23.2.1-1) ... - Selecting previously unselected package libglx0:amd64. - Preparing to unpack .../30-libglx0_1.7.0-1_amd64.deb ... - Unpacking libglx0:amd64 (1.7.0-1) ... - Selecting previously unselected package libgl1:amd64. - Preparing to unpack .../31-libgl1_1.7.0-1_amd64.deb ... - Unpacking libgl1:amd64 (1.7.0-1) ... - Selecting previously unselected package libxi6:amd64. - Preparing to unpack .../32-libxi6_2%3a1.8-1+b1_amd64.deb ... - Unpacking libxi6:amd64 (2:1.8-1+b1) ... - Selecting previously unselected package libglut3.12:amd64. - Preparing to unpack .../33-libglut3.12_3.4.0-1_amd64.deb ... - Unpacking libglut3.12:amd64 (3.4.0-1) ... - Selecting previously unselected package libglx-dev:amd64. - Preparing to unpack .../34-libglx-dev_1.7.0-1_amd64.deb ... - Unpacking libglx-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libgl-dev:amd64. - Preparing to unpack .../35-libgl-dev_1.7.0-1_amd64.deb ... - Unpacking libgl-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libglvnd-core-dev:amd64. - Preparing to unpack .../36-libglvnd-core-dev_1.7.0-1_amd64.deb ... - Unpacking libglvnd-core-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libwayland-server0:amd64. - Preparing to unpack .../37-libwayland-server0_1.22.0-2.1_amd64.deb ... - Unpacking libwayland-server0:amd64 (1.22.0-2.1) ... - Selecting previously unselected package libgbm1:amd64. - Preparing to unpack .../38-libgbm1_23.2.1-1_amd64.deb ... - Unpacking libgbm1:amd64 (23.2.1-1) ... - Selecting previously unselected package libwayland-client0:amd64. - Preparing to unpack .../39-libwayland-client0_1.22.0-2.1_amd64.deb ... - Unpacking libwayland-client0:amd64 (1.22.0-2.1) ... - Selecting previously unselected package libegl-mesa0:amd64. - Preparing to unpack .../40-libegl-mesa0_23.2.1-1_amd64.deb ... - Unpacking libegl-mesa0:amd64 (23.2.1-1) ... - Selecting previously unselected package libegl1:amd64. - Preparing to unpack .../41-libegl1_1.7.0-1_amd64.deb ... - Unpacking libegl1:amd64 (1.7.0-1) ... - Selecting previously unselected package libegl-dev:amd64. - Preparing to unpack .../42-libegl-dev_1.7.0-1_amd64.deb ... - Unpacking libegl-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libgles1:amd64. - Preparing to unpack .../43-libgles1_1.7.0-1_amd64.deb ... - Unpacking libgles1:amd64 (1.7.0-1) ... - Selecting previously unselected package libgles2:amd64. - Preparing to unpack .../44-libgles2_1.7.0-1_amd64.deb ... - Unpacking libgles2:amd64 (1.7.0-1) ... - Selecting previously unselected package libgles-dev:amd64. - Preparing to unpack .../45-libgles-dev_1.7.0-1_amd64.deb ... - Unpacking libgles-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libopengl0:amd64. - Preparing to unpack .../46-libopengl0_1.7.0-1_amd64.deb ... - Unpacking libopengl0:amd64 (1.7.0-1) ... - Selecting previously unselected package libopengl-dev:amd64. - Preparing to unpack .../47-libopengl-dev_1.7.0-1_amd64.deb ... - Unpacking libopengl-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libglvnd-dev:amd64. - Preparing to unpack .../48-libglvnd-dev_1.7.0-1_amd64.deb ... - Unpacking libglvnd-dev:amd64 (1.7.0-1) ... - Selecting previously unselected package libgl1-mesa-dev:amd64. - Preparing to unpack .../49-libgl1-mesa-dev_23.2.1-1_amd64.deb ... - Unpacking libgl1-mesa-dev:amd64 (23.2.1-1) ... - Selecting previously unselected package libglu1-mesa:amd64. - Preparing to unpack .../50-libglu1-mesa_9.0.2-1.1_amd64.deb ... - Unpacking libglu1-mesa:amd64 (9.0.2-1.1) ... - Selecting previously unselected package libglu1-mesa-dev:amd64. - Preparing to unpack .../51-libglu1-mesa-dev_9.0.2-1.1_amd64.deb ... - Unpacking libglu1-mesa-dev:amd64 (9.0.2-1.1) ... - Selecting previously unselected package libxext-dev:amd64. - Preparing to unpack .../52-libxext-dev_2%3a1.3.4-1+b1_amd64.deb ... - Unpacking libxext-dev:amd64 (2:1.3.4-1+b1) ... - Selecting previously unselected package x11-common. - Preparing to unpack .../53-x11-common_1%3a7.7+23_all.deb ... - Unpacking x11-common (1:7.7+23) ... - Selecting previously unselected package libice6:amd64. - Preparing to unpack .../54-libice6_2%3a1.0.10-1_amd64.deb ... - Unpacking libice6:amd64 (2:1.0.10-1) ... - Selecting previously unselected package libsm6:amd64. - Preparing to unpack .../55-libsm6_2%3a1.2.3-1_amd64.deb ... - Unpacking libsm6:amd64 (2:1.2.3-1) ... - Selecting previously unselected package libxt6:amd64. - Preparing to unpack .../56-libxt6_1%3a1.2.1-1.1_amd64.deb ... - Unpacking libxt6:amd64 (1:1.2.1-1.1) ... - Selecting previously unselected package libice-dev:amd64. - Preparing to unpack .../57-libice-dev_2%3a1.0.10-1_amd64.deb ... - Unpacking libice-dev:amd64 (2:1.0.10-1) ... - Selecting previously unselected package libsm-dev:amd64. - Preparing to unpack .../58-libsm-dev_2%3a1.2.3-1_amd64.deb ... - Unpacking libsm-dev:amd64 (2:1.2.3-1) ... - Selecting previously unselected package libxt-dev:amd64. - Preparing to unpack .../59-libxt-dev_1%3a1.2.1-1.1_amd64.deb ... - Unpacking libxt-dev:amd64 (1:1.2.1-1.1) ... - Selecting previously unselected package libglut-dev:amd64. - Preparing to unpack .../60-libglut-dev_3.4.0-1_amd64.deb ... - Unpacking libglut-dev:amd64 (3.4.0-1) ... - Selecting previously unselected package freeglut3-dev:amd64. - Preparing to unpack .../61-freeglut3-dev_3.4.0-1_amd64.deb ... - Unpacking freeglut3-dev:amd64 (3.4.0-1) ... - Selecting previously unselected package libjpeg62-turbo-dev:amd64. - Preparing to unpack .../62-libjpeg62-turbo-dev_1%3a2.1.5-2_amd64.deb ... - Unpacking libjpeg62-turbo-dev:amd64 (1:2.1.5-2) ... - Selecting previously unselected package libjpeg-dev:amd64. - Preparing to unpack .../63-libjpeg-dev_1%3a2.1.5-2_amd64.deb ... - Unpacking libjpeg-dev:amd64 (1:2.1.5-2) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../64-libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../65-pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../66-pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../67-pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up libxcb-dri3-0:amd64 (1.15-1) ... - Setting up libwayland-server0:amd64 (1.22.0-2.1) ... - Setting up libx11-xcb1:amd64 (2:1.8.7-1) ... - Setting up libpciaccess0:amd64 (0.17-3) ... - Setting up libicu72:amd64 (72.1-4) ... - Setting up libxcb-xfixes0:amd64 (1.15-1) ... - Setting up libglvnd-core-dev:amd64 (1.7.0-1) ... - Setting up libxi6:amd64 (2:1.8-1+b1) ... - Setting up libglvnd0:amd64 (1.7.0-1) ... - Setting up libxcb-glx0:amd64 (1.15-1) ... - Setting up x11-common (1:7.7+23) ... - invoke-rc.d: could not determine current runlevel - invoke-rc.d: policy-rc.d denied execution of restart. - Setting up libsensors-config (1:3.6.0-8) ... - Setting up libxcb-shm0:amd64 (1.15-1) ... - Setting up libopengl0:amd64 (1.7.0-1) ... - Setting up libxxf86vm1:amd64 (1:1.1.4-1+b2) ... - Setting up libxcb-present0:amd64 (1.15-1) ... - Setting up libz3-4:amd64 (4.8.12-3.1) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up libgles2:amd64 (1.7.0-1) ... - Setting up libjpeg62-turbo-dev:amd64 (1:2.1.5-2) ... - Setting up libxfixes3:amd64 (1:6.0.0-2) ... - Setting up libxcb-sync1:amd64 (1.15-1) ... - Setting up libgles1:amd64 (1.7.0-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up libsensors5:amd64 (1:3.6.0-8) ... - Setting up libglapi-mesa:amd64 (23.2.1-1) ... - Setting up libxext-dev:amd64 (2:1.3.4-1+b1) ... - Setting up libxcb-dri2-0:amd64 (1.15-1) ... - Setting up libxshmfence1:amd64 (1.3-1) ... - Setting up libxcb-randr0:amd64 (1.15-1) ... - Setting up libglu1-mesa:amd64 (9.0.2-1.1) ... - Setting up libopengl-dev:amd64 (1.7.0-1) ... - Setting up libdrm-common (2.4.117-1) ... - Setting up libelf1:amd64 (0.190-1) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.3) ... - Setting up libwayland-client0:amd64 (1.22.0-2.1) ... - Setting up libice6:amd64 (2:1.0.10-1) ... - Setting up libice-dev:amd64 (2:1.0.10-1) ... - Setting up libjpeg-dev:amd64 (1:2.1.5-2) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Setting up libdrm2:amd64 (2.4.117-1) ... - Setting up libllvm16:amd64 (1:16.0.6-18) ... - Setting up libsm6:amd64 (2:1.2.3-1) ... - Setting up libdrm-amdgpu1:amd64 (2.4.117-1) ... - Setting up libdrm-nouveau2:amd64 (2.4.117-1) ... - Setting up libgbm1:amd64 (23.2.1-1) ... - Setting up libsm-dev:amd64 (2:1.2.3-1) ... - Setting up libdrm-radeon1:amd64 (2.4.117-1) ... - Setting up libdrm-intel1:amd64 (2.4.117-1) ... - Setting up libgl1-mesa-dri:amd64 (23.2.1-1) ... - Setting up libegl-mesa0:amd64 (23.2.1-1) ... - Setting up libxt6:amd64 (1:1.2.1-1.1) ... - Setting up libegl1:amd64 (1.7.0-1) ... - Setting up libglx-mesa0:amd64 (23.2.1-1) ... - Setting up libglx0:amd64 (1.7.0-1) ... - Setting up libgl1:amd64 (1.7.0-1) ... - Setting up libxt-dev:amd64 (1:1.2.1-1.1) ... - Setting up libglut3.12:amd64 (3.4.0-1) ... - Setting up libglx-dev:amd64 (1.7.0-1) ... - Setting up libgl-dev:amd64 (1.7.0-1) ... - Setting up libegl-dev:amd64 (1.7.0-1) ... - Setting up libglu1-mesa-dev:amd64 (9.0.2-1.1) ... - Setting up libgles-dev:amd64 (1.7.0-1) ... - Setting up libglvnd-dev:amd64 (1.7.0-1) ... - Setting up libgl1-mesa-dev:amd64 (23.2.1-1) ... - Setting up libglut-dev:amd64 (3.4.0-1) ... - Setting up freeglut3-dev:amd64 (3.4.0-1) ... - Processing triggers for libc-bin (2.37-12) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/12: [glMLite.0.03.53: http] Processing 4/12: [glMLite.0.03.53: http] Processing 5/12: [glMLite.0.03.53: http] [conf-pkg-config: pkg-config] -> retrieved ocamlfind.1.9.6 (cached) [ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch Processing 6/12: [glMLite.0.03.53: http] [conf-pkg-config: pkg-config] [ocamlfind: patch] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-pkg-config.3) - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.3 Processing 6/12: [glMLite.0.03.53: http] [ocamlfind: patch] -> installed conf-pkg-config.3 Processing 7/12: [glMLite.0.03.53: http] [ocamlfind: patch] Processing 8/12: [glMLite.0.03.53: http] [conf-libjpeg: pkg-config libjpeg] [ocamlfind: patch] Processing 8/12: [glMLite.0.03.53: http] [conf-libjpeg: pkg-config libjpeg] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "libjpeg" (CWD=/home/opam/.opam/4.10/.opam-switch/build/conf-libjpeg.1) -> compiled conf-libjpeg.1 Processing 8/12: [glMLite.0.03.53: http] [ocamlfind: ./configure] -> installed conf-libjpeg.1 Processing 9/12: [glMLite.0.03.53: http] [ocamlfind: ./configure] Processing 9/12: [ocamlfind: ./configure] -> retrieved glMLite.0.03.53 (https://github.com/fccm/glMLite/archive/v0.03.53.tar.gz) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.10/bin" "-sitelib" "/home/opam/.opam/4.10/lib" "-mandir" "/home/opam/.opam/4.10/man" "-config" "/home/opam/.opam/4.10/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6) - Welcome to findlib version 1.9.6 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Checking for ocamlopt -g... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - dynlink: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found (in +ocamldoc) - raw_spacetime: found - threads: found (in +threads) - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.10/lib/ocaml - Binaries: /home/opam/.opam/4.10/bin - Manual pages: /home/opam/.opam/4.10/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.10/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.10/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.10/bin - Manual pages: /home/opam/.opam/4.10/man - topfind script: /home/opam/.opam/4.10/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 9/12: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.10/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.10/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.10/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.10/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.10/lib' -p >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' Processing 9/12: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' -> compiled ocamlfind.1.9.6 Processing 10/12: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.10/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.10/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - install -d "/home/opam/.opam/4.10/bin" - install -d "/home/opam/.opam/4.10/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - install -d "`dirname \"/home/opam/.opam/4.10/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.10/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.10/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - install -d "/home/opam/.opam/4.10/lib/findlib" - install -d "/home/opam/.opam/4.10/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.10/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.10/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - install -c $files "/home/opam/.opam/4.10/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.10/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.10/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.10/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.10/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - for x in bigarray bytes compiler-libs dynlink ocamldoc raw_spacetime stdlib str threads unix ; do install -d "/home/opam/.opam/4.10/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.10/lib/$x/META.tmp" && mv "/home/opam/.opam/4.10/lib/$x/META.tmp" "/home/opam/.opam/4.10/lib/$x/META"; done - install -d "/home/opam/.opam/4.10/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.10/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.10/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' - install -d "/home/opam/.opam/4.10/man/man1" "/home/opam/.opam/4.10/man/man3" "/home/opam/.opam/4.10/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.10/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.10/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/ocamlfind.1.9.6' -> installed ocamlfind.1.9.6 Processing 11/12: [glMLite: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53) - (cd SRC; make) - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - if [ ! -d enums ]; then mkdir enums ; fi - ocamlc -c -g -o xmlm.cmi xmlm.mli - ocamlopt -c -g -o xmlm.cmx xmlm.ml - File "xmlm.ml", line 1128, characters 18-34: - 1128 | let lowercase = String.lowercase - ^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.lowercase - Use String.lowercase_ascii instead. - ocamlopt -a -g -o xmlm.cmxa xmlm.cmx - ocamlopt \ - -I . xmlm.cmxa \ - enums_xmlm.ml -o enums.exe - File "enums_xmlm.ml", line 162, characters 23-44: - 162 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 170, characters 23-44: - 170 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 182, characters 23-44: - 182 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 189, characters 23-44: - 189 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - ocamlc -c configure.c - ocamlopt -c configure_boot.ml - ocamlopt -cclib "-lGL" configure.o configure_boot.cmx -o configure.exe - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/primitive.inc.ml .inc.ml` > enums/primitive.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_capability.inc.ml .inc.ml` > enums/gl_capability.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/polygon_mode.inc.ml .inc.ml` > enums/polygon_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/face_mode.inc.ml .inc.ml` > enums/face_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clear_mask.inc.ml .inc.ml` > enums/clear_mask.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_error.inc.ml .inc.ml` > enums/gl_error.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/matrix_mode.inc.ml .inc.ml` > enums/matrix_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shade_mode.inc.ml .inc.ml` > enums/shade_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_param_target.inc.ml .inc.ml` > enums/tex_param_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_func.inc.ml .inc.ml` > enums/gl_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_target.inc.ml .inc.ml` > enums/hint_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_mode.inc.ml .inc.ml` > enums/hint_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/list_mode.inc.ml .inc.ml` > enums/list_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_sfactor.inc.ml .inc.ml` > enums/blend_sfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_dfactor.inc.ml .inc.ml` > enums/blend_dfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map2_target.inc.ml .inc.ml` > enums/map2_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map1_target.inc.ml .inc.ml` > enums/map1_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/render_mode.inc.ml .inc.ml` > enums/render_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/color_material_mode.inc.ml .inc.ml` > enums/color_material_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/enabled_cap.inc.ml .inc.ml` > enums/enabled_cap.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_format.inc.ml .inc.ml` > enums/pixel_data_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/internal_format.inc.ml .inc.ml` > enums/internal_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_type.inc.ml .inc.ml` > enums/pixel_data_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_type.inc.ml .inc.ml` > enums/pixel_buffer_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_format.inc.ml .inc.ml` > enums/pixel_buffer_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/orientation.inc.ml .inc.ml` > enums/orientation.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_binding.inc.ml .inc.ml` > enums/texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_4.inc.ml .inc.ml` > enums/get_integer_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_1.inc.ml .inc.ml` > enums/get_boolean_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_string.inc.ml .inc.ml` > enums/get_string.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_matrix.inc.ml .inc.ml` > enums/get_matrix.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_1.inc.ml .inc.ml` > enums/get_integer_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_3.inc.ml .inc.ml` > enums/get_float_3.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_1.inc.ml .inc.ml` > enums/get_float_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_2.inc.ml .inc.ml` > enums/get_float_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_4.inc.ml .inc.ml` > enums/get_float_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_2.inc.ml .inc.ml` > enums/get_integer_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_4.inc.ml .inc.ml` > enums/get_boolean_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_i.inc.ml .inc.ml` > enums/texture_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_texture_binding.inc.ml .inc.ml` > enums/get_texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_target.inc.ml .inc.ml` > enums/texenv_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_pname.inc.ml .inc.ml` > enums/texenv_pname.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_param.inc.ml .inc.ml` > enums/texenv_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/attrib_bit.inc.ml .inc.ml` > enums/attrib_bit.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/stencil_op.inc.ml .inc.ml` > enums/stencil_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/target_2d.inc.ml .inc.ml` > enums/target_2d.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_i.inc.ml .inc.ml` > enums/pixel_packing_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_b.inc.ml .inc.ml` > enums/pixel_packing_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_i.inc.ml .inc.ml` > enums/pixel_transfer_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f.inc.ml .inc.ml` > enums/pixel_transfer_f.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_b.inc.ml .inc.ml` > enums/pixel_transfer_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f_ARB.inc.ml .inc.ml` > enums/pixel_transfer_f_ARB.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/accum_op.inc.ml .inc.ml` > enums/accum_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode.inc.ml .inc.ml` > enums/blend_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode_ext.inc.ml .inc.ml` > enums/blend_mode_ext.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/op_code.inc.ml .inc.ml` > enums/op_code.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/draw_buffer_mode.inc.ml .inc.ml` > enums/draw_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/read_buffer_mode.inc.ml .inc.ml` > enums/read_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/copy_tex_target.inc.ml .inc.ml` > enums/copy_tex_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_map.inc.ml .inc.ml` > enums/pixel_map.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/min_filter.inc.ml .inc.ml` > enums/min_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mag_filter.inc.ml .inc.ml` > enums/mag_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/wrap_param.inc.ml .inc.ml` > enums/wrap_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord.inc.ml .inc.ml` > enums/tex_coord.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_gen_func.inc.ml .inc.ml` > enums/tex_coord_gen_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_gen_param.inc.ml .inc.ml` > enums/tex_gen_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clip_plane.inc.ml .inc.ml` > enums/clip_plane.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_type.inc.ml .inc.ml` > enums/pixel_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_fun_params.inc.ml .inc.ml` > enums/tex_coord_fun_params.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/buffer_object_target.inc.ml .inc.ml` > enums/buffer_object_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/vbo_usage_pattern.inc.ml .inc.ml` > enums/vbo_usage_pattern.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shader_type.inc.ml .inc.ml` > enums/shader_type.inc.ml - ocamlopt str.cmxa mlpp.ml -o mlpp.exe - ./mlpp.exe -C GL.ml.pp > GL.ml - ./mlpp.exe -D MLI -C GL.ml.pp > GL.mli - ocaml struct_to_sig.ml GL.mli # 's/= struct/: sig/g' - ocamlc -c GL.mli - ocamlc -c GL.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_capability.inc.c .inc.c` > enums/gl_capability.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/polygon_mode.inc.c .inc.c` > enums/polygon_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/face_mode.inc.c .inc.c` > enums/face_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clear_mask.inc.c .inc.c` > enums/clear_mask.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/face_mode.inc-r.c .inc-r.c` > enums/face_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/gl_error.inc-r.c .inc-r.c` > enums/gl_error.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/matrix_mode.inc.c .inc.c` > enums/matrix_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shade_mode.inc.c .inc.c` > enums/shade_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_param_target.inc.c .inc.c` > enums/tex_param_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_func.inc.c .inc.c` > enums/gl_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_target.inc.c .inc.c` > enums/hint_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_mode.inc.c .inc.c` > enums/hint_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/list_mode.inc.c .inc.c` > enums/list_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_sfactor.inc.c .inc.c` > enums/blend_sfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_dfactor.inc.c .inc.c` > enums/blend_dfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map2_target.inc.c .inc.c` > enums/map2_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map1_target.inc.c .inc.c` > enums/map1_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/render_mode.inc.c .inc.c` > enums/render_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/color_material_mode.inc.c .inc.c` > enums/color_material_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/enabled_cap.inc.c .inc.c` > enums/enabled_cap.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_type.inc.c .inc.c` > enums/pixel_data_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_format.inc.c .inc.c` > enums/pixel_data_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/internal_format.inc.c .inc.c` > enums/internal_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/pixel_data_format.inc-r.c .inc-r.c` > enums/pixel_data_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/internal_format.inc-r.c .inc-r.c` > enums/internal_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_type.inc.c .inc.c` > enums/pixel_buffer_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_format.inc.c .inc.c` > enums/pixel_buffer_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/orientation.inc.c .inc.c` > enums/orientation.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_binding.inc.c .inc.c` > enums/texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_4.inc.c .inc.c` > enums/get_integer_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_1.inc.c .inc.c` > enums/get_boolean_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_string.inc.c .inc.c` > enums/get_string.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_matrix.inc.c .inc.c` > enums/get_matrix.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_1.inc.c .inc.c` > enums/get_integer_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_3.inc.c .inc.c` > enums/get_float_3.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_1.inc.c .inc.c` > enums/get_float_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_2.inc.c .inc.c` > enums/get_float_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_4.inc.c .inc.c` > enums/get_float_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_2.inc.c .inc.c` > enums/get_integer_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_4.inc.c .inc.c` > enums/get_boolean_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_i.inc.c .inc.c` > enums/texture_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_texture_binding.inc.c .inc.c` > enums/get_texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shader_type.inc.c .inc.c` > enums/shader_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_target.inc.c .inc.c` > enums/texenv_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_pname.inc.c .inc.c` > enums/texenv_pname.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_param.inc.c .inc.c` > enums/texenv_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/attrib_bit.inc.c .inc.c` > enums/attrib_bit.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/stencil_op.inc.c .inc.c` > enums/stencil_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/target_2d.inc.c .inc.c` > enums/target_2d.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_i.inc.c .inc.c` > enums/pixel_packing_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_b.inc.c .inc.c` > enums/pixel_packing_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_i.inc.c .inc.c` > enums/pixel_transfer_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f.inc.c .inc.c` > enums/pixel_transfer_f.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_b.inc.c .inc.c` > enums/pixel_transfer_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f_ARB.inc.c .inc.c` > enums/pixel_transfer_f_ARB.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/accum_op.inc.c .inc.c` > enums/accum_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode.inc.c .inc.c` > enums/blend_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode_ext.inc.c .inc.c` > enums/blend_mode_ext.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/op_code.inc.c .inc.c` > enums/op_code.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/draw_buffer_mode.inc.c .inc.c` > enums/draw_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/read_buffer_mode.inc.c .inc.c` > enums/read_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/copy_tex_target.inc.c .inc.c` > enums/copy_tex_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_map.inc.c .inc.c` > enums/pixel_map.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/list_mode.inc-r.c .inc-r.c` > enums/list_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/min_filter.inc.c .inc.c` > enums/min_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mag_filter.inc.c .inc.c` > enums/mag_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/wrap_param.inc.c .inc.c` > enums/wrap_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord.inc.c .inc.c` > enums/tex_coord.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_gen_func.inc.c .inc.c` > enums/tex_coord_gen_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_gen_param.inc.c .inc.c` > enums/tex_gen_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clip_plane.inc.c .inc.c` > enums/clip_plane.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_type.inc.c .inc.c` > enums/pixel_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_fun_params.inc.c .inc.c` > enums/tex_coord_fun_params.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/buffer_object_target_arb.inc.c .inc.c` > enums/buffer_object_target_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/vbo_usage_pattern_arb.inc.c .inc.c` > enums/vbo_usage_pattern_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/vbo_usage_pattern_arb.inc-r.c .inc-r.c` > enums/vbo_usage_pattern_arb.inc-r.c - ocamlc -c gl.wrap.c - In file included from gl.wrap.c:45: - gl.wrap.c: In function 'ml_glgetshaderinfolog': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of 'glGetShaderInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:3251:85: note: in expansion of macro 'String_val' - 3251 | glGetShaderInfoLog(Shader_object_val(shader), infologLength, &charsWritten, String_val(infoLog)); - | ^~~~~~~~~~ - In file included from /usr/include/GL/gl.h:2050, - from gl.wrap.c:38: - /usr/include/GL/glext.h:747:98: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *' - 747 | GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); - | ~~~~~~~~^~~~~~~ - gl.wrap.c: In function 'ml_glgetprograminfolog': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of 'glGetProgramInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:3272:88: note: in expansion of macro 'String_val' - 3272 | glGetProgramInfoLog(Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog)); - | ^~~~~~~~~~ - /usr/include/GL/glext.h:745:100: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *' - 745 | GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); - | ~~~~~~~~^~~~~~~ - ocamlmklib -oc gl_stubs gl.wrap.o -lGL - ocamlc -a -o GL.cma -ccopt "-lGL" -dllib -lgl_stubs GL.cmo - ./mlpp.exe -C Glu.ml.pp > Glu.ml - ./mlpp.exe -D MLI -C Glu.ml.pp > Glu.mli - ocaml struct_to_sig.ml Glu.mli # 's/= struct/: sig/g' - ocamlc -c Glu.mli - ocamlc -c Glu.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_error.inc.c .inc.c` > enums/gl_error.inc.c - ocamlc -c glu.wrap.c - glu.wrap.c: In function 'user_glutess_cb_vertex': - glu.wrap.c:1072:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1072 | closure_f = caml_named_value("GLU callback tess vertex"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_vertex': - glu.wrap.c:1080:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1080 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex ); - | ^~~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(void *) - In file included from glu.wrap.c:31: - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_begin': - glu.wrap.c:1105:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1105 | closure_f = caml_named_value("GLU callback tess begin"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_begin': - glu.wrap.c:1111:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1111 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_BEGIN, user_glutess_cb_begin ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_end': - glu.wrap.c:1121:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1121 | closure_f = caml_named_value("GLU callback tess end"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_end': - glu.wrap.c:1127:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1127 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_END, user_glutess_cb_end ); - | ^~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_error': - glu.wrap.c:1153:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1153 | closure_f = caml_named_value("GLU callback tess error"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_error': - glu.wrap.c:1159:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1159 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_ERROR, user_glutess_cb_error ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'default_glutess_cb_error': - glu.wrap.c:977:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=] - 977 | strncat(err_msg, (char *)estring, 76); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ocamlmklib -o Glu glu.wrap.o -lGLU - ocamlmklib -o Glu Glu.cmo -lGLU - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button.inc.ml .inc.ml` > enums/mouse_button.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button_state.inc.ml .inc.ml` > enums/mouse_button_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/init_mode.inc.ml .inc.ml` > enums/init_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/special_key.inc.ml .inc.ml` > enums/special_key.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/game_mode.inc.ml .inc.ml` > enums/game_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/visibility_state.inc.ml .inc.ml` > enums/visibility_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/entry_state.inc.ml .inc.ml` > enums/entry_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_state.inc.ml .inc.ml` > enums/get_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/glut_device.inc.ml .inc.ml` > enums/glut_device.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/cursor_type.inc.ml .inc.ml` > enums/cursor_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/context_profile.inc.ml .inc.ml` > enums/context_profile.inc.ml - ./mlpp.exe -C Glut.ml.pp > Glut.ml - ./mlpp.exe -C Glut.mli.pp > Glut.mli - ocamlc -c Glut.mli - ocamlc -c Glut.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mouse_button.inc.c .inc.c` > enums/mouse_button.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button.inc-r.c .inc-r.c` > enums/mouse_button.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button_state.inc-r.c .inc-r.c` > enums/mouse_button_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/init_mode.inc.c .inc.c` > enums/init_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/special_key.inc-r.c .inc-r.c` > enums/special_key.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/game_mode.inc.c .inc.c` > enums/game_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/visibility_state.inc-r.c .inc-r.c` > enums/visibility_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/entry_state.inc-r.c .inc-r.c` > enums/entry_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_state.inc.c .inc.c` > enums/get_state.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/glut_device.inc.c .inc.c` > enums/glut_device.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/cursor_type.inc.c .inc.c` > enums/cursor_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/context_profile.inc.c .inc.c` > enums/context_profile.inc.c - ocamlc -c glut.wrap.c - In file included from glut.wrap.c:37: - glut.wrap.c: In function 'ml_glutinit': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - glut.wrap.c:113:21: note: in expansion of macro 'String_val' - 113 | char *arg = String_val(ml_arg); - | ^~~~~~~~~~ - glut.wrap.c: In function 'display_closure': - glut.wrap.c:193:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 193 | closure_f = caml_named_value("GL callback display"); - | ^ - glut.wrap.c: In function 'reshape_closure': - glut.wrap.c:206:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 206 | closure_f = caml_named_value("GL callback reshape"); - | ^ - glut.wrap.c: In function 'keyboard_closure': - glut.wrap.c:219:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 219 | closure_f = caml_named_value("GL callback keyboard"); - | ^ - glut.wrap.c: In function 'keyboardup_closure': - glut.wrap.c:232:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 232 | closure_f = caml_named_value("GL callback keyboard-up"); - | ^ - glut.wrap.c: In function 'passive_closure': - glut.wrap.c:245:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 245 | closure_f = caml_named_value("GL callback passive"); - | ^ - glut.wrap.c: In function 'motion_closure': - glut.wrap.c:258:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 258 | closure_f = caml_named_value("GL callback motion"); - | ^ - glut.wrap.c: In function 'mouse_closure': - glut.wrap.c:288:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 288 | closure_f = caml_named_value("GL callback mouse"); - | ^ - glut.wrap.c: In function 'visibility_closure': - glut.wrap.c:305:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 305 | closure_f = caml_named_value("GL callback visibility"); - | ^ - glut.wrap.c: In function 'entry_closure': - glut.wrap.c:322:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 322 | closure_f = caml_named_value("GL callback entry"); - | ^ - glut.wrap.c: In function 'special_closure': - glut.wrap.c:338:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 338 | closure_f = caml_named_value("GL callback special"); - | ^ - glut.wrap.c: In function 'specialup_closure': - glut.wrap.c:354:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 354 | closure_f = caml_named_value("GL callback special-up"); - | ^ - glut.wrap.c: In function 'idle_closure': - glut.wrap.c:367:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 367 | closure_f = caml_named_value("GL callback idle"); - | ^ - glut.wrap.c: In function 'menu_closure': - glut.wrap.c:407:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 407 | closure_f = caml_named_value("GL callback menu"); - | ^ - ocamlmklib -o Glut glut.wrap.o -lglut - ocamlmklib -o Glut Glut.cmo -lglut - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/interleaved_format.inc.ml .inc.ml` > enums/interleaved_format.inc.ml - ./mlpp.exe -C vertArray.ml.pp > vertArray.ml - cp vertArray.ml vertArray.mli - ocaml struct_to_sig.ml vertArray.mli # 's/= struct/: sig/g' - ocamlc -c vertArray.mli - ocamlc -c vertArray.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/interleaved_format.inc.c .inc.c` > enums/interleaved_format.inc.c - ocamlc -c varray.wrap.c - ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocamlopt -c GL.ml - ocamlopt -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlopt -c Glu.ml - ocamlmklib -o Glu Glu.cmx -lGLU - ocamlopt -c Glut.ml - ocamlmklib -o Glut Glut.cmx -lglut - ocamlopt -c vertArray.ml - ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocamlc -c jpeg_loader.ml - ocamlc -c loader-libjpeg.c - ocamlmklib -o jpeg_loader loader-libjpeg.o -lGL -L"/home/opam/.opam/4.10/lib/ocaml" -ljpeg - ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/4.10/lib/ocaml" -ljpeg - ocamlopt -c jpeg_loader.ml - ocamlmklib -o jpeg_loader jpeg_loader.cmx -lGL -L"/home/opam/.opam/4.10/lib/ocaml" -ljpeg - (make vbo_byte -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - ocamlopt \ - -I . xmlm.cmxa \ - enums_xmlm.ml -o enums.exe - File "enums_xmlm.ml", line 162, characters 23-44: - 162 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 170, characters 23-44: - 170 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 182, characters 23-44: - 182 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - File "enums_xmlm.ml", line 189, characters 23-44: - 189 | Invalid_argument "index out of bounds" -> - ^^^^^^^^^^^^^^^^^^^^^ - Warning 52: Code should not depend on the actual values of - this constructor's arguments. They are only for information - and may change in future versions. (See manual section 9.5) - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/buffer_object_target.inc.ml .inc.ml` > enums/buffer_object_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/vbo_usage_pattern.inc.ml .inc.ml` > enums/vbo_usage_pattern.inc.ml - ./mlpp.exe -C VBO.ml.pp > VBO.ml - ./mlpp.exe -D MLI -C VBO.ml.pp > VBO.mli - ocaml struct_to_sig.ml VBO.mli # 's/= struct/: sig/g' - ocamlc -c VBO.mli - ocamlc -c VBO.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/vbo_usage_pattern_arb.inc.c .inc.c` > enums/vbo_usage_pattern_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/buffer_object_target_arb.inc.c .inc.c` > enums/buffer_object_target_arb.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/vbo_usage_pattern_arb.inc-r.c .inc-r.c` > enums/vbo_usage_pattern_arb.inc-r.c - ocamlc -c vbo.wrap.c - ocamlmklib -o VBO vbo.wrap.o -L"/home/opam/.opam/4.10/lib/ocaml" -lGL - ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/4.10/lib/ocaml" -lGL - make[2]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - (make vbo_opt -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - ocamlopt -c VBO.ml - ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/4.10/lib/ocaml" -lGL - make[2]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' -> compiled glMLite.0.03.53 Processing 12/12: [glMLite: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "PREFIX=/home/opam/.opam/4.10/lib/glMLite" (CWD=/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53) - (cd SRC; make install) - make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/primitive.inc.ml .inc.ml` > enums/primitive.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_capability.inc.ml .inc.ml` > enums/gl_capability.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/polygon_mode.inc.ml .inc.ml` > enums/polygon_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/face_mode.inc.ml .inc.ml` > enums/face_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clear_mask.inc.ml .inc.ml` > enums/clear_mask.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_error.inc.ml .inc.ml` > enums/gl_error.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/matrix_mode.inc.ml .inc.ml` > enums/matrix_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shade_mode.inc.ml .inc.ml` > enums/shade_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_param_target.inc.ml .inc.ml` > enums/tex_param_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/gl_func.inc.ml .inc.ml` > enums/gl_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_target.inc.ml .inc.ml` > enums/hint_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/hint_mode.inc.ml .inc.ml` > enums/hint_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/list_mode.inc.ml .inc.ml` > enums/list_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_sfactor.inc.ml .inc.ml` > enums/blend_sfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_dfactor.inc.ml .inc.ml` > enums/blend_dfactor.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map2_target.inc.ml .inc.ml` > enums/map2_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/map1_target.inc.ml .inc.ml` > enums/map1_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/render_mode.inc.ml .inc.ml` > enums/render_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/color_material_mode.inc.ml .inc.ml` > enums/color_material_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/enabled_cap.inc.ml .inc.ml` > enums/enabled_cap.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_format.inc.ml .inc.ml` > enums/pixel_data_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/internal_format.inc.ml .inc.ml` > enums/internal_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_data_type.inc.ml .inc.ml` > enums/pixel_data_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_type.inc.ml .inc.ml` > enums/pixel_buffer_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_buffer_format.inc.ml .inc.ml` > enums/pixel_buffer_format.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/orientation.inc.ml .inc.ml` > enums/orientation.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_binding.inc.ml .inc.ml` > enums/texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_4.inc.ml .inc.ml` > enums/get_integer_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_1.inc.ml .inc.ml` > enums/get_boolean_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_string.inc.ml .inc.ml` > enums/get_string.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_matrix.inc.ml .inc.ml` > enums/get_matrix.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_1.inc.ml .inc.ml` > enums/get_integer_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_3.inc.ml .inc.ml` > enums/get_float_3.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_1.inc.ml .inc.ml` > enums/get_float_1.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_2.inc.ml .inc.ml` > enums/get_float_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_float_4.inc.ml .inc.ml` > enums/get_float_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_integer_2.inc.ml .inc.ml` > enums/get_integer_2.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_boolean_4.inc.ml .inc.ml` > enums/get_boolean_4.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texture_i.inc.ml .inc.ml` > enums/texture_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_texture_binding.inc.ml .inc.ml` > enums/get_texture_binding.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_target.inc.ml .inc.ml` > enums/texenv_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_pname.inc.ml .inc.ml` > enums/texenv_pname.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/texenv_param.inc.ml .inc.ml` > enums/texenv_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/attrib_bit.inc.ml .inc.ml` > enums/attrib_bit.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/stencil_op.inc.ml .inc.ml` > enums/stencil_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/target_2d.inc.ml .inc.ml` > enums/target_2d.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_i.inc.ml .inc.ml` > enums/pixel_packing_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_packing_b.inc.ml .inc.ml` > enums/pixel_packing_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_i.inc.ml .inc.ml` > enums/pixel_transfer_i.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f.inc.ml .inc.ml` > enums/pixel_transfer_f.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_b.inc.ml .inc.ml` > enums/pixel_transfer_b.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_transfer_f_ARB.inc.ml .inc.ml` > enums/pixel_transfer_f_ARB.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/accum_op.inc.ml .inc.ml` > enums/accum_op.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode.inc.ml .inc.ml` > enums/blend_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/blend_mode_ext.inc.ml .inc.ml` > enums/blend_mode_ext.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/op_code.inc.ml .inc.ml` > enums/op_code.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/draw_buffer_mode.inc.ml .inc.ml` > enums/draw_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/read_buffer_mode.inc.ml .inc.ml` > enums/read_buffer_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/copy_tex_target.inc.ml .inc.ml` > enums/copy_tex_target.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_map.inc.ml .inc.ml` > enums/pixel_map.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/min_filter.inc.ml .inc.ml` > enums/min_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mag_filter.inc.ml .inc.ml` > enums/mag_filter.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/wrap_param.inc.ml .inc.ml` > enums/wrap_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord.inc.ml .inc.ml` > enums/tex_coord.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_gen_func.inc.ml .inc.ml` > enums/tex_coord_gen_func.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_gen_param.inc.ml .inc.ml` > enums/tex_gen_param.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/clip_plane.inc.ml .inc.ml` > enums/clip_plane.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/pixel_type.inc.ml .inc.ml` > enums/pixel_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/tex_coord_fun_params.inc.ml .inc.ml` > enums/tex_coord_fun_params.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/shader_type.inc.ml .inc.ml` > enums/shader_type.inc.ml - ./mlpp.exe -C GL.ml.pp > GL.ml - ./mlpp.exe -D MLI -C GL.ml.pp > GL.mli - ocaml struct_to_sig.ml GL.mli # 's/= struct/: sig/g' - ocamlc -c GL.mli - ocamlopt -c GL.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_capability.inc.c .inc.c` > enums/gl_capability.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/polygon_mode.inc.c .inc.c` > enums/polygon_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/face_mode.inc.c .inc.c` > enums/face_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clear_mask.inc.c .inc.c` > enums/clear_mask.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/face_mode.inc-r.c .inc-r.c` > enums/face_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/gl_error.inc-r.c .inc-r.c` > enums/gl_error.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/matrix_mode.inc.c .inc.c` > enums/matrix_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shade_mode.inc.c .inc.c` > enums/shade_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_param_target.inc.c .inc.c` > enums/tex_param_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_func.inc.c .inc.c` > enums/gl_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_target.inc.c .inc.c` > enums/hint_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/hint_mode.inc.c .inc.c` > enums/hint_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/list_mode.inc.c .inc.c` > enums/list_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_sfactor.inc.c .inc.c` > enums/blend_sfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_dfactor.inc.c .inc.c` > enums/blend_dfactor.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map2_target.inc.c .inc.c` > enums/map2_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/map1_target.inc.c .inc.c` > enums/map1_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/render_mode.inc.c .inc.c` > enums/render_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/color_material_mode.inc.c .inc.c` > enums/color_material_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/enabled_cap.inc.c .inc.c` > enums/enabled_cap.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_type.inc.c .inc.c` > enums/pixel_data_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_data_format.inc.c .inc.c` > enums/pixel_data_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/internal_format.inc.c .inc.c` > enums/internal_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/pixel_data_format.inc-r.c .inc-r.c` > enums/pixel_data_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/internal_format.inc-r.c .inc-r.c` > enums/internal_format.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_type.inc.c .inc.c` > enums/pixel_buffer_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_buffer_format.inc.c .inc.c` > enums/pixel_buffer_format.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/orientation.inc.c .inc.c` > enums/orientation.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_binding.inc.c .inc.c` > enums/texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_4.inc.c .inc.c` > enums/get_integer_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_1.inc.c .inc.c` > enums/get_boolean_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_string.inc.c .inc.c` > enums/get_string.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_matrix.inc.c .inc.c` > enums/get_matrix.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_1.inc.c .inc.c` > enums/get_integer_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_3.inc.c .inc.c` > enums/get_float_3.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_1.inc.c .inc.c` > enums/get_float_1.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_2.inc.c .inc.c` > enums/get_float_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_float_4.inc.c .inc.c` > enums/get_float_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_integer_2.inc.c .inc.c` > enums/get_integer_2.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_boolean_4.inc.c .inc.c` > enums/get_boolean_4.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texture_i.inc.c .inc.c` > enums/texture_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_texture_binding.inc.c .inc.c` > enums/get_texture_binding.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/shader_type.inc.c .inc.c` > enums/shader_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_target.inc.c .inc.c` > enums/texenv_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_pname.inc.c .inc.c` > enums/texenv_pname.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/texenv_param.inc.c .inc.c` > enums/texenv_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/attrib_bit.inc.c .inc.c` > enums/attrib_bit.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/stencil_op.inc.c .inc.c` > enums/stencil_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/target_2d.inc.c .inc.c` > enums/target_2d.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_i.inc.c .inc.c` > enums/pixel_packing_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_packing_b.inc.c .inc.c` > enums/pixel_packing_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_i.inc.c .inc.c` > enums/pixel_transfer_i.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f.inc.c .inc.c` > enums/pixel_transfer_f.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_b.inc.c .inc.c` > enums/pixel_transfer_b.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_transfer_f_ARB.inc.c .inc.c` > enums/pixel_transfer_f_ARB.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/accum_op.inc.c .inc.c` > enums/accum_op.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode.inc.c .inc.c` > enums/blend_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/blend_mode_ext.inc.c .inc.c` > enums/blend_mode_ext.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/op_code.inc.c .inc.c` > enums/op_code.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/draw_buffer_mode.inc.c .inc.c` > enums/draw_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/read_buffer_mode.inc.c .inc.c` > enums/read_buffer_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/copy_tex_target.inc.c .inc.c` > enums/copy_tex_target.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_map.inc.c .inc.c` > enums/pixel_map.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/list_mode.inc-r.c .inc-r.c` > enums/list_mode.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/min_filter.inc.c .inc.c` > enums/min_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mag_filter.inc.c .inc.c` > enums/mag_filter.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/wrap_param.inc.c .inc.c` > enums/wrap_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord.inc.c .inc.c` > enums/tex_coord.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_gen_func.inc.c .inc.c` > enums/tex_coord_gen_func.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_gen_param.inc.c .inc.c` > enums/tex_gen_param.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/clip_plane.inc.c .inc.c` > enums/clip_plane.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/pixel_type.inc.c .inc.c` > enums/pixel_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/tex_coord_fun_params.inc.c .inc.c` > enums/tex_coord_fun_params.inc.c - ocamlc -c gl.wrap.c - In file included from gl.wrap.c:45: - gl.wrap.c: In function 'ml_glgetshaderinfolog': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of 'glGetShaderInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:3251:85: note: in expansion of macro 'String_val' - 3251 | glGetShaderInfoLog(Shader_object_val(shader), infologLength, &charsWritten, String_val(infoLog)); - | ^~~~~~~~~~ - In file included from /usr/include/GL/gl.h:2050, - from gl.wrap.c:38: - /usr/include/GL/glext.h:747:98: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *' - 747 | GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); - | ~~~~~~~~^~~~~~~ - gl.wrap.c: In function 'ml_glgetprograminfolog': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 4 of 'glGetProgramInfoLog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - gl.wrap.c:3272:88: note: in expansion of macro 'String_val' - 3272 | glGetProgramInfoLog(Shader_program_val(program), infologLength, &charsWritten, String_val(infoLog)); - | ^~~~~~~~~~ - /usr/include/GL/glext.h:745:100: note: expected 'GLchar *' {aka 'char *'} but argument is of type 'const char *' - 745 | GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); - | ~~~~~~~~^~~~~~~ - ocamlmklib -oc gl_stubs gl.wrap.o -lGL - ocamlopt -a -o GL.a -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlopt -a -o GL.cmxa -cclib -lgl_stubs -cclib "-lGL" GL.cmx - ocamlc -c Glu.mli - ocamlopt -c Glu.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/gl_error.inc.c .inc.c` > enums/gl_error.inc.c - ocamlc -c glu.wrap.c - glu.wrap.c: In function 'user_glutess_cb_vertex': - glu.wrap.c:1072:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1072 | closure_f = caml_named_value("GLU callback tess vertex"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_vertex': - glu.wrap.c:1080:62: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1080 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_VERTEX, user_glutess_cb_vertex ); - | ^~~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(void *) - In file included from glu.wrap.c:31: - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_begin': - glu.wrap.c:1105:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1105 | closure_f = caml_named_value("GLU callback tess begin"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_begin': - glu.wrap.c:1111:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1111 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_BEGIN, user_glutess_cb_begin ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_end': - glu.wrap.c:1121:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1121 | closure_f = caml_named_value("GLU callback tess end"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_end': - glu.wrap.c:1127:59: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1127 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_END, user_glutess_cb_end ); - | ^~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'user_glutess_cb_error': - glu.wrap.c:1153:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1153 | closure_f = caml_named_value("GLU callback tess error"); - | ^ - glu.wrap.c: In function 'ml_glutess_cb_error': - glu.wrap.c:1159:61: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] - 1159 | gluTessCallback( (GLUtesselator *)tess, GLU_TESS_ERROR, user_glutess_cb_error ); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | void (*)(GLenum) {aka void (*)(unsigned int)} - /usr/include/GL/glu.h:336:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} - 336 | GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); - | ~~~~~~~~~~~~^~~~~~~~~~~~ - glu.wrap.c: In function 'default_glutess_cb_error': - glu.wrap.c:977:5: warning: 'strncat' specified bound 76 equals destination size [-Wstringop-overflow=] - 977 | strncat(err_msg, (char *)estring, 76); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ocamlmklib -o Glu glu.wrap.o -lGLU - ocamlmklib -o Glu Glu.cmx -lGLU - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button.inc.ml .inc.ml` > enums/mouse_button.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/mouse_button_state.inc.ml .inc.ml` > enums/mouse_button_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/init_mode.inc.ml .inc.ml` > enums/init_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/special_key.inc.ml .inc.ml` > enums/special_key.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/game_mode.inc.ml .inc.ml` > enums/game_mode.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/visibility_state.inc.ml .inc.ml` > enums/visibility_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/entry_state.inc.ml .inc.ml` > enums/entry_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/get_state.inc.ml .inc.ml` > enums/get_state.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/glut_device.inc.ml .inc.ml` > enums/glut_device.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/cursor_type.inc.ml .inc.ml` > enums/cursor_type.inc.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/context_profile.inc.ml .inc.ml` > enums/context_profile.inc.ml - ./mlpp.exe -C Glut.ml.pp > Glut.ml - ./mlpp.exe -C Glut.mli.pp > Glut.mli - ocamlc -c Glut.mli - ocamlopt -c Glut.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/mouse_button.inc.c .inc.c` > enums/mouse_button.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button.inc-r.c .inc-r.c` > enums/mouse_button.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/mouse_button_state.inc-r.c .inc-r.c` > enums/mouse_button_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/init_mode.inc.c .inc.c` > enums/init_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/special_key.inc-r.c .inc-r.c` > enums/special_key.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/game_mode.inc.c .inc.c` > enums/game_mode.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/visibility_state.inc-r.c .inc-r.c` > enums/visibility_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -cr `basename enums/entry_state.inc-r.c .inc-r.c` > enums/entry_state.inc-r.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/get_state.inc.c .inc.c` > enums/get_state.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/glut_device.inc.c .inc.c` > enums/glut_device.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/cursor_type.inc.c .inc.c` > enums/cursor_type.inc.c - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/context_profile.inc.c .inc.c` > enums/context_profile.inc.c - ocamlc -c glut.wrap.c - In file included from glut.wrap.c:37: - glut.wrap.c: In function 'ml_glutinit': - /home/opam/.opam/4.10/lib/ocaml/caml/mlvalues.h:265:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | #define String_val(x) ((const char *) Bp_val(x)) - | ^ - glut.wrap.c:113:21: note: in expansion of macro 'String_val' - 113 | char *arg = String_val(ml_arg); - | ^~~~~~~~~~ - glut.wrap.c: In function 'display_closure': - glut.wrap.c:193:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 193 | closure_f = caml_named_value("GL callback display"); - | ^ - glut.wrap.c: In function 'reshape_closure': - glut.wrap.c:206:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 206 | closure_f = caml_named_value("GL callback reshape"); - | ^ - glut.wrap.c: In function 'keyboard_closure': - glut.wrap.c:219:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 219 | closure_f = caml_named_value("GL callback keyboard"); - | ^ - glut.wrap.c: In function 'keyboardup_closure': - glut.wrap.c:232:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 232 | closure_f = caml_named_value("GL callback keyboard-up"); - | ^ - glut.wrap.c: In function 'passive_closure': - glut.wrap.c:245:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 245 | closure_f = caml_named_value("GL callback passive"); - | ^ - glut.wrap.c: In function 'motion_closure': - glut.wrap.c:258:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 258 | closure_f = caml_named_value("GL callback motion"); - | ^ - glut.wrap.c: In function 'mouse_closure': - glut.wrap.c:288:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 288 | closure_f = caml_named_value("GL callback mouse"); - | ^ - glut.wrap.c: In function 'visibility_closure': - glut.wrap.c:305:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 305 | closure_f = caml_named_value("GL callback visibility"); - | ^ - glut.wrap.c: In function 'entry_closure': - glut.wrap.c:322:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 322 | closure_f = caml_named_value("GL callback entry"); - | ^ - glut.wrap.c: In function 'special_closure': - glut.wrap.c:338:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 338 | closure_f = caml_named_value("GL callback special"); - | ^ - glut.wrap.c: In function 'specialup_closure': - glut.wrap.c:354:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 354 | closure_f = caml_named_value("GL callback special-up"); - | ^ - glut.wrap.c: In function 'idle_closure': - glut.wrap.c:367:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 367 | closure_f = caml_named_value("GL callback idle"); - | ^ - glut.wrap.c: In function 'menu_closure': - glut.wrap.c:407:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 407 | closure_f = caml_named_value("GL callback menu"); - | ^ - ocamlmklib -o Glut glut.wrap.o -lglut - ocamlmklib -o Glut Glut.cmx -lglut - ocamlc -c GL.ml - ocamlc -a -o GL.cma -ccopt "-lGL" -dllib -lgl_stubs GL.cmo - ocamlc -c Glu.ml - ocamlmklib -o Glu Glu.cmo -lGLU - ocamlc -c Glut.ml - ocamlmklib -o Glut Glut.cmo -lglut - ./enums.exe GL_VERSION_4_1 enums.list.xml -ml `basename enums/interleaved_format.inc.ml .inc.ml` > enums/interleaved_format.inc.ml - ./mlpp.exe -C vertArray.ml.pp > vertArray.ml - cp vertArray.ml vertArray.mli - ocaml struct_to_sig.ml vertArray.mli # 's/= struct/: sig/g' - ocamlc -c vertArray.mli - ocamlc -c vertArray.ml - ./enums.exe GL_VERSION_4_1 enums.list.xml -c `basename enums/interleaved_format.inc.c .inc.c` > enums/interleaved_format.inc.c - ocamlc -c varray.wrap.c - ocamlmklib -o vertArray varray.wrap.o -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocamlmklib -o vertArray vertArray.cmo -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocamlopt -c vertArray.ml - ocamlmklib -o vertArray vertArray.cmx -lGL -L"/home/opam/.opam/4.10/lib/ocaml" - ocaml meta.ml \ - -GL_LIBS "-lGL" \ - -GLU_LIBS "-lGLU" \ - -GLUT_LIBS "-lglut" \ - META.in > META - if [ ! -d /home/opam/.opam/4.10/lib/glMLite ]; then install -d /home/opam/.opam/4.10/lib/glMLite ; fi - for file in dllgl_stubs.so dllGlu.so dllGlut.so dllvertArray.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - for file in GL.a GL.cmi GL.cmxa GL.cmx Glu.a Glu.cmi Glu.cmxa Glu.cmx Glut.a Glut.cmi Glut.cmxa Glut.cmx libgl_stubs.a libGlu.a libGlut.a GL.o Glu.o Glut.o GL.cma Glu.cma Glut.cma vertArray.cma vertArray.cmi vertArray.cmxa vertArray.cmx vertArray.a vertArray.o libvertArray.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - install -m 0644 META /home/opam/.opam/4.10/lib/glMLite/ - ocamlc -c jpeg_loader.ml - ocamlmklib -o jpeg_loader jpeg_loader.cmo -lGL -L"/home/opam/.opam/4.10/lib/ocaml" -ljpeg - if [ ! -d /home/opam/.opam/4.10/lib/glMLite ]; then install -d /home/opam/.opam/4.10/lib/glMLite ; fi - for file in dlljpeg_loader.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - for file in jpeg_loader.cma jpeg_loader.cmi jpeg_loader.cmxa jpeg_loader.cmx jpeg_loader.a jpeg_loader.o libjpeg_loader.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - ./mlpp.exe -C FunGL.ml.pp > FunGL.ml - ./mlpp.exe -D MLI -C FunGL.ml.pp > FunGL.mli - ocaml struct_to_sig.ml FunGL.mli # 's/= struct/: sig/g' - ocamlc -c FunGL.mli - ocamlc -c FunGL.ml - ocamlc -c fungl.wrap.c - ocamlmklib -o FunGL fungl.wrap.o -lGL - ocamlmklib -o FunGL FunGL.cmo -lGL - ocamlopt -c FunGL.ml - ocamlmklib -o FunGL FunGL.cmx -lGL - ocamlc -i FunGlut.ml > FunGlut.mli - ocamlc -c FunGlut.mli - ocamlc -c FunGlut.ml - ocamlc -a FunGlut.cmo -o FunGlut.cma - ocamlopt -a -o FunGlut.cmxa Glut.cmx FunGlut.ml - if [ ! -d /home/opam/.opam/4.10/lib/glMLite ]; then install -d /home/opam/.opam/4.10/lib/glMLite ; fi - for file in dllFunGL.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - for file in FunGL.cma FunGL.cmi FunGL.cmxa FunGL.cmx FunGL.a FunGL.o libFunGL.a FunGlut.cma FunGlut.cmi FunGlut.cmxa FunGlut.cmx FunGlut.a FunGlut.o ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - (make install -f Makefile.VBO) - make[2]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - ocamlc -c VBO.mli - ocamlc -c VBO.ml - ocamlmklib -o VBO VBO.cmo -L"/home/opam/.opam/4.10/lib/ocaml" -lGL - ocamlopt -c VBO.ml - ocamlmklib -o VBO VBO.cmx -L"/home/opam/.opam/4.10/lib/ocaml" -lGL - if [ ! -d /home/opam/.opam/4.10/lib/glMLite ]; then install -d /home/opam/.opam/4.10/lib/glMLite ; fi - for file in dllVBO.so ; do if [ -f $file ];then install -m 0755 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - for file in VBO.cma VBO.cmi VBO.cmxa VBO.cmx VBO.a VBO.o libVBO.a ; do if [ -f $file ];then install -m 0644 $file /home/opam/.opam/4.10/lib/glMLite/; fi; done - make[2]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' - make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/glMLite.0.03.53/SRC' -> installed glMLite.0.03.53 Done. # Run eval $(opam env) to update the current shell environment 2023-11-24 01:13.54 ---> saved as "f8d4f061c5e4c2716d08f8876aad76b848d27d935e2f3c54f72a97cae0ac830b" Job succeeded