Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine Users - Pact Plugin CLI not compatible with arm64v8/alpine #102

Closed
YOU54F opened this issue May 3, 2023 · 0 comments · Fixed by #137 or #138
Closed

Alpine Users - Pact Plugin CLI not compatible with arm64v8/alpine #102

YOU54F opened this issue May 3, 2023 · 0 comments · Fixed by #137 or #138

Comments

@YOU54F
Copy link
Member

YOU54F commented May 3, 2023

We provide guidance for Alpine here

https://github.com/pact-foundation/pact-ruby-standalone/wiki/Using-the-pact-ruby-standalone-with-Alpine-Linux-Docker

We have recently packaged the pact-plugin-cli as part of the pact-ruby-standalone bundle.

It should be noted that despite this being added, it has been tested across aarch64 linux, and it does not work with the guidance in the above wiki

pact-plugin-cli --help
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /pact/bin/pact-plugin-cli)
Error relocating /pact/bin/pact-plugin-cli: __res_init: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetIPInfo: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetDataRelBase: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetRegionStart: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_SetGR: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetTextRelBase: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_Resume: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_DeleteException: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_RaiseException: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetIP: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_Backtrace: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_GetLanguageSpecificData: symbol not found
Error relocating /pact/bin/pact-plugin-cli: _Unwind_SetIP: symbol not found
Exit status: 127

Upon installing the following

libgcc libstdc++

We get the following error

928c7e40c438:/# pact-plugin-cli
Error relocating /pact/bin/pact-plugin-cli: __res_init: symbol not found

x86_64 appears to be fine with the current guidance with initial smoke testing.

It should be noted that we don't currently build for musl based targets, in the pact-plugin-cli

https://github.com/pact-foundation/pact-plugins/releases/tag/pact-plugin-cli-v0.1.0

but it should be possible, the issue then would just be detecting it within our existing checks which are os (linux) and arch (processor)

Ruby based executables seem okay in smoke testing

YOU54F added a commit that referenced this issue May 3, 2023
@mefellows mefellows changed the title Alpine Users - Pact Plugin CLI not compatabile with arm64v8/alpine Alpine Users - Pact Plugin CLI not compatible with arm64v8/alpine Jul 8, 2023
This was referenced May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant