• Bug#1095885: ruby-rabl-rails: autopkgtest failure with rails 7: /usr/sh

    From Antonio Terceiro@21:1/5 to All on Thu Feb 13 11:30:01 2025
    Source: ruby-rabl-rails
    Version: 0.6.2-2
    Severity: serious
    Justification: autopkgtest failure
    Tags: trixie sid ftbfs
    User: debian-ruby@lists.debian.org
    Usertags: rails7

    Hi,

    We are about to upload rails 7 to unstable, as we are targetting to have rails 7 being released with Trixie.

    After the last upload of rails 7 to experimental, we noticed that ruby-rabl-rails
    fails its autopkgtests when run against that version of rails.

    To reproduce this failure locally, you can run autopkgtest with the following options:

    --add-apt-release=experimental --pin-packages=experimental=src:rails

    (or wait until rails 7 is uploaded to unstable)

    Relevant part (hopefully):
    Setting up ruby-rack-test (2.2.0-1) ...
    Setting up ruby-loofah (2.22.0-1) ...
    Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ...
    Setting up ruby-rails-dom-testing (2.2.0-1) ...
    Setting up ruby-rack-session (2.0.0-3) ...
    Setting up ruby-rackup (2.1.0-4) ...
    Setting up ruby-rails-html-sanitizer (1.6.2-1~exp1) ...
    Setting up ruby-actionview (2:7.2.2.1+dfsg-1~exp6) ...
    Setting up ruby-actionpack (2:7.2.2.1+dfsg-1~exp6) ...
    Setting up ruby-railties (2:7.2.2.1+dfsg-1~exp6) ...
    Setting up ruby-rabl-rails (0.6.2-2) ...
    Processing triggers for libc-bin (2.40-6) ...
    autopkgtest [19:09:34]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
    autopkgtest [19:09:34]: test gem2deb-test-runner: [-----------------------

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

    RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rabl-rails\"
    mv lib ./.gem2deb.lib
    mv ./.gem2deb.lib lib

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

    RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
    mv lib ./.gem2deb.lib
    /usr/bin/ruby3.3 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/renderers/test_hash_renderer.rb" "test/renderers/test_json_renderer.rb" "test/renderers/test_plist_renderer.rb" "test/renderers/test_
    xml_renderer.rb" "test/test_compiler.rb" "test/test_configuration.rb" "test/test_hash_visitor.rb" "test/test_helpers.rb" "test/test_library.rb" -v
    /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers/url_helper.rb:503:in `<module:UrlHelper>': uninitialized constant ActionView::Helpers::UrlHelper::URI (NameError)

    RFC2396_PARSER = defined?(URI::RFC2396_PARSER) ? URI::RFC2396_PARSER : URI::RFC2396_Parser.new
    ^^^
    from /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers/url_helper.rb:17:in `<module:Helpers>'
    from /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers/url_helper.rb:10:in `<module:ActionView>'
    from /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers/url_helper.rb:9:in `<top (required)>'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers.rb:7:in `<top (required)>'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/base.rb:7:in `<top (required)>'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from /tmp/autopkgtest-lxc.wtcrmydh/downtmp/build.W18/src/test/test_compiler.rb:14:in `<class:TestCompiler>'
    from /tmp/autopkgtest-lxc.wtcrmydh/downtmp/build.W18/src/test/test_compiler.rb:5:in `<top (required)>'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:21:in `block in <main>'
    from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `select'
    from /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb:6:in `<main>'
    rake aborted!
    Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/renderers/test_hash_renderer.rb" "test/renderers/test_json_renderer.rb" "test/renderers/test_plist_renderer.rb" "
    test/renderers/test_xml_renderer.rb" "test/test_compiler.rb" "test/test_configuration.rb" "test/test_hash_visitor.rb" "test/test_helpers.rb" "test/test_library.rb" -v]
    /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
    Tasks: TOP => default
    (See full trace by running task with --trace)
    mv ./.gem2deb.lib lib
    autopkgtest [19:09:35]: test gem2deb-test-runner: -----------------------] autopkgtest [19:09:35]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - -
    gem2deb-test-runner FAIL non-zero exit status 1


    The full autopkgtest logs are available and linked from https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
    and after rails 7 gets into unstable, at https://qa.debian.org/excuses.php?package=rails

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

    iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmetxxMACgkQ/A2xu81G C95BGBAAi3XKz3q52js7HEti0hcY7yOJA++/LgRHorjuTWuueShuGxPOXXaqWM56 MToU9HHvKbq4CqFoBm0dX+ELbts5ozToFu5iBP+u1Ob3BSDB/0p2dFFxC/qjTTvM q7XDageHpJjQToUlsMD9FTtso9B5K4ERQyN/jqtf5uEmMCr3xIpTt07KoJ7tNm4+ BP5nygJTnBIXrqL/LpMvRFQFtJlvBvYPW4aoL4ZrVItQYrsSnFPx2hDZVq9Z8QOP akVT+yCBXLu3jEMOeCwNtTBHKnXhLcQLgSZBJcskkugA5KAxW8ncLW+M+yLDfzs0 bPjfnMWcl8Dj70uqM4b/Y6C65y7nFK9mmpaxmArbFSyXnKw6pZrBJcUp78AOyL7V X6NqYg4HYa8Ej/wBQrnvSawq1dQU+3nrkQBQ91NSMWlXeDOLMQ56vvTDUImwmRMk iqaS6W+VDwlAqiZ2MOvJVQfgKXstzEsSG5JfPeSnD/biXg6ht+BR7NJRf2vuUYWC 3ohrivsIOP5zKDScItrdzULpYqYr3KfXoy0vofo+vOGgSA7g9fwwzrLGAkbvr1G4 xa+S5KfFQBnxnlDrYm+2F8ASEkT78INA3OXLb90Oq3Q4ig5NS6llWpiqczMw1P69 tql6NT2MXSAmpm6SY05lbfXO1IAc5/dINXnzlDbVdZlnIDZXDYs=
    =mTSM
    -----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 Sun Mar 9 10:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sun, 09 Mar 2025 09:24:21 +0000
    with message-id <E1trCtR-00BGjC-74@fasolo.debian.org>
    and subject line Bug#1099873: Removed package(s) from unstable
    has caused the Debian Bug report #1095810,
    regarding ruby-rabl-rails: autopkgtest failure with rails 7: /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/helpers/url_helper.rb:503:in `<module:UrlHelper>': uninitialized constant ActionView::Helpers::UrlHelper::URI (
    NameError)
    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.)


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

    Received: (at submit) by bugs.debian.org; 13 Feb 2025 10:19:09 +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=-111.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FROMDEVELOPER,PGPSIGNATURE,
    SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 150; neutral, 214; spammy,
    0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <terceiro@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb: