Skip to content

currently incompatible with redmine 6.1 #119

@puseidr

Description

@puseidr

when i try to update redmine to 6.1 (docker image: "redmine:latest") "bundle install" is failing with the following message:

Your Gemfile lists the gem marcel (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem puma (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
The following gems are missing
 * hbl_text (0.1.11)
 * hash_base (0.1.7)
 * deep_try (0.1.5)
 * zlib (3.2.2)
Install missing gems with `bundle install`
Your Gemfile lists the gem marcel (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem puma (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Fetching deep_try 0.1.5
Fetching hbl_text 0.1.11
Fetching zlib 3.2.2
Fetching hash_base 0.1.7
Installing deep_try 0.1.5
Installing zlib 3.2.2 with native extensions
Installing hash_base 0.1.7
Installing hbl_text 0.1.11
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/zlib-3.2.2/ext/zlib
/usr/local/bin/ruby extconf.rb
checking for deflateReset(NULL) in -lz... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include=${opt-dir}/include
	--without-opt-include
	--with-opt-lib=${opt-dir}/lib
	--without-opt-lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
	--with-zlib-dir
	--without-zlib-dir
	--with-zlib-include=${zlib-dir}/include
	--without-zlib-include
	--with-zlib-lib=${zlib-dir}/lib
	--without-zlib-lib
	--with-z-dir
	--without-z-dir
	--with-z-include=${z-dir}/include
	--without-z-include
	--with-z-lib=${z-dir}/lib
	--without-z-lib
	--with-zlib
	--without-zlib
/usr/local/lib/ruby/3.4.0/mkmf.rb:528:in 'MakeMakefile#try_do': The compiler
failed to generate an executable file. (RuntimeError)
You have to install development tools first.

	from /usr/local/lib/ruby/3.4.0/mkmf.rb:621:in 'MakeMakefile#try_link0'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:639:in 'MakeMakefile#try_link'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:888:in 'MakeMakefile#try_func'
from /usr/local/lib/ruby/3.4.0/mkmf.rb:1147:in 'block in
MakeMakefile#have_library'
from /usr/local/lib/ruby/3.4.0/mkmf.rb:1070:in 'block in
MakeMakefile#checking_for'
from /usr/local/lib/ruby/3.4.0/mkmf.rb:370:in 'block (2 levels) in
MakeMakefile::Logging.postpone'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:340:in 'MakeMakefile::Logging.open'
from /usr/local/lib/ruby/3.4.0/mkmf.rb:370:in 'block in
MakeMakefile::Logging.postpone'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:340:in 'MakeMakefile::Logging.open'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:366:in 'MakeMakefile::Logging.postpone'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:1069:in 'MakeMakefile#checking_for'
	from /usr/local/lib/ruby/3.4.0/mkmf.rb:1142:in 'MakeMakefile#have_library'
	from extconf.rb:14:in 'block in <main>'
	from extconf.rb:14:in 'Array#any?'
	from extconf.rb:14:in '<main>'

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

  /usr/local/bundle/extensions/x86_64-linux/3.4.0/zlib-3.2.2/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /usr/local/bundle/gems/zlib-3.2.2 for
inspection.
Results logged to
/usr/local/bundle/extensions/x86_64-linux/3.4.0/zlib-3.2.2/gem_make.out

/usr/local/lib/ruby/3.4.0/rubygems/ext/builder.rb:125:in
'Gem::Ext::Builder.run'
/usr/local/lib/ruby/3.4.0/rubygems/ext/ext_conf_builder.rb:30:in
'Gem::Ext::ExtConfBuilder.build'
/usr/local/lib/ruby/3.4.0/rubygems/ext/builder.rb:206:in
'Gem::Ext::Builder#build_extension'
/usr/local/lib/ruby/3.4.0/rubygems/ext/builder.rb:240:in 'block in
Gem::Ext::Builder#build_extensions'
  /usr/local/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in 'Array#each'
/usr/local/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in
'Gem::Ext::Builder#build_extensions'
/usr/local/lib/ruby/3.4.0/rubygems/installer.rb:844:in
'Gem::Installer#build_extensions'
/usr/local/lib/ruby/3.4.0/bundler/rubygems_gem_installer.rb:111:in
'Bundler::RubyGemsGemInstaller#build_extensions'
/usr/local/lib/ruby/3.4.0/bundler/rubygems_gem_installer.rb:30:in
'Bundler::RubyGemsGemInstaller#install'
/usr/local/lib/ruby/3.4.0/bundler/source/rubygems.rb:220:in
'Bundler::Source::Rubygems#install'
/usr/local/lib/ruby/3.4.0/bundler/installer/gem_installer.rb:55:in
'Bundler::GemInstaller#install'
/usr/local/lib/ruby/3.4.0/bundler/installer/gem_installer.rb:17:in
'Bundler::GemInstaller#install_from_spec'
/usr/local/lib/ruby/3.4.0/bundler/installer/parallel_installer.rb:133:in
'Bundler::ParallelInstaller#do_install'
/usr/local/lib/ruby/3.4.0/bundler/installer/parallel_installer.rb:124:in
'block in Bundler::ParallelInstaller#worker_pool'
  /usr/local/lib/ruby/3.4.0/bundler/worker.rb:62:in 'Bundler::Worker#apply_func'
/usr/local/lib/ruby/3.4.0/bundler/worker.rb:57:in 'block in
Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
/usr/local/lib/ruby/3.4.0/bundler/worker.rb:54:in
'Bundler::Worker#process_queue'
/usr/local/lib/ruby/3.4.0/bundler/worker.rb:90:in 'block (2 levels) in
Bundler::Worker#create_threads'

An error occurred while installing zlib (3.2.2), and Bundler cannot continue.

In Gemfile:
  zlib
Your Gemfile lists the gem marcel (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem puma (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
The following gems are missing
 * zlib (3.2.2)
Install missing gems with `bundle install`

Any Idea how to fix this?

the plugin was really usefull and sadly there is no existing alternative to this :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions