* help with packaging a common lisp software
@ 2021-02-15 18:46 cage
2021-02-15 21:03 ` cage
0 siblings, 1 reply; 4+ messages in thread
From: cage @ 2021-02-15 18:46 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
Hi!
I am trying to package this software:
https://notabug.org/cage/tinmop/
The program is written in common lisp and it uses both ASDF to build
the executable image (using SBCL compiler) and GNU autotools (for i18n
files, data files and installation).
I am struggling to make guix build the package, if i uses the
gnu-build-system make fails because SBCL complains that it can not
find ASDF.
But if i switch to asdf-build-system i can compile the image (but not
the executable) and i fail to call make (using `(invoke "make"))
adding a phase (i tried to insert that "make" phase after or before
several standard phases without luck.
I have no clue, given that i am a novice both in guix and guile, i am
attaching here the package definition file hoping that someone could
give me suggestions to fix the issue.
The package define several other libraries needed, seems the
definition for them are working fine.
Bye and thanks in advance.
C.
[-- Attachment #2: tinmop-guix.scm --]
[-- Type: application/vnd.lotus-screencam, Size: 18533 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help with packaging a common lisp software
2021-02-15 18:46 help with packaging a common lisp software cage
@ 2021-02-15 21:03 ` cage
2021-02-20 11:18 ` cage
0 siblings, 1 reply; 4+ messages in thread
From: cage @ 2021-02-15 21:03 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 537 bytes --]
On Mon, Feb 15, 2021 at 07:46:20PM +0100, cage wrote:
Hi!
> I am trying to package this software:
>
> https://notabug.org/cage/tinmop/
I kept working on the file and with the help of a friand of mine and
insipred by the stumpwm definition package i managed to succeffully
compile the executable!
But now the only problem is generate and install (via autootols) the
manpage, the system configuration file and the i18n files.
I am attaching the updated package definition file. Looking forward
for suggestions! :)
Bye!
C.
[-- Attachment #2: tinmop-guix.scm --]
[-- Type: application/vnd.lotus-screencam, Size: 21062 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help with packaging a common lisp software
2021-02-15 21:03 ` cage
@ 2021-02-20 11:18 ` cage
2021-02-20 13:27 ` Guillaume Le Vaillant
0 siblings, 1 reply; 4+ messages in thread
From: cage @ 2021-02-20 11:18 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
On Mon, Feb 15, 2021 at 10:03:02PM +0100, cage wrote:
Hi!
With help from many people i managed to build the package!
But there is a single issue left, this program uses ncurses for TUI,
when built with guix it fails to render properly the character. This
problem does not arises when compiling the software on the same machine
but without guix.
I would be glad if some one could confirm the issue on their machine.
To reproduce the problem just, after the program starts, type ">" and
then type an accented letter or even backspace, the line will be all
messed up after typing.
Thank in advance!
C.
[-- Attachment #2: tinmop-guix.scm --]
[-- Type: application/vnd.lotus-screencam, Size: 23786 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help with packaging a common lisp software
2021-02-20 11:18 ` cage
@ 2021-02-20 13:27 ` Guillaume Le Vaillant
0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-02-20 13:27 UTC (permalink / raw)
To: cage; +Cc: help-guix
[-- Attachment #1.1: Type: text/plain, Size: 2411 bytes --]
cage <cage-dev@twistfold.it> skribis:
> On Mon, Feb 15, 2021 at 10:03:02PM +0100, cage wrote:
>
> Hi!
>
> With help from many people i managed to build the package!
>
> But there is a single issue left, this program uses ncurses for TUI,
> when built with guix it fails to render properly the character. This
> problem does not arises when compiling the software on the same machine
> but without guix.
>
> I would be glad if some one could confirm the issue on their machine.
>
> To reproduce the problem just, after the program starts, type ">" and
> then type an accented letter or even backspace, the line will be all
> messed up after typing.
>
> Thank in advance!
> C.
Hi,
I took a look at your file and it looks like you are using an old
version of Guix. The 'asd-system-name' parameter no longer exists and
has been replaced by the 'asd-systems' parameter several months ago.
At which commit is your Guix? (you can get it with the "guix describe"
command).
I made a few modifications to your file (in attachment) to make it work
with a more recent Guix, but Tinmop crashed when I tried to start it,
with the following error:
--8<---------------cut here---------------start------------->8---
Loading configuration file shared.conf
#<SB-INT:SIMPLE-PROGRAM-ERROR "invalid number of arguments: ~S" {100BBD2663}>
debugger invoked on a SB-INT:SIMPLE-PROGRAM-ERROR in thread
#<THREAD "main thread" RUNNING {1004698103}>:
invalid number of arguments: 1
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [REPLACE-FUNCTION] Call a different function with the same arguments
1: [CALL-FORM ] Call a different form
2: [ABORT ] Exit from the current thread.
((LAMBDA NIL :IN RESOURCES-UTILS::GET-RESOURCE-FILE) #<SIMPLE-ERROR "Cannot find \"client\" in either \"/gnu/store/qpr0zxgq5r4jz9mvk5y7b8s5yrwhdglw-tinmop-0.5.2-1.ceb965d/share/tinmop/client\" or \"/home/guillaume/.local/share/tinmop//client\"." {100BBD1EA3}>) [external]
error finding frame source: Bogus form-number: the source file has probably
changed too much to cope with.
source: NIL
0]
--8<---------------cut here---------------end--------------->8---
Is there some extra configuration required to start the program
correctly?
[-- Attachment #1.2: tinmop-guix.scm --]
[-- Type: application/octet-stream, Size: 20593 bytes --]
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-20 13:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 18:46 help with packaging a common lisp software cage
2021-02-15 21:03 ` cage
2021-02-20 11:18 ` cage
2021-02-20 13:27 ` Guillaume Le Vaillant
unofficial mirror of help-guix@gnu.org
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
help-guix@gnu.org
public-inbox-index guix-user
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.gnu.guix.user
nntp://news.gmane.io/gmane.comp.gnu.guix.user
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git