From owner-freebsd-ports@freebsd.org Sun Dec 30 18:27:38 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C1771430FA1 for ; Sun, 30 Dec 2018 18:27:38 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 58F678FE02 for ; Sun, 30 Dec 2018 18:27:37 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.gem.co (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 77280565 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sun, 30 Dec 2018 10:27:35 -0800 (PST) Subject: Re: Request for help: remove bundler from ruby 2.6 port To: Yasuhiro KIMURA , freebsd-ports@freebsd.org References: <20181229.134412.1093009159948437947.yasu@utahime.org> <20181230.103514.1004952746059751135.yasu@utahime.org> From: Pete Wright Message-ID: <087f33fc-69b8-a4a1-a23e-e7c74af960f9@nomadlogic.org> Date: Sun, 30 Dec 2018 10:27:34 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20181230.103514.1004952746059751135.yasu@utahime.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 58F678FE02 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 140.82.23.70 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[239.162.243.23.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; IP_SCORE(-2.48)[ip: (-9.17), ipnet: 140.82.16.0/21(-4.58), asn: 20473(1.41), country: US(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:140.82.16.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2018 18:27:38 -0000 On 12/29/18 5:35 PM, Yasuhiro KIMURA wrote: > From: Adam Weinberger > Subject: Re: Request for help: remove bundler from ruby 2.6 port > Date: Sat, 29 Dec 2018 15:34:17 -0700 > >> I think perhaps it's worth considering doing the opposite and, >> beginning with 2.6, install the entire standard library by default. >> Gems and stdlib exist side-by-side without problem, and many of the >> gems that are deleted are generally kept up-to-date. >> >> Even if we don't want to install the entire standard library, I'd at >> least strongly argue for including the most important gems (rake, gem, >> minitest, and bundler) by default. They are basic components of ruby >> itself, and ports should provide //optional// newer versions of them. > From: Pete Wright > Subject: Re: Request for help: remove bundler from ruby 2.6 port > Date: Sat, 29 Dec 2018 16:41:32 -0800 > >> +1 from me on this. >> >> i think the benefits of lowering the porting overhead combined with >> the fact that most ruby envs i've supported (and currently support) >> are built around the expectation that rake, gem and bundler are all >> available - so this would lower my administrative overhead as well. > Thank you for reply. Then I'm going to create full port and post here > again. But I'm away from this evening to next Saturday and can't > access development environment during that time. So if someone else > want to try it, please don't hesitate. I was able to build this on 13-CURRENT/amd64 today without issues. the ruby26 runtime seems OK after initial testing, but there is an issue with bundler26: $ /usr/local/bin/bundle26 Traceback (most recent call last):     2: from /usr/local/bin/bundle26:23:in `
'     1: from /usr/local/lib/ruby/2.6/rubygems.rb:302:in `activate_bin_path' /usr/local/lib/ruby/2.6/rubygems.rb:283:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException) i did verify that this package does not conflict with the existing rubygem-bundler and ruby24 ports. as a starting place I have created this PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234509 if i have time over the next couple days i'll take a closer look at how bundler is being built and see if can fix the above issue. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA