Package Details: janet-lang 1.36.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, jpm
Submitter: GrayJack
Maintainer: psagers
Last Packager: psagers
Votes: 15
Popularity: 0.22
First Submitted: 2019-02-24 02:32 (UTC)
Last Updated: 2024-09-07 22:40 (UTC)

Dependencies (2)

Required by (9)

Sources (3)

Latest Comments

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

quexxon commented on 2020-07-22 13:38 (UTC)

@GrayJack adding -fPIC solves the issue for me. Thanks!

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?