Bug 270793 - www/redmine50: broken due to net-ldap update?
Summary: www/redmine50: broken due to net-ldap update?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 16:12 UTC by Oliver Haucke
Modified: 2023-04-16 11:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Haucke 2023-04-12 16:12:23 UTC
Hey,
i just noticed today while running my poudriere build, that redmine50 failes to build:

===>  Staging for redmine50-5.0.5_1
===>   Generating temporary packing list
===> Creating groups.
===> 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.5 && /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 'net-ldap (~> 0.17.0)' in cached gems or installed locally.

The source contains the following gems matching 'net-ldap':
  * net-ldap-0.18.0
*** Error code 7
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-04-16 10:06:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb5dece77c99a06148dd8d43567b1d9177f08c7f

commit fb5dece77c99a06148dd8d43567b1d9177f08c7f
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-04-16 10:04:19 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-04-16 10:04:19 +0000

    www/redmine50: Fix build after rubygem-net-ldap update

    PR:             270793
    Reported by:    Oliver Haucke

 www/redmine50/files/patch-Gemfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2023-04-16 10:27:31 UTC
Thanks!
Comment 3 Oliver Haucke 2023-04-16 11:55:21 UTC
Thanks a lot for the quick fix.