wmoxam / crystal-openbsd-port

Crystal-lang for OpenBSD

Home Page:http://wmoxam.com/crystal-openbsd.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash BUILD_DEPENDS

jcs opened this issue · comments

I'm too lazy to make a pull request, but the port needs an added BUILD_DEPENDS of shells/bash.

cd /usr/ports/pobj/crystal-0.24.2/crystal-0.24.2 && gmake deps && gmake release=1  CC=cc CRYSTAL_CONFIG_PATH="lib:/usr/local/lib/crystal"
gmake: bash: Command not found
Makefile:54: *** Could not locate llvm-config, make sure it is installed and in your PATH, or set LLVM_CONFIG.  Stop.
*** Error 2 in . (Makefile:60 'do-build')

Are you planning on submitting this to ports@ any time soon?

Looks like Crystal is broken on OpenBSD-current due to the MAP_STACK changes:

Using compiled compiler at `.build/crystal'
Invalid memory access (signal 11) at address 0x643523577c0
[0x64352fc8106] __crystal_sigfault_handler +13032486
[0x6435235a52b] __crystal_sigfault_handler +75
[0x64352fc8730] sigfault_handler +48
gmake: *** [Makefile:118: .build/crystal] Error 11
Jun 22 20:11:54 frob /bsd: [  9235.4737] trap [crystal]86165/215832 type 262: sp 6457c991ff8 not inside 7f7ffdff1000-7f7fffff1000

Go and some other ports needed updates for this, I'm guessing Crystal will too.