Strange, libpcre.so is not listed among dependencies. And if I understand it correctly, Lisp has a better ppcre then Perl. But of course, we can try. I am a bit overwhelmed by now.
How can I produce .hpkg from .recipe? Should I install HaikuPorter?
EDIT: The downloaded tarball from Git contains sacla-tests folder, which contain some more tests and can be run with: make check-sacla-tests.
I believe, the most relevant tests are ANSI compliance tests, which can be invoked with: make check-ansi-tests
but I do not see the folder with them, it needs to be downloaded separately, it seems.
Looking at the others via repology I don’t see libpcre listed there too, libxcrypt but we don’t have that one (and probably don’t need it). So for now just ignore my message on it.
Found in unix/INSTALL file the following information:
Dependencies: each package “clisp-modname” depends on “clisp” and, maybe, on an external library to which it interfaces, e.g., postgresql or pcre. It does not depend on any development tool (gcc, libffcall, pcre-dev).
So, libpcre.so is a real shared library expected for some CLISP module.
Git repository contains the branch clisp-2.50 whose latest commit is 1 year old, compared with clisp-master with latest commit 3 month ago, So I think 2.50 release was about that time. I believe sourceforge page is not maintained since ~2010, but I can ask CLISP team of course.
The 2.50 branch shows the wrong version in Terminal
~> clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49.92 (2018-02-18) <http://clisp.org/>
Copyright (c) Bruno Haible, Michael Stoll 1992-1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2018
Type :h and hit Enter for context help.
[1]>
On that note, in COPYRIGHT, don’t use the word “Copyright (c)”, use it like:
No recipe should be named “clisp-2.50.recipe” as that is the source it’s pulling in (otherwise $portVersion would be wrong here).
On that note, last commit on that 2.50 has been from January last year, that is also imported (backported?) to the master branch, that since then seen several commits (master), so in my eyes master branch is more up to date then the 2.50 (outdated) one.
At repology there not that much 2.50 versions mentioned also. My 2 cents would go for the latest commit on master and use “clisp-2.49.93~git.recipe” as it’s name?
EDIT: I can’t seem to run any tests on the 2.50 archive, no matter what I tried, on the master commit the tests run fine?
It seems haikuporter starts doing something helpful (i.e. not only complains). The .hpkg built is way too small (837 bytes) and probably is empty (clisp executable alone is 20 KB). First, haikuporter cannot find the following inside BUILD_REQUIRES:
devel:ffcall$secondaryArchSuffix
devel:gettext_libintl$secondaryArchSuffix
devel:readline$secondaryArchSuffix
devel:ncurses6$secondaryArchSuffix
Inside BUILD_PREREQUIRES the following is not found:
cmd:msgfmt
Where these prerequirements come from?
The build seems to follow the full process however.
Can you elaborate on this? For now I just removed runConfigure and did nothing for setting prefix/bindir/datarootdir and docdir. Maybe this is the problem why the generated .hpkg is so small?
Could you past your “current” recipe content somewhere like bpa.st again, could compare that then to what I already have, ps in my screenshot I saw that the manpages are installed in the wrong place, so probably need that to the list in BUILD also
EDIT: don’t use ~/config/non-packaged for prefix, use variable $prefix for this (this created a virtual /system directory/container where everything is installed in).
--prefix=$prefix
EDIT2: my test cases here:
TEST()
{
# make check-recompile -Csrc
# make check-fresh-line -Csrc
# make check-script -Csrc
# make check-tests -Csrc
# make check-sacla-tests -Csrc
make bench -Csrc
# make extracheck -Csrc
}