[DRE-maint] Bug#1127134: ruby-cookiejar: will FTBFS during forky support period
Santiago Vila
sanvila at debian.org
Fri Feb 6 12:02:59 GMT 2026
Package: src:ruby-cookiejar
Version: 0.3.4-1
Severity: important
Tags: ftbfs forky sid
User: debian-qa at lists.debian.org
Usertags: ftbfs-during-forky-support-period
Dear maintainer:
During a rebuild of all packages in unstable with the system clock set
at 2030-08-09 (estimated to be three years after the release date of forky),
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/ftbfs-future/
About the archive rebuild: This is an effort to keep forky free from
FTBFS bugs during its lifetime as a supported distribution, as
explained here for trixie:
https://lists.debian.org/debian-devel/2024/05/msg00414.html
This category of bugs is considered to be RC for forky, but I will
wait two months from now before raising to serious to give people a
little bit more time to fix them.
The build was made 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-cookiejar, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
dh_autoreconf_clean -O--buildsystem=ruby
dh_clean -O--buildsystem=ruby
debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_update_autotools_config -O--buildsystem=ruby
dh_autoreconf -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -O--buildsystem=ruby
dh_ruby --build
dh_auto_test -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
dh_auto_install --destdir=debian/ruby-cookiejar/ -O--buildsystem=ruby
dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-cookiejar
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-cookiejar: Installing files and building extensions for ruby3.3 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20300809-38247-hlnel6/gemspec
WARNING: open-ended dependency on rake (>= 10.0, development) is not recommended
if rake is semantically versioned, use:
add_development_dependency "rake", "~> 10.0"
WARNING: open-ended dependency on bundler (>= 0.9.3, development) is not recommended
if bundler is semantically versioned, use:
add_development_dependency "bundler", "~> 0.9", ">= 0.9.3"
WARNING: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute
WARNING: See https://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: cookiejar
Version: 0.3.4
File: cookiejar-0.3.4.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-cookiejar/usr/share/rubygems-integration/all /tmp/d20300809-38247-hlnel6/cookiejar-0.3.4.gem
/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all/gems/cookiejar-0.3.4/lib/cookiejar.rb
/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all/gems/cookiejar-0.3.4/lib/cookiejar/cookie.rb
/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all/gems/cookiejar-0.3.4/lib/cookiejar/cookie_validation.rb
/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all/gems/cookiejar-0.3.4/lib/cookiejar/jar.rb
/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all/gems/cookiejar-0.3.4/lib/cookiejar/version.rb
Successfully installed cookiejar-0.3.4
1 gem installed
cd debian/ruby-cookiejar/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/cookiejar-0.3.4
rm -f
chmod 644 lib/cookiejar/cookie.rb lib/cookiejar/cookie_validation.rb lib/cookiejar/jar.rb lib/cookiejar/version.rb lib/cookiejar.rb
find lib/ -type d -empty -delete
cd -
cd -
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby3.3 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"cookiejar\"
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rake â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-cookiejar/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
CookieJar::Cookie
#from_set_cookie
should handle cookies from the netscape spec
should give back the input names and values
should normalize domain names
should accept non-normalized .local
should accept secure cookies
#from_set_cookie2
should give back the input names and values
should normalize domain names
should accept non-normalized .local
should accept secure cookies
should fail on unquoted paths
should accept quoted values
should accept poorly chosen names
should accept quoted parameter values
should honor the discard and max-age parameters
should handle quotable quotes
should handle quotable apostrophes
#decoded_value
should leave normal values alone
should attempt to unencode quoted values
#to_s
should handle a simple cookie
should report an explicit domain
should return specified ports
should handle specified paths
should omit $Version header when asked
#should_send?
should not send if ports do not match
.to_json
should serialize a cookie to JSON
.json_create
should deserialize JSON to a cookie
should automatically deserialize to a cookie
CookieJar::CookieValidation
#validate_cookie
should fail if version unset
should fail if the path is more specific
should fail if the path is different than the request
should fail if the domain has no dots
should fail for explicit localhost
should fail for mismatched domains
should fail for domains more than one level up
should fail for setting subdomain cookies
should handle a normal implicit internet cookie
should handle a normal implicit localhost cookie
should handle an implicit IP address cookie
should handle an explicit domain on an internet site
should handle setting a cookie explicitly on a superdomain
should handle explicitly setting a cookie
should handle setting a cookie on a higher path
#cookie_base_path
should leave '/' alone
should strip off everything after the last '/'
should handle query parameters and fragments with slashes
should handle URI objects
should preserve case
#determine_cookie_path
should use the requested path when none is specified for the cookie
should handle URI objects
should handle Cookie objects
should ignore the request when a path is specified
#compute_search_domains
should handle subdomains
should handle root domains
should handle hexadecimal TLDs
should handle IP addresses
should handle local addresses
#determine_cookie_domain
should add a dot to the front of domains
should not add a second dot if one present
should handle Cookie objects
should handle URI objects
should use an exact hostname when no domain specified
should leave IPv4 addresses alone
should leave IPv6 addresses alone
#effective_host
should leave proper domains the same
should handle a URI object
should add a local suffix on unqualified hosts
should leave IPv4 addresses alone
should leave IPv6 addresses alone
should lowercase addresses
#match_domains
should handle exact matches
should handle matching a superdomain
should not match superdomains, or illegal domains
should not match domains with and without a dot suffix together
#hostname_reach
should find the next highest subdomain
should handle domains with suffixed dots
should return nil for a root domain
should return 'local' for a local domain
should handle mixed-case '.local'
should return nil for an IPv4 address
should return nil for IPv6 addresses
#parse_set_cookie
should max out at 2038 on 32bit systems
CookieJar::Jar
.setCookie
should allow me to set a cookie
should allow me to set multiple cookies
should allow me to set multiple cookies in 1 header
.get_cookies
should let me read back cookies which are set
should let me read back a multiple cookies from 1 header
should return cookies longest path first
should not return expired cookies
.get_cookie_headers
should return cookie headers
should handle a version 1 cookie
.add_cookie
should let me add a pre-existing cookie
.to_a
should return me an array of all cookie objects
.expire_cookies
should expire cookies which are no longer valid (FAILED - 1)
should let me expire all session cookies (FAILED - 2)
#set_cookies_from_headers
should handle a Set-Cookie header
should handle a set-cookie header
should handle multiple Set-Cookie headers
should handle a Set-Cookie2 header
should handle a set-cookie2 header
should handle multiple Set-Cookie2 headers
should handle mixed distinct Set-Cookie and Set-Cookie2 headers
should handle overlapping Set-Cookie and Set-Cookie2 headers
should silently drop invalid cookies
.to_json
should serialize cookies to JSON
.json_create
should deserialize a JSON array to a jar (FAILED - 3)
should deserialize a JSON hash to a jar (FAILED - 4)
should automatically deserialize to a jar (FAILED - 5)
Failures:
1) CookieJar::Jar.expire_cookies should expire cookies which are no longer valid
Failure/Error: expect(jar.to_a).to have(4).items
expected 4 items, got 3
# ./spec/jar_spec.rb:108:in `block (3 levels) in <top (required)>'
2) CookieJar::Jar.expire_cookies should let me expire all session cookies
Failure/Error: expect(jar.to_a).to have(1).items
expected 1 items, got 0
# ./spec/jar_spec.rb:120:in `block (3 levels) in <top (required)>'
3) CookieJar::Jar.json_create should deserialize a JSON array to a jar
Failure/Error: expect(jar.get_cookies('https://localhost/')).to have(1).items
expected 1 items, got 0
# ./spec/jar_spec.rb:211:in `block (3 levels) in <top (required)>'
4) CookieJar::Jar.json_create should deserialize a JSON hash to a jar
Failure/Error: expect(jar.get_cookies('https://localhost/')).to have(1).items
expected 1 items, got 0
# ./spec/jar_spec.rb:218:in `block (3 levels) in <top (required)>'
5) CookieJar::Jar.json_create should automatically deserialize to a jar
Failure/Error: expect(jar.get_cookies('https://localhost/')).to have(1).items
expected 1 items, got 0
# ./spec/jar_spec.rb:224:in `block (3 levels) in <top (required)>'
Finished in 0.02774 seconds (files took 0.09943 seconds to load)
107 examples, 5 failures
Failed examples:
rspec ./spec/jar_spec.rb:98 # CookieJar::Jar.expire_cookies should expire cookies which are no longer valid
rspec ./spec/jar_spec.rb:110 # CookieJar::Jar.expire_cookies should let me expire all session cookies
rspec ./spec/jar_spec.rb:206 # CookieJar::Jar.json_create should deserialize a JSON array to a jar
rspec ./spec/jar_spec.rb:213 # CookieJar::Jar.json_create should deserialize a JSON hash to a jar
rspec ./spec/jar_spec.rb:221 # CookieJar::Jar.json_create should automatically deserialize to a jar
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
/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:57:in `install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-cookiejar returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list