🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4994

Bug#1154350: ruby-curb: FTBFS: => 217: assert_equal 'permanent_file=84; session_file=840; permanent=84; session=840; p...

#4994
From: Santiago Vila
Date: Wed, 18 Nov 2026 18:10
88 lines
6411 bytes
Package: src:ruby-curb
Version: 1.4.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

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/202611/

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-curb, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
Failure: test_setopt_cookielist_command_reload(TestCurbCurlEasyCookielist)
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:217:in `block in test_setopt_cookielist_command_reload'
     214:         assert_equal expected_cookielist, easy.cookielist
     215:         easy.perform
     216:         # Be careful, duplicates are not removed
  => 217:         assert_equal 'permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=420', easy.body_str
     218:       ensure
     219:         File.unlink(cookiefile) if File.exist?(cookiefile)
     220:       end
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:275:in `with_permanent_and_session_cookies'
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:185:in `test_setopt_cookielist_command_reload'
<"permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=420">(UTF-8) expected but was
<"permanent_file=84; session_file=840; permanent=84; permanent=42; session=840; session=420">(ASCII-8BIT)

diff:
? permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=840; session=420
  
? Encoding: UTF  -8   
?           ASCII  BIT
?           ???  +++
===============================================================================
O
===============================================================================
Omission: set CURB_LIVE_NETWORK_TESTS=1 to run live network security tests [test_live_public_redirect_to_private_peer_is_blocked_by_resolved_peer_policy(TestCurbCurlNetworkPolicy)]
/<<PKGBUILDDIR>>/tests/tc_curl_network_policy.rb:1359:in `live_network_required!'
===============================================================================<internal:gc>:286: warning: double_heap is deprecated, please use expand_heap instead
<internal:gc>:286: warning: double_heap is deprecated, please use expand_heap instead
<internal:gc>:286: warning: double_heap is deprecated, please use expand_heap instead
<internal:gc>:286: warning: double_heap is deprecated, please use expand_heap instead

/<<PKGBUILDDIR>>/tests/tc_ractor.rb:32: warning: Ractor is experimental, and the behavior may change in future versions of Ruby! Also there are many implementation issues.
Finished in 30.750183934 seconds.
-------------------------------------------------------------------------------
567 tests, 3076 assertions, 1 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
99.8233% passed
-------------------------------------------------------------------------------
18.44 tests/s, 100.03 assertions/s
rake aborted!
Command failed with status (1)
/usr/share/rubygems-integration/all/gems/rake-13.4.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => unittests
(See full trace by running task with --trace)
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:88:in `test'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `test'
	from /usr/bin/dh_ruby:91:in `<main>'
dh_auto_test: error: dh_ruby --test returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O0SgB-cJsU-129@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.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!news-lax.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.dist
Subject: Bug#1154350: ruby-curb: FTBFS:   => 217:         assert_equal 'permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=420', easy.body_str
Date: Wed, 18 Nov 2026 19:10:05 +0100
Message-ID: <O0SgB-cJsU-129@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 18 18:02:44 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1154350@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 1154350
X-Debian-Pr-Package: src:ruby-curb
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: ruby-curb
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003358
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 88
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 18 Nov 2026 18:00:58 +0000
X-Original-Message-ID: <E1xTjxq-001yfO-11@paradis.debian.org>