Package Details: crystalline 0.12.2-3

Git Clone URL: https://aur.archlinux.org/crystalline.git (read-only, click to copy)
Package Base: crystalline
Description: A Language Server Protocol implementation for Crystal.
Upstream URL: https://github.com/elbywan/crystalline/
Licenses: MIT
Submitter: hugo
Maintainer: jonas-w
Last Packager: jonas-w
Votes: 0
Popularity: 0.000000
First Submitted: 2020-12-08 22:06 (UTC)
Last Updated: 2024-02-05 17:30 (UTC)

Latest Comments

1 2 Next › Last »

hugo commented on 2023-10-02 14:26 (UTC)

It now works, thanks very much!

jonas-w commented on 2023-09-27 15:47 (UTC)

@hugo sorry, should've used the stable source tarball (for crystal-lang/crystal) from the beginning and not the master branch. Should now work again.

Mind trying again?

Thanks

hugo commented on 2023-09-27 14:12 (UTC)

The system was updated.

$ crystal --version
Crystal 1.9.2 (2023-08-24)

LLVM: 16.0.6
Default target: x86_64-pc-linux-gnu

hugo commented on 2023-09-27 14:11 (UTC)

It failed to compile here:

==> Making package: crystalline 0.10.0-1 (Wed 27 Sep 2023 11:10:36 AM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating crystal git repo...
  -> Found crystalline-0.10.0.tar.gz
==> Validating source files with sha256sums...
    crystal ... Skipped
    crystalline-0.10.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of crystal git repo...
Cloning into 'crystal'...
done.
  -> Extracting crystalline-0.10.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: crystalline 0.10.0-1 (Wed 27 Sep 2023 11:10:38 AM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Resolving dependencies
Fetching https://github.com/elbywan/crystal-lsp.git
Fetching https://github.com/hugopl/version_from_shard.git
Fetching https://github.com/samueleaton/sentry.git
Fetching https://github.com/spider-gazelle/priority-queue.git
Fetching https://github.com/spider-gazelle/bisect.git
Installing lsp (0.1.2)
Installing version_from_shard (1.2.5)
Installing bisect (1.2.1)
Installing priority-queue (1.0.1)
Installing sentry (0.3.2 at e448ce8)
Building: crystalline
Error target crystalline failed to compile:
Showing last frame. Use --error-trace for full trace.

In /home/hugo/.cache/yay/crystalline/src/crystal/src/compiler/crystal/compiler.cr:147:35

 147 | property dependency_printer : DependencyPrinter? = nil
                                     ^----------------
Error: undefined constant DependencyPrinter

==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: crystalline-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
crystalline - exit status 4

hugo commented on 2023-09-27 13:53 (UTC)

Yes, it is. I was maintaining this package only when it had no compilation problems and was a matter of update the package version number on PKGBUILD, run ./update_pkg then commit. I don't have time to investigate compilation issues on this.

tl;dr; I'm glad someone adopted this.

jonas-w commented on 2023-09-27 00:39 (UTC)

I applied this hack from this comment: https://github.com/crystal-lang/crystal/issues/12896#issuecomment-1371482597

It worked flawlessly for me, I hope it was okay to adopt this package and push this change

hugo commented on 2023-07-13 19:36 (UTC)

Same problem persist on 0.10.0.

I filled a bug report upstream: https://github.com/elbywan/crystalline/issues/70

hugo commented on 2023-06-13 18:56 (UTC)

I'm still not able to build v0.9.0

Error target crystalline failed to compile:     
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x2b): undefined reference to `llvm_ext.cc.c4a0b00d'
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x34): undefined reference to `llvm_ext.cc.c4a0b00d'
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x4f): undefined reference to `llvm_ext.cc.c4a0b00d'
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x56): undefined reference to `llvm_ext.cc.c4a0b00d'
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x5e): undefined reference to `llvm_ext.cc.c4a0b00d'
/usr/bin/ld: /tmp/ccUex5uz.ltrans0.ltrans.o:(.debug_info+0x79): more undefined references to `llvm_ext.cc.c4a0b00d' follow
collect2: error: ld returned 1 exit status
Error: execution of command failed with exit status 1: cc "${@}" -o /home/hugo/src/pet/aur/crystalline-package/src/crystalline-0.9.0/bin/crystalline  -rdynamic -L/usr/bin/../lib/crystal -lyaml  /usr/lib/crystal/llvm/ext/llvm_ext.o `"/usr/bin/llvm-config" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre2-8 -lm -lgc -lpthread -levent_pthreads -levent  -levent  -lrt -lpthread -ldl

==> ERROR: A failure occurred in build().
    Aborting...

Maybe is because I have llvm 14 and 15 installed here, not sure yet.

hugo commented on 2023-01-16 14:26 (UTC)

Waiting crystal 1.7.0 lands on community repo to bump this to 0.8.0.

<deleted-account> commented on 2022-06-05 19:36 (UTC)

My guess is that crystal package itself should be built with latest llvm or gcc so it will generate object file with latest lto format. It looks like crystal an crystalline should be built with the same toolchain.