Package Details: janet-lang 1.10.0-1

Git Clone URL: https://aur.archlinux.org/janet-lang.git (read-only, click to copy)
Package Base: janet-lang
Description: A dynamic Lisp dialect and bytecode vm
Upstream URL: https://janet-lang.org/
Licenses: MIT
Conflicts: janet-lang-git
Provides: janet
Submitter: GrayJack
Maintainer: GrayJack
Last Packager: GrayJack
Votes: 3
Popularity: 0.000464
First Submitted: 2019-02-24 02:32
Last Updated: 2020-06-15 10:30

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

archery commented on 2020-05-22 21:00

@GrayJack, Thanks!

GrayJack commented on 2020-05-20 02:51

@archery, yeah, for some reason it wasn't working till yesterday, it started to work today, no idea why, but I'll remove the ugly hack asap

Thanks to report that to me

GrayJack commented on 2020-05-19 21:37

@archery, thanks for the report, on my end it didn't work with staticlib added

Can you tell me what repositories did you try, I tried the jfmt and littleserver till now and both failed

archery commented on 2020-05-19 20:51

You don't need the "ugly hack". It is working fine with staticlib added. I commented out the patch command in the PKGBUILD and jpm build works fine with the static library.

GrayJack commented on 2020-05-16 07:22

@subsetpark, do you have your makepkg config set with 'staticlibs' enabled? Otherwise makepkg will remove the static lib file from the package

GrayJack commented on 2020-05-16 06:08

@subsetpark, this error is weird, does that project have repository so I can try reproduce?

subsetpark commented on 2020-05-15 21:49

jpm build, on a fresh install, doesn't work in a way that suggests an improper installation.

janet-cells [] ⊕ jpm build                                 
generating executable c source...
compiling and linking build/cells...
cc: error: /sbin/../lib/libjanet.a: No such file or directory
error: command exited with status 1
  in shell [/sbin/jpm] (tailcall) on line 128, column 5
  in do-rule [/sbin/jpm] on line 239, column 24
  in do-rule [/sbin/jpm] (tailcall) on line 237, column 44

It seems that under janet-lang 1.9.0-1, the libjanet.a file is not being correctly installed. It's present in the src/build directory before packaging, but doesn't get installed alongside libjanet.so.

Similarly, the jpm show-paths command produces potentially odd results:

binpath:    /sbin
modpath:    /usr/lib/janet
libpath:    /sbin/../lib
headerpath: /usr/include/janet
syspath:    /usr/lib/janet

Note that libpath looks a bit odd compared to the rest.

lerouxrgd commented on 2020-04-27 19:34

@GrayJack Thank you for the help, it fixed my setup! I ended up with: export JANET_PATH=~/.local/lib/janet

GrayJack commented on 2020-04-27 12:48

@lerouxrgd You get that cause you don't have write permission on /usr/lib/janet

If you run with as root or with sudo it will work, although it's recommended to set JANET_MODPATH environment variable for janet in a place you can write into, like ~/.local/lib/janet

lerouxrgd commented on 2020-04-26 15:57

$ jpm install joy
error: No such file or directory: /usr/lib/janet/.cache
  in os/mkdir
  in mkdir [/usr/bin/jpm] on line 255, column 3
  in install-git [/usr/bin/jpm] on line 634, column 3
  in install-git [/usr/bin/jpm] (tailcall) on line 625, column 21