GNU bug report logs -
#32769
Packaging Next browser (Common Lisp) [work in progress]
Previous Next
Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>
Date: Wed, 19 Sep 2018 07:16:02 UTC
Severity: normal
Tags: fixed
Done: Pierre Neidhardt <pierre <at> atlas.engineer>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
You were right, this was the issue. I've posted a patch upstream, it should be
fixed soon.
Now Next compiles. Hurray!!! :D
There is one last step though: the .asd bunble works, but not the
"build-program".
See the wip-nextbrowser for what I've tried. I've re-used the code from
Stumpwm.
I narrowed down the issue to the "generate-executable" function:
--8<---------------cut here---------------start------------->8---
define* (generate-executable out-file #:key
dependencies
dependency-prefixes
entry-program
type
#:allow-other-keys)
"Generate an executable by using asdf operation TYPE, containing whithin the
image all DEPENDENCIES, and running ENTRY-PROGRAM in the case of an
executable. Link in any asd files from DEPENDENCY-PREFIXES to ensure
references to those libraries are retained."
let* ((bin-directory (dirname out-file))
(name (basename out-file)))
(mkdir-p bin-directory)
(with-directory-excursion bin-directory
(generate-executable-wrapper-system name dependencies)
(generate-executable-entry-point name entry-program))
...
--8<---------------cut here---------------end--------------->8---
The problem is that Next's system is called "next/gtk", but we cannot use that
as an out-file. If I use something else, say "next", then compilation fails
with
--8<---------------cut here---------------start------------->8---
Component :NEXT not found, required by #<SYSTEM "next-exec">
--8<---------------cut here---------------end--------------->8---
I guess there is a flaw in the logic here. The system name should be
#:asd-system-name
and not
(name (basename out-file))
What shall we do?
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 6 years and 230 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.