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:   [Bug 213085] www/redmine: depends on net-ldap twice, with different version numbers.
Message-ID:  <bug-213085-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213085

            Bug ID: 213085
           Summary: www/redmine: depends on net-ldap twice, with different
                    version numbers.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: xmj@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)
          Assignee: ruby@FreeBSD.org

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=
=3Dmarkup#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

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



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