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

« First ‹ Previous 1 2

hugo commented on 2022-06-03 13:55 (UTC)

I tried to rebuild the package and I'm getting the same error, interesting... because I built this at 0.6 release time and it worked.

hugo commented on 2022-06-03 13:41 (UTC)

What's crystal version are you using? Maybe I need to update the required crystal version for this package.

<deleted-account> commented on 2022-06-03 10:09 (UTC)

Got an error. What am i doing wrong?

==> Starting build()...
Resolving dependencies
Fetching https://github.com/hugopl/version_from_shard.git
Fetching https://github.com/spider-gazelle/priority-queue.git
Fetching https://github.com/samueleaton/sentry.git
Fetching https://github.com/spider-gazelle/bisect.git
Installing version_from_shard (1.2.4)
Installing bisect (1.2.1)
Installing priority-queue (1.0.1)
Installing sentry (0.3.2 at cd86128)
Building: crystalline
Error target crystalline failed to compile:
lto1: fatal error: bytecode stream in file ‘/usr/lib/crystal/llvm/ext/llvm_ext.o’ generated with LTO version 11.0 instead of the expected 12.0
compilation terminated.
lto-wrapper: fatal error: cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /home/tormoz/.cache/pikaur/build/crystalline/src/crystalline-0.6.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++ -lpcre -lm -lgc -lpthread -levent_pthreads -levent  -levent  -lrt -lpthread -ldl`

hugo commented on 2022-01-24 21:16 (UTC)

Update the crystal compiler and you will be able to use the newer crystalline

https://archlinux.org/packages/community/x86_64/crystal/

sardaukar commented on 2022-01-11 09:46 (UTC)

0.5.0 fails to build:

could not satisfy dependencies:
- unable to satisfy dependency 'crystal>=1.3.0' required by crystalline

sardaukar commented on 2022-01-04 08:43 (UTC)

Worked for me now, thanks!

sardaukar commented on 2022-01-04 08:38 (UTC)

Crystal 1.2.2 [6529d725a] (2021-11-10)

LLVM: 10.0.0
Default target: x86_64-unknown-linux-gnu

Installed using asdf

hugo commented on 2022-01-04 01:34 (UTC)

What crystal version are you using? I updated the dependencies to match the ones I tested here and worked.

sardaukar commented on 2022-01-03 09:54 (UTC) (edited on 2022-01-03 09:54 (UTC) by sardaukar)

==> Retrieving sources...
  -> Downloading crystalline-0.4.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   127  100   127    0     0    362      0 --:--:-- --:--:-- --:--:--   361

100  867k    0  867k    0     0   835k      0 --:--:--  0:00:01 --:--:--  835k
100 4395k    0 4395k    0     0  3442k      0 --:--:--  0:00:01 --:--:-- 14.4M
==> Validating source files with sha256sums...
    crystalline-0.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting crystalline-0.4.0.tar.gz with bsdtar
==> Starting build()...
Resolving dependencies
Fetching https://github.com/hugopl/version_from_shard.git
Fetching https://github.com/spider-gazelle/priority-queue.git
Fetching https://github.com/spider-gazelle/bisect.git
Fetching https://github.com/samueleaton/sentry.git
Installing version_from_shard (1.2.4)
Installing bisect (1.2.1)
Installing priority-queue (1.0.1)
Installing sentry (0.3.2 at cd86128)
Building: crystalline
[1/13] Parse                             
[1/13] Parse                             
[2/13] Semantic (top level)              
[2/13] Semantic (top level)              
[3/13] Semantic (new)                    
[3/13] Semantic (new)                    
[4/13] Semantic (type declarations)      
[4/13] Semantic (type declarations)      
[5/13] Semantic (abstract def check)     
[5/13] Semantic (abstract def check)     
[6/13] Semantic (ivars initializers)     
[6/13] Semantic (ivars initializers)     
[7/13] Semantic (cvars initializers)     
[7/13] Semantic (cvars initializers)     
[8/13] Semantic (main)                   
[8/13] Semantic (main)                   
[9/13] Semantic (cleanup)                
[9/13] Semantic (cleanup)                
[10/13] Semantic (recursive struct check) 
[10/13] Semantic (recursive struct check) 
[11/13] Codegen (crystal)                 
[11/13] Codegen (crystal)                 
[12/13] Codegen (bc+obj)                  
[12/13] [0/1] Codegen (bc+obj)                  
[12/13] [0/1] Codegen (bc+obj)                  
Error target crystalline failed to compile:
Error getting current directory: './': No such file or directory (File::NotFoundError)
  from crystal in '??'
  from crystal in '??'
  from crystal in '??'
  from crystal in '??'
  from crystal in '??'
  from crystal in '??'
  from crystal in '__crystal_main'
  from crystal in 'main'
  from /usr/lib/libc.so.6 in '__libc_start_main'
  from crystal in '_start'
  from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

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