Hi Ralf, following patch can disable this "#!":
diff --git a/src/lisp/fricas-lisp.lisp b/src/lisp/fricas-lisp.lisp
index ed9201da..a42e9dd9 100644
--- a/src/lisp/fricas-lisp.lisp
+++ b/src/lisp/fricas-lisp.lisp
@@ -993,6 +993,8 @@
#-(or :ecl :poplog)
(defun fricas_compile_file (f output-file)
+ ;; do not embed sbcl/interpsys pathname into fasl files
+ #+:sbcl(setf sb-ext:*runtime-pathname* nil)
(compile-file f :output-file (relative-to-absolute output-file)))
(defun fricas_compile_fasl (f output-file)
- Qian
On 1/10/20 12:21 AM, Ralf Hemmecke wrote:
>>> #!/tmp/hemmecke/[more stuff]/bin/interpsys --script
>>>
>>> as the first line?
>>
>> AFAIK this is feature of sbcl: you can make .fasl file executable
>> if you wish (and Lisp source were written in way so that it makes
>> sense).
>
> OK, but these lines certainly make no sense in the installed system, the
> build directory will be gone.
>
> As I understand Alex (CC to him) building the debian package chokes on
> these lines inthe sense that it produces lots of warnings like this
>
> W: fricas: unusual-interpreter
> usr/lib/x86_64-linux-gnu/fricas/target/x86_64-pc-linux-gnu/algebra/YSTREAM.fasl
> #!/tmp/debian/fricas-1.3.5/build/x86_64-pc-linux-gnu/bin/interpsys
>
> Alex, what is debuild actually checking so that these warnings appear?
>
> Ralf
>
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/7f0f63cd-1d18-f0d3-651b-61fad268568a%40gmail.com.