Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658332 - www-apps/redmine-3.4.5 Could not find gem 'mime-types (~> 3.0)'
Summary: www-apps/redmine-3.4.5 Could not find gem 'mime-types (~> 3.0)'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-06-17 20:11 UTC by Lars
Modified: 2019-05-08 17:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete build log (build.log,1.44 KB, text/x-log)
2018-06-17 20:11 UTC, Lars
Details
emerge --info '=www-apps/redmine-3.4.5::gentoo' (emerge.info,26.33 KB, text/plain)
2018-06-17 20:12 UTC, Lars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars 2018-06-17 20:11:15 UTC
Created attachment 536148 [details]
Complete build log

emerge --config "=www-apps/redmine-3.4.5"


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.
Run `bundle install` to install missing gems.
 * ERROR: www-apps/redmine-3.4.5::gentoo failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_config
 *   environment, line 4528:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake generate_secret_token || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-3.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-3.4.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =redmine-3.4.5
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-3.4.5/work/redmine-3.4.5'



After emerging dev-ruby/mime-types-3.1:


emerge --config "=www-apps/redmine-3.4.5"


Configuring pkg...

 *
 * Initializing database.
 *
 * Generating a session store secret.
Could not find gem 'roadie (~> 3.3)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
 * ERROR: www-apps/redmine-3.4.5::gentoo failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_config
 *   environment, line 4528:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake generate_secret_token || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-3.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-3.4.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =redmine-3.4.5
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-3.4.5/work/redmine-3.4.5'



After installing dev-ruby/roadie-3.3.0:


emerge --config "=www-apps/redmine-3.4.5"


Configuring pkg...

 *
 * Initializing database.
 *
 * Generating a session store secret.
Could not find gem 'pg (~> 0.18.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
 * ERROR: www-apps/redmine-3.4.5::gentoo failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_config
 *   environment, line 4528:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake generate_secret_token || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-3.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-3.4.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =redmine-3.4.5
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-3.4.5/work/redmine-3.4.5'


Btw, I have emerged redmine without postgress support.

After emerging dev-ruby/pg:


emerge --config "=www-apps/redmine-3.4.5"


Configuring pkg...

 *
 * Initializing database.
 *
 * Generating a session store secret.
Could not find gem 'sqlite3 (~> 1.3.12)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
 * ERROR: www-apps/redmine-3.4.5::gentoo failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_config
 *   environment, line 4528:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake generate_secret_token || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-3.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-3.4.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =redmine-3.4.5
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-3.4.5/work/redmine-3.4.5'


After emerging dev-ruby/sqlite3-1.3.13:


emerge --config "=www-apps/redmine-3.4.5"


Configuring pkg...

 *
 * Initializing database.
 *
 * Generating a session store secret.
 * Creating the database structure.
 * Populating database with default configuration data.

Select language: ar, az, bg, bs, ca, cs, da, de, el, en, en-GB, es, es-PA, et, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sq, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]
====================================
Some configuration data is already loaded.
chown: cannot access 'var/log/redmine/': No such file or directory
 * ERROR: www-apps/redmine-3.4.5::gentoo failed (config phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_config
 *   environment, line 4533:  Called die
 * The specific snippet of code:
 *           chown redmine:redmine -R "${EROOT%/}var/log/redmine/" || die;
 *
 * If you need support, post the output of `emerge --info '=www-apps/redmine-3.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/redmine-3.4.5::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =redmine-3.4.5
 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-3.4.5/temp/environment'.
 * Working directory: '/var/lib/redmine'
 * S: '/var/tmp/portage/www-apps/redmine-3.4.5/work/redmine-3.4.5'


It works after changing the offending line:

--- redmine-3.4.5.ebuild        2018-05-26 01:09:06.000000000 +0200
+++ redmine-3.4.5-r1.ebuild     2018-06-17 22:08:45.182877510 +0200
@@ -212,7 +212,7 @@
                RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die
                einfo "Populating database with default configuration data."
                RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:load_default_data || die
-               chown redmine:redmine -R "${EROOT%/}var/log/redmine/" || die
+               chown redmine:redmine -R "${EROOT}var/log/redmine/" || die
                einfo
                einfo "If you use sqlite3, please do not forget to change the ownership"
                einfo "of the sqlite files."




Below the output of...

emerge -pqv '=www-apps/redmine-3.4.5::gentoo'
  R    www-apps/redmine 3.4.5
Comment 1 Lars 2018-06-17 20:12:45 UTC
Created attachment 536150 [details]
emerge --info '=www-apps/redmine-3.4.5::gentoo'
Comment 2 Larry the Git Cow gentoo-dev 2019-05-08 17:05:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6e2a370c8209e20c92b9baaffab0b27ce65f45

commit 9f6e2a370c8209e20c92b9baaffab0b27ce65f45
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2018-11-19 12:51:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-05-08 17:03:33 +0000

    www-apps/redmine: fix mime-types dependency
    
    Closes: https://bugs.gentoo.org/658332
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/10450
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-apps/redmine/redmine-3.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)