[DRE-maint] Bug#1154599: ruby-crack: FTBFS: REXML::ParseException: Malformed XML: No root element
Santiago Vila
sanvila at debian.org
Fri Nov 20 17:50:56 GMT 2026
Package: src:ruby-crack
Version: 0.4.4-4
Severity: serious
Control: fixed -1 1.0.1-1
Tags: ftbfs trixie
Dear maintainer:
During a rebuild of all packages in trixie + trixie-proposed-updates,
this package failed to build.
[ Note: The bug is marked as fixed with the version in forky/sid, but
packages in trixie must still build in trixie ].
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/trixie/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-crack, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
lib/crack/xml.rb:235:in `parse'
test/xml_test.rb:485:in `block (2 levels) in <top (required)>'
2) Error:
Crack::XML#test_0035_handle an xml string containing a single space:
REXML::ParseException: Malformed XML: No root element
Line: 1
Position: 1
Last 80 unconsumed characters:
/usr/lib/ruby/gems/3.3.0/gems/rexml-3.4.4/lib/rexml/parsers/baseparser.rb:271:in `pull_event'
/usr/lib/ruby/gems/3.3.0/gems/rexml-3.4.4/lib/rexml/parsers/baseparser.rb:249:in `pull'
lib/crack/xml.rb:203:in `parse'
lib/crack/xml.rb:235:in `parse'
test/xml_test.rb:490:in `block (2 levels) in <top (required)>'
92 runs, 160 assertions, 0 failures, 2 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/hash_test.rb" "test/json_test.rb" "test/parser_test.rb" "test/string_test.rb" "test/xml_test.rb" ]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-crack returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list