HaxeFoundation / docker-library-haxe

Docker official image for Haxe
https://hub.docker.com/_/haxe/
MIT License
28 stars 8 forks source link

4.3.6 and 4.2.5 Debian based Haxe images failing to rebuild #11

Open yosifkit opened 1 month ago

yosifkit commented 1 month ago

The 4 Debian based images (haxe:4.3.6-bookworm, haxe:4.3.6-bullseye, haxe:4.2.5-bookworm, and haxe:4.2.5-bullseye) are failing to build after we merged the most recent Debian update and attempted to rebuild like we normally do every 3-5 weeks. It is failing on all three supported architectures: amd64, arm32v7, arm64v8. I'm not sure what has changed. 😕

I think the snippets below are the most relevant part of the log, but the full log is also on our Jenkins server (https://doi-janky.infosiftr.net/job/wip/job/new/job/build-arm64v8/36806/console) or for a short time on GitHub actions for amd64 builds (like this one https://github.com/docker-library/meta/actions/runs/11115548654).

+ make all tools
...
File "src/context/typecore.ml", line 297, characters 24-59:
297 |               if not (List.exists (ExtLib.String.starts_with p.pfile) ctx.com.std_path) then begin
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type prefix:string -> bool
       but an expression was expected of type 'a -> bool
...
make: *** [Makefile:81: haxe] Error 1
andyli commented 1 month ago

Thanks for the heads up! Looks like it's the latest release of extlib (1.8.0) broke the build. I will pin it to the previous version for now.