Your message dated Sat, 11 Apr 2026 19:18:54 +0000
with message-id <[email protected]>
and subject line Bug#1104697: fixed in ruby-dbf 5.2.0-1
has caused the Debian Bug report #1104697,
regarding ruby-dbf: FTBFS caused by failure/Error: 
expect(record.name.encode('UTF-8').unpack1('H4')).to eq 'd0b0'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1104697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104697
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-dbf
Version: 4.3.2-1
Severity: serious
Justification: FTBFS
Tags: ftbfs patch
User: [email protected]
Usertags: ruby3.3

I've been testing a patch to fix this bug so that CI tests can run
successfully again and make it reproducible again. The patch is quite
simple and just adds "Encoding.default_external = "UTF-8"" to set a
unicode that was set in "failure/Error:
expect(record.name.encode('UTF-8').unpack1('H4')).to eq 'd0b0'".

RUBYLIB=. 
GEM_PATH=/build/reproducible-path/ruby-dbf-4.3.2/debian/ruby-dbf/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-dbf-4.3.2/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

Randomized with seed 24365
...........................................................................................................................................................................................FF..............................

Failures:

  1) DBF::Record column data for table overriding specified in dbf
encoding transcodes from manually specified encoding to default system
encoding
     Failure/Error:
expect(record.name.encode('UTF-8').unpack1('H4')).to eq 'd180'

       expected: #<Encoding:UTF-8> "d180"
            got: #<Encoding:US-ASCII> "3f3f"

       (compared using ==)
     # ./spec/dbf/record_spec.rb:99:in `block (4 levels) in <top (required)>'

  2) DBF::Record column data for table using specified in dbf encoding
encodes to default system encoding
     Failure/Error:
expect(record.name.encode('UTF-8').unpack1('H4')).to eq 'd0b0'

       expected: #<Encoding:UTF-8> "d0b0"
            got: #<Encoding:US-ASCII> "3f3f"

       (compared using ==)
     # ./spec/dbf/record_spec.rb:87:in `block (4 levels) in <top (required)>'

Finished in 0.51922 seconds (files took 0.23877 seconds to load)
219 examples, 2 failures

Failed examples:

rspec ./spec/dbf/record_spec.rb:95 # DBF::Record column data for table
overriding specified in dbf encoding transcodes from manually
specified encoding to default system encoding
rspec ./spec/dbf/record_spec.rb:83 # DBF::Record column data for table
using specified in dbf encoding encodes to default system encoding

Randomized with seed 24365

View full logs:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-dbf.html
https://salsa.debian.org/leandrocunha/ruby-dbf/-/pipelines/861054
Description: Set default external encoding as UTF-8
 This makes the package reproducible in reproducible
 builds and even fixes failures in CI tests.
Forwarded: https://github.com/infused/dbf/pull/77
Author: Cédric Boutillier <[email protected]>
Last-Update: 2025-05-04

---
 spec/spec_helper.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9cabf2d..8897f89 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,6 +5,8 @@ rescue LoadError
   # ignore
 end
 
+Encoding.default_external = "UTF-8"
+
 require 'dbf'
 require 'yaml'
 require 'rspec'

