• Bug#1102716: libruby3.3: failed to build with test errors

    From Russell Coker@21:1/5 to All on Sat Apr 12 11:50:02 2025
    Package: libruby3.3
    Version: 3.3.8-1
    Severity: normal
    Tags: ftbfs
    X-Debbugs-Cc: debian-amd64@lists.debian.org
    User: debian-amd64@lists.debian.org
    Usertags: amd64

    I got the following test errors when trying to rebuild this package on a
    system running Unstable:


    [26614/26682] TestZlibGzipFile#test_sync = 0.00 s
    [26615/26682] TestZlibGzipFile#test_orig_name = 0.00 s
    [26616/26682] TestZlibGzipFile#test_crc = 0.00 s

    1) Failure:
    TestTmpdir#test_world_writable [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/test_tmpdir.rb:31]:
    expected: /\ATMPDIR is not writable/
    actual: "".

    2) Failure:
    TestProcess#test_execopts_uid [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/ruby/test_process.rb:2042]:
    [ruby-core:47414].
    Exception raised:
    <#<Errno::EINVAL: Invalid argument - /home/etbe/libruby3.3/ruby3.3-3.3.8/ruby3.3>>
    Backtrace:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/test/ruby/test_process.rb:2044:in `system'
    /home/etbe/libruby3.3/ruby3.3-3.3.8/test/ruby/test_process.rb:2044:in `block (2 levels) in test_execopts_uid'.

    3) Failure:
    TestGemSpecification#test_date_equals_time [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/rubygems/test_gem_specification.rb:1599]:
    <2003-09-17 00:00:00 UTC> expected but was
    <2003-09-16 00:00:00 UTC>.

    4) Failure:
    TestFileExhaustive#test_test [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/ruby/test_file_exhaustive.rb:1541]:
    /tmp/ruby-test20250412-58602-u0fdq0/suidfile.test.
    <true> expected but was
    <false>.

    5) Failure:
    TestFileUtils#test_chown_R_with_root [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1615]:
    exceptions on 1 threads:
    #<Thread:0x00007f4f59d54c10 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/dir (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1924:in `block (2 levels) in chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2357:in `preorder_traverse'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1922:in `block in chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1921:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1921:in `chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1627:in `block in test_chown_R_with_root'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'


    6) Failure:
    TestFileUtils#test_chown_dir_group_ownership_not_recursive [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1500]:
    exceptions on 1 threads:
    #<Thread:0x00007f4f693125f8 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/dir (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1905:in `block in chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1506:in `block in test_chown_dir_group_ownership_not_recursive'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'

    7) Failure:
    TestFileUtils#test_chown_noop [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1460]:
    exceptions on 1 threads:
    #<Thread:0x00007f4f58453f68 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/a (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1905:in `block in chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1466:in `block in test_chown_noop'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'


    8) Failure:
    TestFileUtils#test_chown_with_root [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1590]:
    exceptions on 1 threads:
    #<Thread:0x00007f4f6aa53000 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/a1 (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1905:in `block in chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1591:in `block (2 levels) in test_chown_with_root'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'


    9) Failure:
    TestFileUtils#test_chown_R [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1520]:
    exceptions on 1 threads:
    #<Thread:0x00007f4f68760cf0 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/dir (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1924:in `block (2 levels) in chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2357:in `preorder_traverse'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1922:in `block in chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1921:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1921:in `chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1532:in `block in test_chown_R'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'

    10) Failure: TestFileUtils#test_chown_dir_user_ownership_not_recursive_with_root [/home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1601]:
    exceptions on 1 threads:
    #<Thread:0x00007f4edea5e3d8 /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:20 dead>:
    /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown': Invalid argument @ apply2files - tmp/dir (Errno::EINVAL)
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:2219:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1905:in `block in chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `each'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/lib/fileutils.rb:1904:in `chown'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:1607:in `block in test_chown_dir_user_ownership_not_recursive_with_root'
    from /home/etbe/libruby3.3/ruby3.3-3.3.8/test/fileutils/test_fileutils.rb:22:in `block (2 levels) in assert_output_lines'


    Finished tests in 2743.532758s, 9.7014 tests/s, 2313.4541 assertions/s.
    26616 tests, 6347037 assertions, 10 failures, 0 errors, 166 skips


    -- System Information:
    Debian Release: trixie/sid
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.21-amd64 (SMP w/44 CPU threads; PREEMPT)
    Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: unable to detect

    Versions of packages libruby3.3 depends on:
    ii libc6 2.41-6
    ii libcrypt1 1:4.4.38-1
    ii libffi8 3.4.7-1
    ii libgmp10 2:6.3.0+dfsg-3
    ii libssl3t64 3.5.0-1
    ii libyaml-0-2 0.2.5-2
    ii rake 13.2.1-1
    ii ruby-csv 3.3.3-1
    ii ruby-did-you-mean 1.6.3-2
    ii ruby-minitest 5.25.4-2
    ii ruby-net-telnet 0.2.0-1
    ii ruby-ruby2-keywords 0.0.5-1
    ii ruby-test-unit 3.6.2-1
    ii ruby-webrick 1.9.1-1
    ii ruby-xmlrpc 0.3.3-2
    ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1

    Versions of packages libruby3.3 recommends:
    pn ruby-sdbm <none>

    libruby3.3 suggests no packages.

    -- debconf-show failed

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)