GNU bug report logs -
#74532
with-extensions does not add native extensions to the load path
Previous Next
Full log
Message #38 received at 74532 <at> debbugs.gnu.org (full text, mbox):
Hi Tomas, hi Ludo', hi Z572,
On Tue 25 Mar 2025 at 11:10 am CET, Ludovic Courtès wrote:
> Tomas Volf <~@wolfsden.cz> skribis:
>> Timo Wilken <guix <at> twilken.net> writes:
>> I am not sure it is optimal to hide *all* errors from load-extension.
>> Maybe check if file exists and then try to load-extension it without the
>> false-if-exception?
I think the v2 patch makes this moot -- see below.
> Or just unconditionally load from the absolute file name? I don’t see
> what the ‘or’ buys us.
That only works if I move 'check after 'install -- else it fails with an error
in `load-foreign-library', saying the file doesn't exist.
The v2 patch does that, and works for me (as in, it compiles and I can use the
resulting package in `with-extensions').
Feedback is very welcome!
Cheers,
Timo
This bug report was last modified 44 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.