BeeInventor / keycloak-cognito-migration

A Keycloak UserStorageProvider for migrating users from AWS Cognito
MIT License
22 stars 6 forks source link

Build issue #2

Open petergodmanap opened 2 years ago

petergodmanap commented 2 years ago

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

petergodmanap commented 2 years ago

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

kevinresol commented 2 years ago

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

kevinresol commented 2 years ago

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

https://github.com/BeeInventor/keycloak-cognito-migration/blob/8f6ab761cdf94f1e7ca0b017d459deefba390b7a/.devcontainer/devcontainer.json#L23

did you encounter any issues on that command?