Build fails with: ===> Creating users /bin/mkdir -p /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine /bin/mkdir -p /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d /bin/mkdir -p /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/log /bin/mkdir -p /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/public/plugin_assets /bin/mkdir -p /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/tmp cp -f /usr/ports/www/redmine50/files/commonmark.rb /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d cd /wrkdirs/usr/ports/www/redmine50/work/redmine-5.0.4 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine /usr/bin/touch /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/Gemfile.lock cp -f /usr/ports/www/redmine50/files/markdown.rb /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d cp -f /usr/ports/www/redmine50/files/mysql.rb /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d cp -f /usr/ports/www/redmine50/files/mini_magick.rb /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d cp -f /usr/ports/www/redmine50/files/thin.rb /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d (cd /wrkdirs/usr/ports/www/redmine50/work/stage/usr/local/www/redmine && /bin/rm -f Gemfile.lock && bundle install --local) Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Your Gemfile lists the gem redcarpet (>= 3.5.1) 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. Could not find gem 'mail (~> 2.7.1)' in cached gems or installed locally. The source contains the following gems matching 'mail': * mail-2.8.0 *** Error code 7 Stop. Perhaps the Gemfile should be amended by replacing: gem "mail", "~> 2.7.1" with gem "mail", "~> 2.7" ?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=59d9a34dc9ab96f6a7858743ec25a25e3b54a974 commit 59d9a34dc9ab96f6a7858743ec25a25e3b54a974 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-02-03 07:58:26 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-02-03 07:58:26 +0000 www/redmine50: Fix Gemfile after rubygem-mail update PR: 269299 www/redmine50/files/patch-Gemfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
Thanks!