Package Details: janet-lang 1.32.1-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, jpm
Submitter: GrayJack
Maintainer: GrayJack (Schnouki, tionis)
Last Packager: Schnouki
Votes: 14
Popularity: 0.076777
First Submitted: 2019-02-24 02:32 (UTC)
Last Updated: 2023-11-14 12:16 (UTC)

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

katafrakt commented on 2020-07-21 10:25 (UTC)

@GrayJack adding !buildflags to options helped. I don't recall making any changes to my /etc/makepkg.conf, so I think I have the default one.

GrayJack commented on 2020-07-21 03:32 (UTC)

@katafrakt Does adding -fPIC solves the issue?

katafrakt commented on 2020-07-20 20:24 (UTC)

I have problems building 1.11.0-1 with error:

cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -o build/janet build/janet.o build/shell.o -lm -lpthread -lrt -ldl
cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=c99 -Wall -Wextra -Isrc/include -Isrc/conf -fvisibility=hidden -Wl,-soname,libjanet.so.1.10 -shared -o build/libjanet.so build/janet.o build/shell.o -lm -lpthread -lrt -ldl
/usr/bin/ld: build/janet.o: relocation R_X86_64_TPOFF32 against hidden symbol `janet_vm_traversal' can not be used when making a shared object
/usr/bin/ld: build/shell.o: relocation R_X86_64_TPOFF32 against `gbl_complete_env' can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
make: *** [Makefile:179: build/libjanet.so] Error 1

archery commented on 2020-05-22 21:00 (UTC)

@GrayJack, Thanks!

GrayJack commented on 2020-05-20 02:51 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

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

subsetpark commented on 2020-05-15 21:49 (UTC)

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.