From owner-freebsd-ruby@FreeBSD.ORG Sun Aug 31 14:16:21 2014 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71CD3421 for ; Sun, 31 Aug 2014 14:16:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F1421BF2 for ; Sun, 31 Aug 2014 14:16:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7VEGLZM047655 for ; Sun, 31 Aug 2014 14:16:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 193195] lang/ruby21 deleted lang/ruby19 Date: Sun, 31 Aug 2014 14:16:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: swills@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 14:16:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193195 Steve Wills changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Discussion CC| |swills@FreeBSD.org --- Comment #2 from Steve Wills --- (In reply to gja822 from comment #0) > uname: FreeBSD --- 9.3-RELEASE FreeBSD 9.3-RELEASE #5 r270286M amd64 > > I'm updgrading ports and I had these lines in pkg version output: > ruby-1.9.3.547,1 < needs updating (index has > 1.9.3.547_1,1) > ruby21-2.1.2,1 < needs updating (index has 2.1.2_1,1) > > Trying to upgrade the latter got "install error". Would need more detail on the exact error message. > Then I manually typed from > lang/ruby21 "make deinstall", I saw that not ruby21, but ruby19 was > deinstalling! > I have DEFAULT_VERSIONS ruby=2.1 in make.conf. Seeing "ruby-1.9.3.547,1" instead of "ruby19-1.9.3.547,1" tells me that ruby 1.9 *was* your default ruby when you installed it. Having DEFAULT_VERSIONS=ruby=2.1 then running "make deinstall" in lang/ruby21, which was currently set to default, tries to uninstall your default ruby, which in this case was 1.9. So this actually isn't surprising and I'm not sure it's incorrect. > Now I can't deinstall ruby21 ("which is in conflict with ruby-2.1"). Would need to see the detailed error message on this. > If I > try to "pkg delete ruby21-2.1.2,1" I'll have to delete a huge bunch of > dependant packages, that is not I want, unless I could easily reinstall them. This is just a side effect of having changed your default ruby. If we had ever had it so that the default ruby was only used at build time and all packages had the version suffix (19,20,21), you may not have this problem. But currently, changing default ruby version doesn't work this way. > Something is definitely wrong. I'm not so sure. I think this is just related to changing your default ruby version. -- You are receiving this mail because: You are the assignee for the bug.