🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3709

Bug#1154599: ruby-crack: FTBFS: REXML::ParseException: Malformed XML: No root element

#3709
From: Santiago Vila
Date: Fri, 20 Nov 2026 18:00
62 lines
3995 bytes
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
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O1B3Y-d7wF-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1154599: ruby-crack: FTBFS: REXML::ParseException: Malformed XML: No root element
Date: Fri, 20 Nov 2026 19:00:02 +0100
Message-ID: <O1B3Y-d7wF-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Nov 20 17:53:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1154599@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, pkg-ruby-extras-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1154599
X-Debian-Pr-Package: src:ruby-crack
X-Debian-Pr-Keywords: ftbfs trixie
X-Debian-Pr-Source: ruby-crack
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838984
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 62
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 20 Nov 2026 17:50:56 +0000
X-Original-Message-ID: <E1xUSlE-0041dL-0M@paradis.debian.org>