• Bug#1100314: ruby-rack-rewrite: FTBFS:

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:50:02 2025
    Package: src:ruby-rack-rewrite
    Version: 1.5.1-1.1
    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: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_auto_clean -O--buildsystem=ruby
    dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_ruby --clean
    W: XS-Ruby-Versions is deprecated, and will be ignored
    dh_clean -O--buildsystem=ruby
    dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    debian/rules binary
    dh binary --buildsystem=ruby --with ruby
    dh: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_update_autotools_config -O--buildsystem=ruby
    dh_auto_configure -O--buildsystem=ruby
    dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_ruby --configure
    dh_auto_build -O--buildsystem=ruby
    dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_ruby --build
    dh_auto_test -O--buildsystem=ruby
    dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_ruby --test
    dh_testroot -O--buildsystem=ruby
    dh_prep -O--buildsystem=ruby
    dh_auto_install --destdir=debian/ruby-rack-rewrite/ -O--buildsystem=ruby dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 7 in use)
    dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ ruby-rack-rewrite: Install files │
    └──────────────────────────────────────────────────────────────────────────────┘

    install -d /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby install -D -m644 /<<PKGBUILDDIR>>/lib/rack/rewrite/rule.rb /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby/rack/rewrite/rule.rb
    install -D -m644 /<<PKGBUILDDIR>>/lib/rack/rewrite/version.rb /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby/rack/rewrite/version.rb
    install -D -m644 /<<PKGBUILDDIR>>/lib/rack/rewrite.rb /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby/rack/rewrite.rb
    install -D -m644 /<<PKGBUILDDIR>>/lib/rack-rewrite.rb /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby/rack-rewrite.rb

    ┌──────────────────────────────────────────────────────────────────────────────┐
    │ ruby-rack-rewrite: Install Rubygems integration metadata │
    └──────────────────────────────────────────────────────────────────────────────┘

    generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/share/rubygems-integration/all/specifications/rack-rewrite-1.5.1.gemspec
    /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

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

    RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rack-rewrite/usr/share/rubygems-integration/all:/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 debian/ruby-tests.rb
    <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- mocha/setup (LoadError)
    from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require'
    from /<<PKGBUILDDIR>>/test/test_helper.rb:3: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 /<<PKGBUILDDIR>>/test/rack-rewrite_test.rb:1: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 debian/ruby-tests.rb:7:in `block in <main>'
    from debian/ruby-tests.rb:7:in `each'
    from debian/ruby-tests.rb:7:in `<main>'
    ERROR: Test "ruby3.3" failed. Exiting.
    dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rack-rewrite returned exit code 1
    make: *** [debian/rules:15: binary] Error 255
    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/202503/

    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-rack-rewrite, 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 Debian Bug Tracking System@21:1/5 to All on Fri Apr 25 11:00:02 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 25 Apr 2025 08:55:59 +0000
    with message-id <[email protected]>
    and subject line Bug#1090874: fixed in ruby-rack-rewrite 1.5.1-3.1
    has caused the Debian Bug report #1090874,
    regarding ruby-rack-rewrite: FTBFS: <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- mocha/setup (LoadError)
    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.)


    --
    1090874: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090874
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:34:19 +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=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
    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, 22; hammy, 150; neutral, 150; 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: <[email protected]>
    Received: from mailly.debian.org ([2001:41b8