From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 11:53:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8907433E for ; Sun, 27 Jul 2014 11:53:36 +0000 (UTC) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AF03246A for ; Sun, 27 Jul 2014 11:53:35 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id m1so7512760oag.35 for ; Sun, 27 Jul 2014 04:53:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Ytm4U1+gw1sr+vtPADfKb2JBTuK0+8GgcetTCzbXXGA=; b=TEHvhEPJhdka7p8p5DAFrtHmC7Rg09/hfoE6941OdOM52OHGnn2MqDDVoFHa2AAoFw U5FEGuEdQjcTjGY1RKx8SCpf4Rm6eKBYxsxSWrISWCYqhCQkZT2EWCV+Y/WafJ4UHh75 5DVv0hf5m+COCNAv/EhHYmlaVQBRuEeV86duZbnkh5XPZmm5aIRFKFPMI236oPnLhA3e s5hKeE/EMzkb0tHWfKWLaPpCT9BEzH3qPKi8ZRtkxSyKBzn7mOxv1XWEs3TbpcxlzrkJ Qjo0A6ZuIksusn+57iKp2VExo9X2pnsE69tBwp2o7306K6qfjwhJblOBoF0Mx/qBCL6W c+5A== X-Gm-Message-State: ALoCoQkClN8/vo8AuWYm3/mj3MwIOhVZBJ+NpHDYag8juzz1kthnP2dM1bdK8ic4O5eBRPRmJMmI MIME-Version: 1.0 X-Received: by 10.60.140.234 with SMTP id rj10mr38868327oeb.6.1406458316354; Sun, 27 Jul 2014 03:51:56 -0700 (PDT) Received: by 10.182.40.137 with HTTP; Sun, 27 Jul 2014 03:51:56 -0700 (PDT) X-Originating-IP: [2001:44b8:31b0:aa00:be5f:f4ff:fe4a:cae2] Date: Sun, 27 Jul 2014 20:51:56 +1000 Message-ID: Subject: portversion doesn't seem to know what's out of date From: Jason Birch To: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 11:53:36 -0000 I built FreeBSD for my Beaglebone Black a couple of weeks ago, and went to do an update just then. After updating /usr/ports, I ran `portversion | grep \<` to see a list of what could be updated. Knowing that this takes a bit longer and needing to run out the door, I also type `portupgrade -aF` afterwards, to fetch anything that might need upgrading. When I returned, I found that portversion seemed to think everything was up to date, but `portupgrade -aF` had found and downloaded upgrades to ruby, pkg, Net-SSLeay, gnutls, and emacs-nox11. Checking the verbose output of portversion, I saw that portversion seemed to think the out-of-date version was up to date with the port... root@beaglebone:/usr/home/jbirch # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... none found. Fetching snapshot tag from portsnap.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Thu Jul 10 04:42:24 UTC 2014 to Sun Jul 27 05:09:26 UTC 2014. .... Fetching 63 new ports or files... done. root@beaglebone:/usr/home/jbirch # portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/CHANGES .... /usr/ports/editors/emacs-nox11/ .... /usr/ports/lang/ruby19/ .... /usr/ports/ports-mgmt/pkg/ .... /usr/ports/security/gnutls/ .... /usr/ports/security/p5-Net-SSLeay/ .... root@beaglebone:/usr/home/jbirch # portversion | grep \< [Reading data from pkg(8) ... - 63 packages found - done] root@beaglebone:/usr/home/jbirch # portupgrade -aF [Reading data from pkg(8) ... - 63 packages found - done] ---> Fetching the distfile(s) for 'ruby-1.9.3.547,1' (lang/ruby19) .... ---> Fetching the distfile(s) for 'pkg-1.3.1' (ports-mgmt/pkg) .... ---> Fetching the distfile(s) for 'p5-Net-SSLeay-1.65' (security/p5-Net-SSLeay) .... ---> Fetching the distfile(s) for 'gnutls-3.2.16_1' (security/gnutls) .... ---> Fetching the distfile(s) for 'emacs-nox11-24.3_11,3' (editors/emacs-nox11) .... root@beaglebone:/usr/home/jbirch # portversion -v [Reading data from pkg(8) ... - 63 packages found - done] .... emacs-nox11-24.3_10,3 = up-to-date with port .... gnutls-2.12.23_6 = up-to-date with port .... p5-Net-SSLeay-1.64 = up-to-date with port .... pkg-1.2.7_4 = up-to-date with port .... ruby-1.9.3.484_2,1 = up-to-date with port .... root@beaglebone:/usr/home/jbirch # uname -a FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268309: Sun Jul 6 22:13:49 EST 2014 jbirch@267801:/usr/home/jbirch/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm I'm trying to update just pkg for the moment to see if that helps the situation, but it seems to be stuck in some sort of configure loop when building from ports. I'll leave it for the night, as each loop seems to compile something different. pkg check is offering no hints as to if anything is awry -- it just looks like portversion is looking at something completely different, or not looking at anything at all. Has anyone seen this behaviour before, or can point me forward? JB