Package Details: picolisp 24.10.16-2

Git Clone URL: https://aur.archlinux.org/picolisp.git (read-only, click to copy)
Package Base: picolisp
Description: Fast and tiny 64-bit Lisp interpreter: OO, dynamic and functional (database, prolog, coroutines).
Upstream URL: https://picolisp.com
Licenses: MIT
Submitter: taij33n
Maintainer: johv
Last Packager: johv
Votes: 9
Popularity: 0.185318
First Submitted: 2015-11-17 16:40 (UTC)
Last Updated: 2024-11-19 23:18 (UTC)

Latest Comments

1 2 Next › Last »

AreaOfZero commented on 2024-11-19 23:26 (UTC)

@johv The newest package works! Thank you

johv commented on 2024-11-19 23:22 (UTC)

@AreaOfZero: Unfortunately I can't seem to reproduce this, but try 24.10.16-2, and let me know if you still have issues. Or, if you can figure out what the problem is and submit a patch it would be super helpful

AreaOfZero commented on 2024-11-19 21:29 (UTC) (edited on 2024-11-19 21:30 (UTC) by AreaOfZero)

getting this error during the build step:

==> Starting build()...
opt -O2   -o base.bc base.ll
clang -O3 -w -c -o lib.bc -D_OS='"Linux"' -D_CPU='"x86_64"' `pkg-config --cflags libffi` -emit-llvm lib.c
llvm-link -o picolisp.bc base.bc lib.bc
mkdir -p ../bin ../lib
llc picolisp.bc -relocation-model=pic -o picolisp.s
clang picolisp.s -o ../bin/picolisp -Wl,-z,relro,-z,now,-z,shstk -rdynamic -lc -lutil -lm -ldl -lreadline -lffi
strip ../bin/picolisp
clang -w -D_OS='"Linux"' -D_CPU='"x86_64"' sysdefs.c  &&  ./a.out > ../lib/sysdefs  &&  rm ./a.out
../pil   lib/llvm.l main.l -bye > base.ll
clang -O3 -w -c -o lib.bc -D_OS='"Linux"' -D_CPU='"x86_64"' `pkg-config --cflags libffi` -emit-llvm lib.c
../pil   lib/llvm.l ext.l -bye > ext.ll
../pil   lib/llvm.l ht.l -bye > ht.ll
clang -O3 -w -o ../bin/balance balance.c -Wl,-z,relro,-z,now,-z,shstk
[../lib/net.l:3] !? (in (or "Alt" "@lib/sysdefs") (if (from (pack "^J[" "Sym" "]^J")) (while (and (skip) (<> "[" @)) (def (read) (read))) (quit "No sysdefs" "Sym")))
"@lib/sysdefs" -- Open error: No such file or directory
make: *** [Makefile:48: base.ll] Error 1
make: *** Waiting for unfinished jobs....
[../lib/net.l:3] !? (in (or "Alt" "@lib/sysdefs") (if (from (pack "^J[" "Sym" "]^J")) (while (and (skip) (<> "[" @)) (def (read) (read))) (quit "No sysdefs" "Sym")))
[../lib/net.l:3] !? (in (or "Alt" "@lib/sysdefs") (if (from (pack "^J[" "Sym" "]^J")) (while (and (skip) (<> "[" @)) (def (read) (read))) (quit "No sysdefs" "Sym")))
"@lib/sysdefs" -- Open error: No such file or directory
"@lib/sysdefs" -- Open error: No such file or directory
make: *** [Makefile:75: ht.ll] Error 1
make: *** [Makefile:64: ext.ll] Error 1
strip ../bin/balance
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'picolisp-24.10.16-1': 
error: packages failed to build: picolisp-24.10.16-1

johv commented on 2024-10-07 08:36 (UTC)

@vic_acid: Odd, are you using a version of make that doesn't have the -W option? If so, I just pushed an update that should fix it (24.9.28-2). That error is caused because the upstream build process depends on src/base.ll not needing rebuilding, but I thought I had already implemented a workaround.

vic_acid commented on 2024-10-07 03:03 (UTC)

I'm continually getting build errors when trying to build using either yay or makepkg.

% makepkg -si
==> Making package: picolisp 24.9.28-1 (Sun 06 Oct 2024 10:55:16 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning pil21 git repo...
Cloning into bare repository '/home/$USER/AUR/picolisp/pil21'...
remote: Enumerating objects: 10390, done.
remote: Counting objects: 100% (2626/2626), done.
remote: Compressing objects: 100% (523/523), done.
remote: Total 10390 (delta 2142), reused 2577 (delta 2099), pack-reused 7764 (from 1)
Receiving objects: 100% (10390/10390), 35.88 MiB | 37.30 MiB/s, done.
Resolving deltas: 100% (8045/8045), done.
==> Validating source files with sha256sums...
    pil21 ... Passed
==> Extracting sources...
  -> Creating working copy of pil21 git repo...
Cloning into 'pil21'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
../pil: line 2: /home/$USER/AUR/picolisp/src/pil21/src/../bin/picolisp: No such file or directory
make: *** [Makefile:64: ext.ll] Error 127
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...

If I manually run the command from the PKGBUILD build() function, I can get the package to build correctly. But running it from makepkg fails.

johv commented on 2024-09-10 12:03 (UTC)

TwoFinger: Oops, my bad! Thanks for the comment!

TwoFinger commented on 2024-09-10 11:51 (UTC)

johv, the Makefile sed patches were to make the package conform to the Arch security guidelines. If you run namcap(1) on it, you will now see warnings that it lacks FULL RELRO and GNU_PROPERTY_X86_FEATURE_1_SHSTK.

iacore commented on 2024-03-21 12:56 (UTC) (edited on 2024-03-21 12:58 (UTC) by iacore)

please do not move the docs to /usr/share/doc/picolisp

picolisp depends on the docs being at the original location

try:

$ pil + : (doc 'doc)

i removed the 3 lines in PKGBUILD and it works

slbtty commented on 2021-09-09 01:43 (UTC)

This package is outdated a lot. The upstream maybe should be pointed to the actual one?

taij33n commented on 2017-04-07 10:39 (UTC)

@eigengrau yep, will look into these things. thx for reporting. the PIC problem is known by the author of the app.