--- End Message ---
--- Begin Message ---
Source: ruby-dbf
Source-Version: 5.2.0-1
Done: Simon Quigley <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ruby-dbf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <[email protected]> (supplier of updated ruby-dbf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Apr 2026 13:56:12 -0500
Source: ruby-dbf
Architecture: source
Version: 5.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<[email protected]>
Changed-By: Simon Quigley <[email protected]>
Closes: 1104697
Changes:
 ruby-dbf (5.2.0-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Leandro Cunha ]
   * d/p/0001-default-external-encoding: Resurrect the patch for fix FTBFS
     - Set default external encoding to UTF-8 (Closes: #1104697)
   * d/control: Fix Lintian report: redundant-rules-requires-root-no-field
 .
   [ Simon Quigley ]
   * Upgrade the watch file to version 5.
   * New upstream release.
   * Drop patches and tests, since GitHub tags are unavailable and the gem
     does not include the tests.
   * Refresh the copyright file.
   * Update Standards-Version to 4.7.4.
Checksums-Sha1:
 32cd61ff3f2ff28d17e204cbbecf3b21fd3c561d 1947 ruby-dbf_5.2.0-1.dsc
 bd2fba57185b10fdc672bba7ba74855026caf8fd 18400 ruby-dbf_5.2.0.orig.tar.gz
 2f5e95e97a829ac4d232f2d7c8ae00a6c142c8d1 4184 ruby-dbf_5.2.0-1.debian.tar.xz
 8944fdf48c2d0322f1b604b4c56c0eb6f069b183 7761 ruby-dbf_5.2.0-1_source.buildinfo
Checksums-Sha256:
 06de689f9ec510a0722e1662e96f49c63d06edd24bb063ab3ca3ffe2174d3b6c 1947 
ruby-dbf_5.2.0-1.dsc
 b4a017e214981f903941b653118212bf4c75da9f3730915c8041b101c4db7e9d 18400 
ruby-dbf_5.2.0.orig.tar.gz
 63497bf4b7ad007e405852d130aedea4302a9f4bc5ca50df056f262517fcc3df 4184 
ruby-dbf_5.2.0-1.debian.tar.xz
 fef545c3aca3e370828be9f720dab8c0dd9e59d56e1c829921d807df04b02876 7761 
ruby-dbf_5.2.0-1_source.buildinfo
Files:
 112fd1d2a56ff04626adf161baf6fe07 1947 ruby optional ruby-dbf_5.2.0-1.dsc
 4e69e26b3e2ab618bcb301746b563a21 18400 ruby optional ruby-dbf_5.2.0.orig.tar.gz
 b61f8c4df69a42cc8815ff0494985722 4184 ruby optional 
ruby-dbf_5.2.0-1.debian.tar.xz
 8ae2b06b96708e4b3d0e156c37a18982 7761 ruby optional 
ruby-dbf_5.2.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmnamXwACgkQ4n8s+EWM
L6S6nw//b5D25QrHfmsJlUHyKrXaMI9ZiEMXL6Uvh4YlHh1kxDVLOrB47A8T/P1o
1y+Dgj9hGahgR85wPJEmwnqFmmlWCWQxuJkHD8N5EpgyYy0EYiwUlDYZ2AJ8w6z6
elKS6QjcrYPRN9hyP9ZGZPJPXN4RSgnN4ZurESTFN6M15o4JOLggOHIxoXBgqbhc
ISUZhKMhfwNhGeTMk3Cl+7YLGMe+zwqJXK8C70EOslXa/4pALllRNKYGuGhKhFdR
3QfaRtzPKQ50j8X6MSCDQbGU3iuhMQYI6Og8HkulEMHl3iKiiu5gShO0cXr9Wo4K
I50slvH+PiRYAHtAP8ZEeZzl+Wbfu2V2iaBTaC/9Q2Dvc+ZFSb2CgruxCH+VkIzO
unMZKCeWnszewtWeXwG8I/6iGJpcrmV3oxMNrX7+WxET/GQhru5oQOYDhp2C71t1
CcgPaPfgwQxPtlaH6LDnHgy8Y3dRjqM2HAxH1K6ScuzvTVeVZR23E3vMygLWDVcC
8V61hoPk5rcLFAFriXQXyZfymLlqvV1xXzaLfvuTYB+6y+UVprJxhHnRV4qkxXYO
6g5zWtjJxeSmVfE/QJTlgXdZja0DomrrMI2BWo5GRiKnca0K32t0OCwkZBFg5b46
ZzrV/AAkV/9l6ywpaIR7yVKVrlIrxOSY3ac1JUjIzbVGc/FlkpU=
=mNAO
-----END PGP SIGNATURE-----

Attachment: pgp3YcvBBqN1A.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to