Public bug reported:

Imported from Debian bug http://bugs.debian.org/1107235:

Package: src:crystal
Version:  1.14.0+dfsg-1
Tags: ftbfs sid forky
User: [email protected]
Usertags: libxml2.14

[this bug is NOT targeted to the upcoming trixie release]

seems to be fixed in 1.16.3

[...]
make release=1 verbose=1 progress=1 threads=4 
CRYSTAL_CONFIG_PATH="lib:/usr/lib/crystal/lib" 
CRYSTAL_CACHE_DIR="/tmp/crystal" interpreter=1 std_spec
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Using /usr/bin/llvm-config-19 [version=19.1.7]
./bin/crystal build -D strict_multi_assign -D preview_overload_order 
--release --progress --threads 4 --link-flags="-Wl,-Bsymbolic-functions 
-flto=auto -ffat-lto-objects -Wl,-z,relro"  --exclude-warnings spec/std 
--exclude-warnings spec/compiler --exclude-warnings spec/primitives -o 
.build/std_spec spec/std_spec.cr
Using compiled compiler at .build/crystal
/usr/bin/ld: _main.o3.o: in function `to_xml':
/<<PKGBUILDDIR>>/src/xml.cr:110:(.text+0xf0eb0f): undefined reference to 
`xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:125:(.text+0xf0eb2f): undefined 
reference to `xmlTreeIndentString'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf0eb88): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf0ebd0): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:110:(.text+0xf14083): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:125:(.text+0xf140a3): undefined 
reference to `xmlTreeIndentString'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf140fa): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf14146): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:110:(.text+0xf144bf): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:125:(.text+0xf144df): undefined 
reference to `xmlTreeIndentString'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf14538): undefined 
reference to `xmlIndentTreeOutput'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/xml.cr:117:(.text+0xf14580): undefined 
reference to `xmlIndentTreeOutput'
collect2: error: ld returned 1 exit status
Error: execution of command failed with exit status 1: cc 
"${@}" -o /<<PKGBUILDDIR>>/.build/std_spec -Wl,-Bsymbolic-functions 
-flto=auto -ffat-lto-objects -Wl,-z,relro -rdynamic 
-L/usr/bin/../lib/crystal `/usr/bin/llvm-config-19 --libs --system-libs 
--ldflags 2> /dev/null` -lstdc++ -lxml2  -lz `command -v pkg-config > 
/dev/null && pkg-config --libs --silence-errors libssl || printf %s 
'-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config 
--libs --silence-errors libcrypto || printf %s '-lcrypto'` -lyaml  -lgmp 
  -lpcre2-8  -lm -lgc -lpthread -ldl  -lpthread -levent  -lrt -lpthread 
-ldl
[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 (restrictions augmenter)
[6/13] Semantic (restrictions augmenter)
[7/13] Semantic (ivars initializers)
[7/13] Semantic (ivars initializers)
[8/13] Semantic (cvars initializers)
[8/13] Semantic (cvars initializers)
[9/13] Semantic (main)
[9/13] Semantic (main)
[10/13] Semantic (cleanup)
[10/13] Semantic (cleanup)
[11/13] Semantic (recursive struct check)
[11/13] Semantic (recursive struct check)
[12/13] Codegen (crystal)
[12/13] Codegen (crystal)
[13/13] Codegen (bc+obj)
[13/13] [0/1] Codegen (bc+obj)
[13/13] [1/1] Codegen (bc+obj)
[13/13] [1/1] Codegen (bc+obj)
[14/13] Codegen (linking)
make[2]: *** [Makefile:206: .build/std_spec] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:51: override_dh_auto_test] Error 2

** Affects: crystal (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: crystal (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1107235
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107235

** Changed in: crystal (Debian)
 Remote watch: None => Debian Bug tracker #1107235

** Tags added: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121362

Title:
  crystal ftbfs with libxml 2.14.x from experimental

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crystal/+bug/2121362/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to