Skip to content

libguile-ssh should be installed as an extension#31

Open
aconchillo wants to merge 1 commit intoartyom-poptsov:masterfrom
aconchillo:libguile-ssh-as-extension
Open

libguile-ssh should be installed as an extension#31
aconchillo wants to merge 1 commit intoartyom-poptsov:masterfrom
aconchillo:libguile-ssh-as-extension

Conversation

@aconchillo
Copy link
Copy Markdown
Contributor

@aconchillo aconchillo commented May 11, 2022

This came up in a new Apple M1 where Homebrew is installed in /opt/homebrew instead of /usr/local as Apple intel's. libguile-ssh should actually be installed as an extension (as other extensions). This way GUILE_SYSTEM_EXTENSIONS_PATH can be used.

@aconchillo
Copy link
Copy Markdown
Contributor Author

@artyom-poptsov ping

@artyom-poptsov
Copy link
Copy Markdown
Owner

Hello.

Thank you for the patch.

I rebased your changes on top of the master branch. make -j$(nproc) distcheck works fine, but when I try to guix build -f ./guix.scm, I get the following error.
guile-ssh-build.log

avp

@aconchillo
Copy link
Copy Markdown
Contributor Author

Oh, so sorry I missed your message somehow. Yeah...I think the issue is that the extension is installed in

   /gnu/store/2s8q7mirdzr6sllb2cpidxhlhrvb77fm-guile-ssh-git/lib/guile/3.0/extensions

I'm not sure how guix solves this (not sure if it create symbolic links). But probably that path is not in GUILE_EXTENSIONS_PATH. I need to find some time to check this.

@Hellseher
Copy link
Copy Markdown
Contributor

@aconchillo May you share brew's formula of the guile-ssh package? This issue
can be solved on the package side instead of library.

Guix uses isolated build with symlink to all dependencies as read only location
in /gnu/store the same mechanics are in use in NixOS.

@aconchillo
Copy link
Copy Markdown
Contributor Author

@aconchillo May you share brew's formula of the guile-ssh package? This issue can be solved on the package side instead of library.

Sorry! Completely missed this. Yes, that's what I ended up doing. This is it:

https://github.com/aconchillo/homebrew-guile/blob/main/Formula/guile-ssh.rb

@artyom-poptsov
Copy link
Copy Markdown
Owner

Hello @aconchillo and @Hellseher !

I wonder if this PR is still up to date? I'm planning to make a new Guile-SSH release this week, so it would be great if we could freshen this PR up and maybe merge it to the master branch.

Also maybe @nicolas-graves can add check this as well.

@artyom-poptsov artyom-poptsov self-assigned this Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants