Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2016 14:25:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 213085] www/redmine: depends on net-ldap twice, with different version numbers.
Message-ID:  <bug-213085-21402-Zp9Eb5f0m8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213085-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213085-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Johannes Jost Meixner <xmj@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to ruby@FreeBSD.or=
g:
Bug 213085: www/redmine: depends on net-ldap twice, with different version
numbers.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213085



--- Description ---
The recent update introduced some changes that lead bundler (executed e.g. =
to
generate secret tokens or some such) to fail, like so:





[!] There was an error parsing `Gemfile`: You cannot specify the same gem t=
wice
with different version requirements.
You specified: net-ldap (>=3D 0) and net-ldap (>=3D 0.12.0). Bundler cannot
continue.

 #  from /usr/local/www/redmine/Gemfile:94
 #  -------------------------------------------
 #  Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
 >    self.instance_eval(Bundler.read_file(bundle))
 #  end
 #  -------------------------------------------


This is because the net-ldap dependency introduced in the Gemfile in line 2=
9,
https://svnweb.freebsd.org/ports/head/www/redmine/files/patch-Gemfile?view=
=3Dmark
up#l29,

and the one introduced through code in line 84 of that Gemfile, plus=20
https://svnweb.freebsd.org/ports/head/www/redmine/files/ldap.rb?view=3Dmark=
up
being moved into bundler.d/

have conflicting version numbers and confuse bundler.

It might be a good idea to patch out the optional dependency on net-ldap



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213085-21402-Zp9Eb5f0m8>