[Bug 277866] www/redmine50 broken with rubygem-roadie-rails-rails61 3.1.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Mar 2024 14:54:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277866

            Bug ID: 277866
           Summary: www/redmine50 broken with rubygem-roadie-rails-rails61
                    3.1.0
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: gessel@blackrosetech.com
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

Building www/redmine50 5.0.8 on 14.0-RELEASE #0
releng/14.0-n265380-f9716eee8ab4 with Poudriere the build fails with:

===>   redmine50-5.0.8 depends on package: rubygem-roadie-rails-rails61>=3.0.0
- not found
===>   Installing existing package
/packages/All/rubygem-roadie-rails-rails61-3.1.0.pkg
[FBSD_14-0-R-default-job-01] Installing rubygem-roadie-rails-rails61-3.1.0...
[FBSD_14-0-R-default-job-01] `-- Installing rubygem-roadie-5.2.1...
[FBSD_14-0-R-default-job-01] |   `-- Installing rubygem-css_parser-1.16.0...
[FBSD_14-0-R-default-job-01] |   `-- Extracting rubygem-css_parser-1.16.0:
....... done
[FBSD_14-0-R-default-job-01] `-- Extracting rubygem-roadie-5.2.1: ..........
done
[FBSD_14-0-R-default-job-01] Extracting rubygem-roadie-rails-rails61-3.1.0:
.......... done
===>   redmine50-5.0.8 depends on package: rubygem-roadie-rails-rails61>=3.0.0
- found
===>   Returning to build of redmine50-5.0.8

but:

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 'roadie-rails (~> 3.0.0)' in cached gems or installed
locally.

The source contains the following gems matching 'roadie-rails':
  * roadie-rails-3.1.0
*** Error code 7

The only make.conf option that seem relevant are:
DEFAULT_VERSIONS+=ruby=3.1
DEFAULT_VERSIONS+=mysql=10.11m

Building directly in ports /usr/ports/www/redmine50 # make install yields

cp -f /usr/ports/www/redmine50/files/markdown.rb
/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/mysql.rb
/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/mini_magick.rb
/usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
(cd /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 'roadie-rails (~> 3.0.0)' in cached gems or installed
locally.

The source contains the following gems matching 'roadie-rails':
  * roadie-rails-3.1.0
*** Error code 7

Stop.
make[1]: stopped in /usr/ports/www/redmine50


/usr/ports/www/redmine50 # pkg version -v | grep roadie
rubygem-roadie-5.2.1               =   up-to-date with port
rubygem-roadie-rails-rails61-3.1.0 =   up-to-date with port

-- 
You are receiving this mail because:
You are the assignee for the bug.