BeeInventor/keycloak-cognito-migration

Build issue

petergodmanap opened this issue · 3 comments

When I try to build and package it always ends with the erorr:

haxelib path: /home/keycloak/haxe/versions/1ec0856/haxelib: error while loading shared libraries: libneko.so.2: cannot open shared object file: No such file or directory

I added:
RUN apt install neko -y
To the devcontainer docker file, but then you encounter missing Java-std, and tink.
Once they are installed,

RUN haxelib install hxjava
RUN haxelib install tink_core
RUN haxelib install tink_adhoc
RUN haxelib install tink_macro

/home/keycloak/haxe/haxe_libraries/tink_adhoc/0.0.0/github/9f4f7a01a50b64041ca554902f1f3d43dffe661a/src/tink/adhoc/Macro.hx:3: characters 8-29 : Type not found : tink.macro.BuildCache
/home/keycloak/haxe/haxe_libraries/tink_adhoc/0.0.0/github/9f4f7a01a50b64041ca554902f1f3d43dffe661a/src/tink/adhoc/Macro.hx:5: characters 1-21 : Type not found : tink.MacroApi

the command haxelib install won't work, as we are using the lix package manager

can you try the steps listed in the CI script? As for the "Setup Lix" step you can run yarn global add lix locally

anyway, if you are using the devcontainer, the post-create command should have downloaded the haxe compiler, neko and all the haxe libraries,

"postCreateCommand": "lix download",

did you encounter any issues on that command?