From owner-freebsd-ruby@freebsd.org Thu Jul 21 17:54:07 2016 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C44D9BA147B for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A24631C56 for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A1A04BA1479; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A14E1BA1478 for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86AA51C4C for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6LHs70W065457 for ; Thu, 21 Jul 2016 17:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 211276] [PATCH]: www/redmine: Fix error from duplicate net-ldap gem check Date: Thu, 21 Jul 2016 17:54:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: feld@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 17:54:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211276 Bug ID: 211276 Summary: [PATCH]: www/redmine: Fix error from duplicate net-ldap gem check Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch, patch-ready Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ruby@FreeBSD.org Reporter: feld@FreeBSD.org Flags: maintainer-feedback?(ruby@FreeBSD.org), maintainer-feedback?, merge-quarterly? Keywords: patch Created attachment 172791 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172791&action= =3Dedit patch On a clean install of Redmine: App 82673 stdout: [ 2016-07-21 13:42:03.2952 47178/0x805958800 age/Cor/App/Implementation.cpp= :304 ]: Could not spawn process for application /usr/local/www/redmine: An error occurred while starting up the preloader. Error ID: 4ae9bdd1 Error details saved to: /tmp/passenger-error-cZyXLf.html Message from application: [!] 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 # ------------------------------------------- (Bundler::Dsl::DSLError) /usr/local/www/redmine/Gemfile:94:in `instance_eval' (eval):1:in `block in eval_gemfile' /usr/local/www/redmine/Gemfile:94:in `instance_eval' /usr/local/www/redmine/Gemfile:94:in `block in eval_gemfile' /usr/local/www/redmine/Gemfile:93:in `each' /usr/local/www/redmine/Gemfile:93:in `eval_gemfile' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:39:in `instance_eval' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:39:in `eval_gemfile' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/dsl.rb:11:in `evaluate' =20 /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/definition.rb:= 25:in `build' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler.rb:123:in `definition' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler.rb:91:in `se= tup' /usr/local/lib/ruby/gems/2.2/gems/bundler-1.12.1/lib/bundler/setup.rb:19:= in `' /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:= in `require' /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:= in `require' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_passenger/loader_shared_helpers.rb:430:in `activate_gem' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_passenger/loader_shared_helpers.rb:435:in `running_bundler' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28/src/ruby_supportlib/phus= ion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -preloader.rb:100:in `preload_app' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -preloader.rb:156:in `' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -preloader.rb:30:in `' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -preloader.rb:29:in `
' 13:48:43 ticketstest:/usr/local/www/redmine > pkg which /usr/local/www/redmine/bundler.d/ldap.rb=20 /usr/local/www/redmine/bundler.d/ldap.rb was installed by package redmine-3= .2.3 13:48:50 ticketstest:/usr/local/www/redmine > cat /usr/local/www/redmine/bundler.d/ldap.rb gem "net-ldap", ">=3D 0.12.0" So the Gemfile and bundler.d/ldap.rb conflict on this net-ldap gem check. I don't see how bundler.d/* files are being generated, so it seems easiest to just remove it from the main Gemfile. --=20 You are receiving this mail because: You are the assignee for the bug.=