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 90054BA1477 for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 746DD1C4A for ; Thu, 21 Jul 2016 17:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6EE9BBA1474; 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 6E876BA1473 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 5B0EB1C47 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 u6LHs70U065457 for ; Thu, 21 Jul 2016 17:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: maintainer-feedback requested: [Bug 211276] [PATCH]: www/redmine: Fix error from duplicate net-ldap gem check Date: Thu, 21 Jul 2016 17:54:07 +0000 X-Bugzilla-Type: request 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: 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? Message-ID: In-Reply-To: References: 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 Mark Felder has reassigned Bugzilla Automation 's request for maintainer-feedback to ruby@FreeBSD.or= g: Bug 211276: [PATCH]: www/redmine: Fix error from duplicate net-ldap gem che= ck https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211276 --- Description --- 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:i n `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= -pre loader.rb:100:in `preload_app' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:156:in `' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.rb:30:in `' =20 /usr/local/lib/ruby/gems/2.2/gems/passenger-5.0.28//src/helper-scripts/rack= -pre loader.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.