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

Fails To start on WSL Alpine #53

Open
DrMagPie opened this issue Dec 13, 2021 · 11 comments
Open

Fails To start on WSL Alpine #53

DrMagPie opened this issue Dec 13, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@DrMagPie
Copy link

Hello when Sourcery starts it throws out this error:

Traceback (most recent call last):
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/__main__.py", line 8, in <module>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/binary/command_line_interface.py", line 14, in <module binary.command_line_interface>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/binary/auth.py", line 11, in <module binary.auth>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/binary/env.py", line 3, in <module binary.env>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/binary/sentry.py", line 9, in <module binary.sentry>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/lib/auth/client_auth.py", line 3, in <module lib.auth.client_auth>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/jwt/__init__.py", line 1, in <module jwt>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/jwt/api_jwk.py", line 3, in <module jwt.api_jwk>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/jwt/algorithms.py", line 6, in <module jwt.algorithms>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/jwt/utils.py", line 6, in <module jwt.utils>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/cryptography/hazmat/primitives/asymmetric/ec.py", line 13, in <module cryptography.hazmat.primitives.asymmetric.ec>
  File "/home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/cryptography/hazmat/primitives/asymmetric/utils.py", line 6, in <module cryptography.hazmat.primitives.asymmetric.utils>
ImportError: Error relocating /home/user/.vscode-server/extensions/sourcery.sourcery-0.9.7/sourcery_binaries/install/linux/libgcc_s.so.1: __cpu_indicator_init: symbol not found
[Error - 3:16:02 PM] Connection to server got closed. Server will not be restarted.

this is a brand new install

@Hellebore
Copy link
Contributor

Thanks for reporting! - We should be fixing this in our next release in a few days - it was an issue with our linux build environment.

@Hellebore Hellebore added bug Something isn't working next release This will be fixed in next release labels Dec 13, 2021
@brendanator brendanator removed the next release This will be fixed in next release label Dec 13, 2021
@brendanator
Copy link
Contributor

Actually I doubt this will work in Alpine. The Sourcery Linux binary is built with glibc and we don't currently build or publish a version that is built using musl

@DrMagPie
Copy link
Author

Happy to hear that it will be fixed for Linux in general.

Sad that you didn't have have a dedicated release for 'musl'.
But that shouldn't be a problem there are dirty hacks to make it work. And 'glibc' compatibility thingy for 'musl' also should work

@Hellebore
Copy link
Contributor

@DrMagPie we've now released our fix for the glibc issue in 0.9.8 - could you try it out?

@DrMagPie
Copy link
Author

Thank you for letting me know.
I will test it next Monday.

@DrMagPie
Copy link
Author

Hi,

I have tried it right now. The problem still persists. So or the Linux thingy was not fixed. or gcompat is not working to translate it from glibc to musl.

I will try to find sometime later today or tomorrow to test it with Ubuntu or Debian

@LeGmask
Copy link

LeGmask commented Feb 19, 2022

I have the same issue, any news ?

@Hellebore Hellebore added enhancement New feature or request and removed bug Something isn't working labels Feb 22, 2022
@Hellebore
Copy link
Contributor

@LeGmask Since we build with glibc we are not supporting Alpine currently. Will update this issue if that changes in future.

@LeGmask
Copy link

LeGmask commented Feb 22, 2022

@LeGmask Since we build with glibc we are not supporting Alpine currently. Will update this issue if that changes in future.

Well yes but I have the same issue on arch Linux ....

@Hellebore
Copy link
Contributor

@LeGmask could you try the Arch linux libxcrypt workaround here?
https://docs.sourcery.ai/Troubleshooting/

@LeGmask
Copy link

LeGmask commented Mar 23, 2022

@LeGmask could you try the Arch linux libxcrypt workaround here? docs.sourcery.ai/Troubleshooting

Okay that's works perfectly 😛 niiiice !
But since all these day it was just in the Troubleshooting section ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants