From owner-freebsd-ports@freebsd.org Wed Jul 13 15:14:09 2016 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 6F37CB977C1 for ; Wed, 13 Jul 2016 15:14:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5A4481AD4 for ; Wed, 13 Jul 2016 15:14:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: by mailman.ysv.freebsd.org (Postfix) id 56134B977C0; Wed, 13 Jul 2016 15:14:09 +0000 (UTC) Delivered-To: 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 55BA3B977BF for ; Wed, 13 Jul 2016 15:14:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (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 1D2A21AD3 for ; Wed, 13 Jul 2016 15:14:08 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3rqMmk1XrRzZr1; Wed, 13 Jul 2016 17:13:58 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id aXWNCNP7ts71; Wed, 13 Jul 2016 17:13:56 +0200 (CEST) Received: from tommy.madpilot.net (host131-76-dynamic.22-79-r.retail.telecomitalia.it [79.22.76.131]) by mail.madpilot.net (Postfix) with ESMTPSA; Wed, 13 Jul 2016 17:13:56 +0200 (CEST) Subject: Re: OS version upgrade detected. Running "pkg-static install -f pkg" recommended To: "Julian H. Stacey" , ports@freebsd.org References: <201607131449.u6DEnbsJ065787@fire.js.berklix.net> From: Guido Falsi Message-ID: Date: Wed, 13 Jul 2016 17:13:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <201607131449.u6DEnbsJ065787@fire.js.berklix.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2016 15:14:09 -0000 On 07/13/16 16:49, Julian H. Stacey wrote: > Hi ports@ > With: > uname -a > FreeBSD lapr.js.berklix.net 12.0-CURRENT FreeBSD 12.0-CURRENT \ > #1 r302560M: Wed Jul 13 01:28:27 CEST 2016 \ > jhs@lapr.js.berklix.net:/usr/src/sys/amd64/compile/LAPR.small amd64 > > cd /usr/ports; svn up > Updating '.': > At revision 418418 > > make fetch > pkg-static: Warning: Major OS version upgrade detected. \ > Running "pkg-static install -f pkg" recommended > > This is an incomplete thus bad reccomendation, based on a false > assumption all users of ports/ only want packages. It's quite obvious > from "make fetch" that here one wants to fetch distfiles to recompile, > not install binary packages, the warning should at least also provide > an alternate recipe for ports/ source based users who want to > recompile whatever to get rid of warning. > > What causes the warning ? a grep of Mk/* doesnt show it, > It's presumably coming from Mk/ calling some pkg ? > In /usr/src/usr.sbin/pkg ? I fail to grep for Major > > What text can we add to which Mk/* to state the source upgrade route ? > It' the "pkg-static" binary installed by the ports-mgmt/pkg port. It's invoked in various ways by the ports framework. You can ignore such warnings, they will go away once you forcibly update the pkg port. -- Guido Falsi