common/crystal: LLVM ext object file
Summary
The crystal
package doesn't include the LLVM ext object file, which is deleted after all other files are installed:
rm "$pkgdir$_coredir"/llvm/ext/llvm_ext.o
I'm unsure what exactly it does, but when I tried building Crystalline, it errored out due to the lack of this file:
~/fork/crystalline> shards build crystalline --release --no-debug --progress -Dpreview_mt
Dependencies are satisfied
Building: crystalline
Error target crystalline failed to compile:
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find /usr/lib/crystal/core/llvm/ext/llvm_ext.o: No such file or directory
collect2: error: ld returned 1 exit status
Error: execution of command failed with exit status 1: cc "${@}" -o /home/kaathewise/fork/crystalline/bin/crystalline -rdynamic -L/usr/bin/../lib/crystal -lyaml /usr/lib/crystal/core/llvm/ext/llvm_ext.o `"/usr/bin/llvm-config" --libs --system-libs --ldflags
So, I wanted to ask why this file isn't packaged and if it can be included as a sub-package to crystal
.