[DRE-maint] redmine-plugin-pretend: fails to install: rake aborted! LoadError: cannot load such file -- redmine_pretend

Andreas Beckmann anbe at debian.org
Thu Jun 1 14:54:49 BST 2023


On 01/06/2023 14.16, Paul Gevers wrote:
> On Fri, 12 May 2023 09:16:32 +0200 Andreas Beckmann <anbe at debian.org> 
> wrote:
>> Package: redmine-plugin-pretend
> 
>> during a test with piuparts I noticed your package failed to install. As
>> per definition of the release team this makes the package too buggy for
>> a release, thus the severity.
> 
> If I look at the log, it's redmine itself that fails during 
> installation. @anbe: why did you decide to file against the plugin? I'm 
> guessing here, but if redmine is installed and configured before 
> installing the plugin, everything's fine?

redmine alone works fine, but there are two plugins that make redmine "blow up" if they are installed.

If redmine is installed first (without errors), the plugin installation still blows redmine up:

0m56.6s DEBUG: Starting command: ['nsenter', '--net=/run/netns/piuparts-netns-13', '--uts=/srv/piuparts/tmp/tmp53VbkN/ns-uts', 'chroot', '/srv/piuparts/tmp/tmp53VbkN/chroot', 'apt-get', '-y', 'install', 'redmine-plugin-pretend=0.0.2+git20130821-5']
1m2.6s DUMP:
   Reading package lists...
   Building dependency tree...
   Reading state information...
   The following NEW packages will be installed:
     redmine-plugin-pretend
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 6132 B of archives.
   After this operation, 38.9 kB of additional disk space will be used.
   Get:1 http://ftp.de.debian.org/debian bookworm/main amd64 redmine-plugin-pretend all 0.0.2+git20130821-5 [6132 B]
   debconf: delaying package configuration, since apt-utils is not installed
   Fetched 6132 B in 0s (207 kB/s)
   Selecting previously unselected package redmine-plugin-pretend.
(Reading database ... 19234 files and directories currently installed.)
   Preparing to unpack .../redmine-plugin-pretend_0.0.2+git20130821-5_all.deb ...
   Unpacking redmine-plugin-pretend (0.0.2+git20130821-5) ...
   Setting up redmine-plugin-pretend (0.0.2+git20130821-5) ...
   Processing triggers for redmine (5.0.4-5) ...
   Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
   installing your bundle as root will break this application for all non-root
   users on this machine.
   dbconfig-common: flushing administrative password
   rake aborted!
   LoadError: cannot load such file -- redmine_pretend
   /usr/share/rubygems-integration/all/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
   /usr/share/rubygems-integration/all/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
   /usr/share/redmine/plugins/redmine_pretend/init.rb:1:in `<top (required)>'
   /usr/share/redmine/lib/redmine/plugin_loader.rb:31:in `load'
   /usr/share/redmine/lib/redmine/plugin_loader.rb:31:in `run_initializer'
   /usr/share/redmine/lib/redmine/plugin_loader.rb:108:in `each'
   /usr/share/redmine/lib/redmine/plugin_loader.rb:108:in `block in load'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:427:in `instance_exec'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:427:in `block in make_lambda'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:603:in `catch'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:603:in `block in default_terminator'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:199:in `block in halting'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `block in invoke_before'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `each'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:512:in `invoke_before'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:105:in `run_callbacks'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/reloader.rb:88:in `prepare!'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/initializable.rb:32:in `instance_exec'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/initializable.rb:32:in `run'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/initializable.rb:61:in `block in run_initializers'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/initializable.rb:60:in `run_initializers'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/application.rb:391:in `initialize!'
   /usr/share/redmine/config/environment.rb:16:in `<top (required)>'
   /usr/share/rubygems-integration/all/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
   /usr/share/rubygems-integration/all/gems/zeitwerk-2.6.1/lib/zeitwerk/kernel.rb:35:in `require'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `block in require'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299:in `load_dependency'
   /usr/share/rubygems-integration/all/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `require'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/application.rb:367:in `require_environment!'
   /usr/share/rubygems-integration/all/gems/railties-6.1.7.3/lib/rails/application.rb:533:in `block in run_tasks_blocks'
   Tasks: TOP => db:migrate => db:load_config => environment
   (See full trace by running task with --trace)
   dpkg: error processing package redmine (--configure):
    installed redmine package post-installation script subprocess returned error exit status 1
   Errors were encountered while processing:
    redmine
   E: Sub-process /usr/bin/dpkg returned an error code (1)
1m2.6s ERROR: Command failed (status=100): ['nsenter', '--net=/run/netns/piuparts-netns-13', '--uts=/srv/piuparts/tmp/tmp53VbkN/ns-uts', 'chroot', '/srv/piuparts/tmp/tmp53VbkN/chroot', 'apt-get', '-y', 'install', 'redmine-plugin-pretend=0.0.2+git20130821-5']

I'd suggest bookworm-will-remove

Andreas

PS: the other plugin is redmine-plugin-local-avatars, already autoremoved 2 days ago



More information about the Pkg-ruby-extras-maintainers mailing list