• Bug#1103218: ruby-roo: FTBFS: Failure/Error: expect(subject.instance_va

    From Santiago Vila@21:1/5 to All on Tue Apr 15 02:30:04 2025
    Package: src:ruby-roo
    Version: 2.10.0-2
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --buildsystem=ruby --with ruby
    dh_auto_clean -O--buildsystem=ruby
    dh_ruby --clean
    W: XS-Ruby-Versions is deprecated, and will be ignored
    dh_autoreconf_clean -O--buildsystem=ruby
    dh_clean -O--buildsystem=ruby
    debian/rules execute_after_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    rm -rf coverage/
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    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-roo/ -O--buildsystem=ruby
    dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-roo

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ ruby-roo: Installing files and building extensions for ruby3.3 │
    └──────────────────────────────────────────────────────────────────────────────┘

    /usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250414-1965626-q7kk3g/gemspec
    WARNING: open-ended dependency on rake (>= 0, development) is not recommended
    use a bounded requirement, such as "~> x.y"
    WARNING: open-ended dependency on matrix (>= 0, development) is not recommended
    use a bounded requirement, such as "~> x.y"
    WARNING: See https://guides.rubygems.org/specification-reference/ for help
    Successfully built RubyGem
    Name: roo
    Version: 2.10.0
    File: roo-2.10.0.gem
    /usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-roo/usr/share/rubygems-integration/all /tmp/d20250414-1965626-q7kk3g/roo-2.10.0.gem
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/base.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/constants.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/csv.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/errors.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/base.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/boolean.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/date.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/datetime.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/empty.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/number.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/string.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/cell/time.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/comments.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/coordinate.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/extractor.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/format.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/images.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/relationships.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/shared.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/shared_strings.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/sheet.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/sheet_doc.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/styles.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/excelx/workbook.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/font.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/formatters/base.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/formatters/csv.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/formatters/matrix.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/formatters/xml.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/formatters/yaml.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/helpers/default_attr_reader.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/helpers/weak_instance_cache.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/libre_office.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/link.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/open_office.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/spreadsheet.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/tempdir.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/utils.rb
    /<<PKGBUILDDIR>>/debian/ruby-roo/usr/share/rubygems-integration/all/gems/roo-2.10.0/lib/roo/version.rb
    Successfully installed roo-2.10.0
    1 gem installed
    cd debian/ruby-roo/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/roo-2.10.0
    rm -f
    chmod 644 lib/roo/base.rb lib/roo/constants.rb lib/roo/csv.r [too-long-redacted] b lib/roo/version.rb lib/roo.rb
    find lib/ -type d -empty -delete
    cd -
    cd -
    dh_installchangelogs -pruby-roo /<<PKGBUILDDIR>>/CHANGELOG.md upstream /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ Checking Rubygems dependency resolution on ruby3.3 │
    └──────────────────────────────────────────────────────────────────────────────┘

    RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-roo/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\ \"roo\"

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ Run tests for ruby3.3 from debian/ruby-tests.rake │
    └──────────────────────────────────────────────────────────────────────────────┘

    RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-roo/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

    Roo::Base
    #uri?
    should return true when passed a filename starting with http(s)://
    should return false when passed a filename which does not start with http(s)://
    should return false when passed non-String object such as Tempfile
    #set
    should not update cell when setting an invalid type
    #first_row
    should return the first row
    #last_row
    should return the last row
    #first_column
    should return the first column
    #first_column_as_letter
    should return the first column as a letter
    #last_column
    should return the last column
    #last_column_as_letter
    should return the last column as a letter
    #row
    should return the specified row
    should return the specified row if default_sheet is set by a string
    should return the specified row if default_sheet is set by an integer
    #row_with
    with a matching header row
    returns the row number
    without a matching header row
    raises an error
    returns missing headers
    #empty?
    should return true when empty
    #reload
    should return reinitialize the spreadsheet
    #each_with_pagename
    should return an enumerator with all the rows
    #each
    should return an enumerator with all the rows
    #default_sheet=
    should correctly set the default sheet if passed a string
    should correctly set the default sheet if passed an integer
    should correctly set the default sheet if passed an integer for the second sheet
    should raise an error if passed a sheet that does not exist as an integer
    should raise an error if passed a sheet that does not exist as a string
    #to_yaml
    should convert the spreadsheet to yaml
    #to_csv
    should convert the spreadsheet to csv
    should convert the spreadsheet to csv using the separator when is passed on the parameter

    Roo::CSV
    .new
    creates an instance
    .new with stream
    creates an instance
    #parse
    with headers: true
    doesn't blow up
    #parse_with_clean_option
    with clean: true
    doesn't blow up
    #csv_options
    when created with the csv_options option
    returns the csv options
    when created without the csv_options option
    returns a hash
    #set_value
    returns the cell value
    #set_type
    returns the cell type

    Roo::Excelx::Cell::Time
    should set the cell value to the correct number of seconds

    Roo::Excelx::Format
    #to_type
    translates General to float
    translates 0 to float
    translates 0.00 to float
    translates #,##0 to float
    translates #,##0.00 to float
    translates 0% to percentage
    translates 0.00% to percentage
    translates 0.00E+00 to float
    translates # ?/? to float
    translates # ??/?? to float
    translates mm-dd-yy to date
    translates d-mmm-yy to date
    translates d-mmm to date
    translates mmm-yy to date
    translates h:mm AM/PM to date
    translates h:mm:ss AM/PM to date
    translates h:mm to time
    translates h:mm:ss to time
    translates m/d/yy h:mm to datetime
    translates #,##0 ;(#,##0) to float
    translates #,##0 ;[Red](#,##0) to float
    translates #,##0.00;(#,##0.00) to float
    translates #,##0.00;[Red](#,##0.00) to float
    translates #,##0_);[Red](#,##0) to float
    translates mm:ss to time
    translates [h]:mm:ss to time
    translates mmss.0 to time
    translates ##0.0E+0 to float
    translates @ to float
    translates yyyy\-mm\-dd to date
    translates dd/mm/yy to date
    translates hh:mm:ss to time
    translates dd/mm/yy\ hh:mm to datetime
    translates dd/mmm/yy\ hh:mm to datetime
    translates dd/mmm/yy to date
    translates yyyy-mm-dd to date
    translates yyyy-mm-dd;@ to date
    translates #0_);[Red]\(0\) to float

    Roo::Excelx::Relationships
    #include_type?
    with hyperlink type
    should return true for hyperlink
    should return true for link
    should return false for hypelink
    should return false for coment
    should return false for comments
    should return false for comment
    with nil path
    should return false for hyperlink
    should return false for link
    should return false for hypelink
    should return false for coment
    should return false for comments
    should return false for comment
    with comments type
    should return false for hyperlink
    should return false for link
    should return false for hypelink
    should return false for coment
    should return true for comments
    should return true for comment

    Roo::Excelx::SheetDoc
    #last_row

    Roo::Excelx
    Constants
    ERROR_VALUES
    returns all possible errorr values
    is a set
    .new
    creates an instance
    given a file with missing rels
    creates an instance
    with more cells than specified max
    raises an appropriate error
    with fewer cells than specified max
    creates an instance
    file path is a Pathname
    creates an instance
    #cell
    for a link cell
    with numeric contents
    returns a link with the number as a string value
    for a non-existent cell
    return nil
    for a workbook with hidden sheets
    returns the cell contents from the visible sheet
    #parse
    with a columns hash
    when not present in the sheet
    does not raise
    #parse_with_clean_option
    with clean: true
    does not raise
    #parse_unicode_with_clean_option
    with clean: true
    returns a non empty string
    #sheets
    returns the expected result
    only showing visible sheets
    returns the expected result
    #sheet_for
    returns the expected result
    returns the expected result when passed a number
    returns the expected result when passed a number that is not the first sheet
    should raise an error if passed a sheet that does not exist as an integer
    should raise an error if passed a sheet that does not exist as a string
    #row
    returns the expected result
    #column
    returns the expected result
    #first_row
    returns the expected result
    #last_row
    returns the expected result
    #first_column
    returns the expected result
    #last_column
    returns the expected result
    #set
    [DEPRECATION] `Cell.new` is deprecated. Please use `Cell.create_cell` instead.
    returns the expected result
    #formula
    returns the expected result
    #formula?
    returns the expected result
    #formulas
    returns the expected result
    #font
    returns the expected result
    #celltype
    returns the expected result
    #excelx_type
    returns the expected result
    #excelx_value
    returns the expected result
    #formatted_value
    contains zero-padded numbers
    returns a zero-padded number
    contains US currency
    returns a zero-padded number
    contains euro currency
    returns a zero-padded number
    contains uk currency
    returns a zero-padded number
    #row
    returns base 10 integer
    #excelx_format
    returns the expected result
    #empty?
    returns the expected result
    #label
    returns the expected result
    #labels
    returns the expected result
    #hyperlink?
    returns the expected result
    defined on cell range
    returns the expected result
    #hyperlink
    defined on cell range
    returns the expected result
    without location
    returns the expected result
    with location
    returns the expected result
    #comment
    returns the expected result
    #comment?
    returns the expected result
    #comments
    returns the expected result
    #each_row_streaming
    returns the expected result
    with max_rows options
    returns the expected result
    with offset option
    returns the expected result
    with offset and max_rows options
    returns the expected result
    without block passed
    returns an enumerator
    #html_strings
    HTML Parsing Enabling
    returns the expected result
    _x000D_
    does not contain _x000D_
    opening a file with a chart sheet
    should not raise
    opening a file with white space in the styles.xml
    should properly recognize formats
    opening a file with filters
    should properly extract defined_names
    images
    returns array of images from default sheet
    returns empty array if there is no images on the sheet

    Roo::Excelx with options set
    #html_strings
    HTML Parsing Disabled
    returns the expected result

    Roo::OpenOffice
    .new
    creates an instance
    #sheets
    showing all sheets
    returns the expected result
    only showing visible sheets
    returns the expected result

    Roo::OpenOffice
    .new
    creates an instance
    for float/integer values
    integer without point
    is expected to eq 1234
    is expected to be a kind of Integer
    float with point
    is expected to eq 1234.0
    is expected to be a kind of Float
    float with point
    is expected to eq 1234.12
    is expected to be a kind of Float
    file path is a Pathname
    creates an instance

    Roo::Spreadsheet
    .open
    when the file name includes a space
    loads the proper type
    when the file extension is uppercase
    loads the proper type
    for a tempfile
    loads the proper type
    for a url
    that is csv
    treats the url as CSV
    for a windows path
    that is xlsx
    loads the proper type
    for a xlsm file
    loads the proper type
    for a csv file
    with csv_options
    passes the csv_options through
    with a file extension option
    :xlsx
    loads with xls extension options
    xlsx
    loads with xls extension options
    .xlsx
    loads with .xls extension options

    Roo::Excelx
    #sheets
    #sheet
    #cell
    #row
    #first_row
    #last_row
    #first_column
    #last_column

    Roo::Utils
    #number_to_letter
    should return 'A' when passed 1
    should return 'B' when passed 2
    should return 'C' when passed 3
    should return 'D' when passed 4
    should return 'E' when passed 5
    should return 'F' when passed 6
    should return 'G' when passed 7
    should return 'H' when passed 8
    should return 'I' when passed 9
    should return 'J' when passed 10
    should return 'K' when passed 11
    should return 'L' when passed 12
    should return 'M' when passed 13
    should return 'N' when passed 14
    should return 'O' when passed 15
    should return 'P' when passed 16
    should return 'Q' when passed 17
    should return 'R' when passed 18
    should return 'S' when passed 19
    should return 'T' when passed 20
    should return 'U' when passed 21
    should return 'V' when passed 22
    should return 'W' when passed 23
    should return 'X' when passed 24
    should return 'Y' when passed 25
    should return 'Z' when passed 26
    should return 'AA' when passed 27
    should return 'AZ' when passed 52
    should return 'BZ' when passed 78
    should return 'ZZ' when passed 702
    should return 'AAA' when passed 703
    should return 'ZZZ' when passed 18278
    should return 'A' when passed 1.0
    should return 'YZ' when passed 676
    should return 'ZA' when passed 677
    #letter_to_number
    should give 1 for 'A' and 'a'
    should give the correct value for 'Z'
    should give the correct value for 'AA' regardless of case mixing
    should give the correct value for 'AB'
    should give the correct value for 'AZ'
    should give the correct value for 'BZ'
    should give the correct value for 'ZZ'
    .extract_coordinate
    returns the expected result
    .split_coord
    returns the expected result
    raises an error when appropriate
    .num_cells_in_range
    returns the expected result
    raises an error when appropriate
    .coordinates_in_range
    returns the expected result
    raises an error when appropriate
    .load_xml
    returns the expected result
    .each_element
    returns the expected result

    Roo::Helpers::WeakInstanceCache
    should be lazy
    should be memoized
    should recalculate after GC
    must remove instance variable
    #inspect must not raise
    before calculation
    after calculation
    after GC (FAILED - 1)

    Failures:

    1) Roo::Helpers::WeakInstanceCache#inspect must not raise after GC
    Failure/Error: expect(subject.instance_variables).to_not include(:@memoized_data)
    expected [:@memoized_data] not to include :@memoized_data
    # ./spec/lib/roo/weak_instance_cache_spec.rb:74:in `block (3 levels) in <top (required)>'

    Finished in 1.35 seconds (files took 0.22297 seconds to load)
    245 examples, 1 failure

    Failed examples:

    rspec ./spec/lib/roo/weak_instance_cache_spec.rb:71 # Roo::Helpers::WeakInstanceCache#inspect must not raise after GC

    Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 1446 / 1903 LOC (75.99%) covered.
    Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
    /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
    ERROR: Test "ruby3.3" failed. Exiting.
    dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-roo returned exit code 1
    make: *** [debian/rules:7: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

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

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Antonio Terceiro@21:1/5 to All on Thu Apr 24 23:20:01 2025
    For some reason, this is triggered by ruby-csv. On a pure trixie system
    as of today, all tests pass. If I upgrade ruby-csv to the version in
    unstable, then that one test fails:

    ----------------8<----------------8<----------------8<-----------------
    $ rspec ........................................................................................................................[DEPRECATION] `Cell.new` is deprecated. Please use `Cell.create_cell` instead.
    ............................................................................................................................F

    Failures:

    1) Roo::Helpers::WeakInstanceCache#inspect must not raise after GC
    Failure/Error: expect(subject.instance_variables).to_not include(:@memoized_data)

    expected [:@memoized_data] not to include :@memoized_data
    Diff:
    <The diff is empty, are your objects producing identical `#inspect` output?>
    # ./spec/lib/roo/weak_instance_cache_spec.rb:74:in `block (3 levels) in <top (required)>'

    Finished in 2.98 seconds (files took 0.52211 seconds to load)
    245 examples, 1 failure

    Failed examples:

    rspec ./spec/lib/roo/weak_instance_cache_spec.rb:71 # Roo::Helpers::WeakInstanceCache#inspect must not raise after GC

    Coverage report generated for RSpec to /source/ruby-roo/coverage. 1446 / 1903 LOC (75.99%) covered.
    Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
    ----------------8<----------------8<----------------8<-----------------

    However, if I run only that test, or only the file in which it is
    contained, it doesn't fail:

    ----------------8<----------------8<----------------8<-----------------
    $ rspec ./spec/lib/roo/weak_instance_cache_spec.rb:71
    Run options: include {:locations=>{"./spec/lib/roo/weak_instance_cache_spec.rb"=>[71]}}
    .

    Finished in 0.1335 seconds (files took 0.46663 seconds to load)
    1 example, 0 failures

    Coverage report generated for RSpec to /source/ruby-roo/coverage. 597 / 1901 LOC (31.4%) covered.
    $ rspec ./spec/lib/roo/weak_instance_cache_spec.rb
    .......

    Finished in 0.52508 seconds (files took 0.45988 seconds to load)
    7 examples, 0 failures

    Coverage report generated for RSpec to /source/ruby-roo/coverage. 598 / 1901 LOC (31.46%) covered.
    ----------------8<----------------8<----------------8<-----------------

    Given this means the test is somehow broken, and this is blocking
    ruby-csv and ruby3.3 from migrating, I think we could just make an
    upload skipping the test for now.

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

    iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmgKp0IACgkQ/A2xu81G C94TwQ/6AupRVAH7sIRJpPub5K3CbW7SP+tibxrUX6kop7DuBzQLPBwaPfdaiinY ZyXM/PPPn1DFIk4Z+XziebG8O70AyQcx+nHVY1/sOzqdcohHaj/zKBM8g4Cy8Yj3 vUVSpxpKh4vvaCDQ2UTxy3H0gooJMrk2CqZHmPI8iHbZ9+0UOpweeQNdVCT6iF2b 5aOmhU5tWNDVfpj6qv7TeKmilAB0CiHz3SCPHiPZJ4FXV6oq+slYOzyXGOqXtzUA J3HKRPMZqvGdhSMsizlaHdBWjlz3n2EbZ5ukPnAND/6k25/sIDRm/yOW8dGVUe4h PRAeCoquHVhecU4LeWmJ3zmK+KL+ZHfrRlctrg2VnrFDKMJ0bjc9GsQ/D1m5/7F0 r2yN+cHeQDrDfTwWyAoXk+rRpVkk1kv/mZ167vN5iHqjHoR250zr3UJ2I+AGCPxN UPWEYEFj6APSeeI3C2oAau33toiaV9ZT1aU/t1i7I2DdYxv9NHxz+1r5AwrmwlUt CVVfufoL1yfG3U/5LZgdqQSxyfFRW/gwRow1X7W1xKZu7xbIjbl1vhD3YJ2rI/At AGZF80t7+rZ83mKVOoA+XjqSsyqcKKo3fh0zLas+Dj/E9LfgfvgqxCdkhfv+PUVn gQKvUJ0eQGGqCE7QIzPu8owcpESoL8M3dm1SYxHISpx0pvxhm5c=
    =AXvl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Apr 25 02:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 25 Apr 2025 00:19:29 +0000
    with message-id <E1u86mv-002KfB-3L@fasolo.debian.org>
    and subject line Bug#1103218: fixed in ruby-roo 2.10.0-2.1
    has caused the Debian Bug report #1103218,
    regarding ruby-roo: FTBFS: Failure/Error: expect(subject.instance_variables).to_not include(:@memoized_data)
    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 owner@bugs.debian.org
    immediately.)


    --
    1103218: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103218
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 15 Apr 2025 00:24:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
    HAS_PACKAGE,MURPHY_DRUGS_REL6,PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_PASS,
    SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 184; hammy, 150; neutral, 513; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    R