-
Notifications
You must be signed in to change notification settings - Fork 63
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
Cannot compile shifter from source in some debian-based systems #246
Comments
Further inspection of the
|
modifying the file dep/build_ssh.sh to consider the latest stable versions:
makes it go a bit further, it no longer gives the previous error, but now:
|
furthermore, changing the following in dep/build_ssh.sh
makes further progress, however it still fails:
|
From musl's FAQ
and following the link to the compatibility page:
I see that in Shifter build_ssh.sh we use openssh instead of dropbear. This could be the cause for failure in compiling Shifter. |
So the ssh daemon is an optional feature. It is a static build of sshd so that it can be used inside the container environment. It is handy for some frameworks that can use ssh for launching. If you don’t need the feature you can disable that in the configure. |
Ok, nice to know. Using Thanks for the pointer. However, I guess it would be good that either that optional daemon works out of the box or it is disabled by default and activated on request. Thoughts? |
This happens with the following branches:
With the following systems:
When running make in the shifter root directory it crashes while compiling one of the dependencies
libressl
, which usesmusl-gcc
as a gcc-wrapper:If I login to the VM and run
make
manually, inlibressl
directory I get no errors, which does not usemusl-gcc
.Shifter seems to compile just fine out of the box in:
What am I missing here? And/or how can I debug this?
Cheers
The text was updated successfully, but these errors were encountered: