It installs (update from redmine-3.3.7) correctly output of `emerge --config "=www-apps/redmine-3.4.5"` --- Configuring pkg... * * Upgrading database. * * Generating secret token. Could not find rake-12.3.1 in any of the sources Run `bundle install` to install missing gems. --- when checking the Gemfile you can see which dependencies are incorrect output of `equery u redmine`: --- * Found these USE flags for www-apps/redmine-3.4.5: U I + + fastcgi : Add support for the FastCGI interface + + imagemagick : Enable optional support for the ImageMagick or GraphicsMagick image converter - - ldap : Add LDAP support (Lightweight Directory Access Protocol) - - markdown : Enable support for Markdown + + mysql : Add mySQL Database support - - passenger : Enable support for www-apache/passenger - - postgres : Add support for the postgresql database + + ruby_targets_ruby23 : Build with MRI Ruby 2.3.x - - ruby_targets_ruby24 : Build with MRI Ruby 2.4.x - - sqlite : Add support for sqlite - embedded sql database - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore ---
The previous comment was a remnant from a manual install. The actual error message is as follows: --- Configuring pkg... * * Initializing database. * * Generating a session store secret. Could not find gem 'mime-types (~> 3.0)' in any of the gem sources listed in your Gemfile or available on this machine. Run `bundle install` to install missing gems. --- and a few other dependencies I attached a patch with the correct dependencies and a fix for fastcgi
Created attachment 534976 [details] redmine-3.4.5 patch
Created attachment 534978 [details] Gemfile for fastcgi
There are other similar problems with ebuild dependencies. As of now, the portage tree has versions of some packages that are *greater* than those expected by redmine. Here are the packages that I had to *downgrade* to get it working: dev-ruby/roadie-rails from 1.3.0 to 1.2.1 (ebuild dependencies are >=dev-ruby/roadie-rails-1.1.0, Gemfile wants ~>1.2.1, so ebuild dependencies should be >=dev-ruby/roadie-rails-1.2.1 and <dev-ruby/roadie-rails-1.3) dev-ruby/nokogiri from 1.10.3 to 1.8.4 (ebuild dependencies are >=dev-ruby/nokogiri-1.6.8, Gemfile wants ~>1.8.1, so ebuild dependencies should be >=dev-ruby/nokogiri-1.8.1 and <dev-ruby/nokogiri-1.9) dev-ruby/sqlite3 from 1.4.1 to 1.3.13 (ebuild dependencies are dev-ruby/sqlite3, Gemfile wants ~>1.3.12, so ebuild dependencies should be >=dev-ruby/sqlite3-1.3.12 and <dev-ruby/sqlite3-1.4)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e163dc22eecc5f00721fa11ee1645b0079031301 commit e163dc22eecc5f00721fa11ee1645b0079031301 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2019-08-28 17:53:46 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-12-08 08:41:05 +0000 www-apps/redmine: update to 4.0.5 Implementing GLEP81, fixes #677986 and #692890. Fixes strict dependencies and adds additional fcgi gem (#657156), fixes error with /var/log/redmine permission changes. Clear Gemfile.lock in config phase to clean up and update dependencies (#660252). Closes: https://bugs.gentoo.org/677986 Closes: https://bugs.gentoo.org/692890 Closes: https://bugs.gentoo.org/657156 Closes: https://bugs.gentoo.org/660252 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-apps/redmine/Manifest | 1 + .../files/redmine-4.0.5_gemfile_versions.patch | 76 +++++++ www-apps/redmine/redmine-4.0.5.ebuild | 224 +++++++++++++++++++++ 3 files changed, 301 insertions(+)