From owner-freebsd-ports@freebsd.org Tue Sep 29 15:30:18 2015 Return-Path: Delivered-To: freebsd-ports@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 7148FA0AA84 for ; Tue, 29 Sep 2015 15:30:18 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from stig.purplehat.org (stig.purplehat.org [50.243.134.106]) (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 4ADD31BB1 for ; Tue, 29 Sep 2015 15:30:17 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from localhost (bill.goatse.unfs.us [50.243.134.106]) by stig.purplehat.org (Postfix) with ESMTP id 092C0231A3 for ; Tue, 29 Sep 2015 09:24:54 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unfs.us; s=mail; t=1443540294; bh=6QKBj7Q+qMYYW5UxXtHqHtFcqghYsFA1weqdh16g1gs=; h=Subject:To:References:From:Date:In-Reply-To; b=bFnoEDtBLMUH9kW1rqbRtLA9P2ncOQRj4+94KrI2dLA8fts7XnyDqN8lVnbphdjNd bhdDb8HF7OGbSz2kVbiYstb1yVYKQdK5eSITJKu6NTBOcNRasPPT879eRbvf6JEEoV e0DzkUnWgl9rqAghPsD4zMuj8byXohLYfE88bFqM= Received: from stig.purplehat.org ([50.243.134.106]) by localhost (stig.purplehat.org [50.243.134.106]) (maiad, port 10024) with ESMTP id 25280-10 for ; Tue, 29 Sep 2015 09:24:52 -0600 (MDT) Received: from [172.30.30.6] (unknown [172.30.30.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by stig.purplehat.org (Postfix) with ESMTPSA id 97D2323197 for ; Tue, 29 Sep 2015 09:24:52 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=unfs.us; s=mail; t=1443540292; bh=6QKBj7Q+qMYYW5UxXtHqHtFcqghYsFA1weqdh16g1gs=; h=Subject:To:References:From:Date:In-Reply-To; b=KUzQ8hYnIpW2TwmMTfHPqNWNwfFVK5vDSVC/Vm/Q3ErbOnbzKssiXR5fzwdp2GsA1 EIpGmoXk7sjirTdsRt8ApvvR77n/cu96PTM+hs4JLerpW5aVNJ0XMcVIsEwmuh0oUh HcKACnulF85CCxEDSoQnhFK+NTHLKbWCWtN+i9Q8= Subject: Re: Ports requires pkg 1.6.0, but 1.5.6 is the latest available To: freebsd-ports@freebsd.org References: <5609D023.70402@bluerosetech.com> <560A47FE.6010507@bluerosetech.com> From: "Janky Jay, III" X-Enigmail-Draft-Status: N1110 Message-ID: <560AAD43.5000207@unfs.us> Date: Tue, 29 Sep 2015 09:24:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560A47FE.6010507@bluerosetech.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 15:30:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On 09/29/2015 02:12 AM, Mel Pilgrim wrote: > On 2015-09-28 21:31, Kevin Oberman wrote: >> On Mon, Sep 28, 2015 at 4:41 PM, Mel Pilgrim >> wrote: >> >>> I'm trying to build and install security/openssh-portable, but >>> when I do, make errors out with: >>> >>> ===> openssh-portable-7.1.p1_2,1 pkg(8) must be version 1.6.0 >>> or greater, but you have 1.5.6. You must upgrade the >>> ports-mgmt/pkg port first. *** Error code 1 >>> >>> Stop. make: stopped in /usr/ports/security/openssh-portable >>> >>> I'm using an svn checkout of >>> https://svn.freebsd.org/ports/head. I also cleaned my package >>> cache and forced an update of the local catalogues, but pkg >>> tells me the latest version of pkg available, at least for >>> amd64 10.2p3, is 1.5.6. >>> >>> I rolled back my local ports tree to r397904 (r397905 was the >>> MINIMAL_PKG_VERSION bump) and it works fine. >>> >>> I'm guessing from other posts on this list that pkg 1.6.0 out, >>> but it doesn't seem to be in the public pkg repo. I didn't >>> see anything in UPDATING about it. >>> >>> What am I missing? >>> >> >> I believe that 10.2p3 only updated to the latest quarterly >> package build. If you want something more recent, you will need >> to edit the config file (/etc/pkg/FreeBSD.conf) to use "latest" >> repo. I believe that url: "pkg+ >> http://pkg.FreeBSD.org/${ABI}/latest" should do the trick. >> >> More of concern is why svn is not working. What does "svn info >> /usr/ports" show? "svn status /usr/ports"? I and assure you that >> pkg-1.6.1 IS in svn. I have it and built and installed it >> earlier today. You can confirm what is in the repo by checking >> out the web interface: >> https://svnweb.freebsd.org/ports/head/ports-mgmt/pkg/. > > svn is working fine. pkg is installed from pkgs, not ports. The > issue I'm raising is that the ports tree made mandatory something > that isn't available by default in 10.2. > > I ultimately fixed it by switching to the "latest" repo (the repo > config edit you mentioned). I was already disinterested in the > quarterly repos because it smacks of Debian-ness, and this > confirms why stability-by-staleness is a bad idea. > I ran into this exact same issue using SVN and portmaster to upgrade 'git'. Upgrading 'pkg' using portmaster (portmaster -d 'pkg-1.5.6') before running 'portmaster -ad' fixed the issue. Generally, though, portmaster usually updates pkg first and then moves along the rest of the updates automatically. For whatever reason, that was not the case today. Regards, Janky Jay, III -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlYKrUMACgkQGK3MsUbJZn6KuwCfajnPMz+UWZJzxtO7RTMk2xFX tKUAn0SQ5CM0aL/SlfG7wbOMB+81im9S =8gj4 -----END PGP SIGNATURE-----