portversion doesn't seem to know what's out of date

Jason Birch jbirch at jbirch.net
Sun Jul 27 11:53:36 UTC 2014

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 at 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
    Fetching 63 new ports or files... done.

    root at beaglebone:/usr/home/jbirch # portsnap update
    Removing old files and directories... done.
    Extracting new files:

    root at beaglebone:/usr/home/jbirch # portversion | grep \<
    [Reading data from pkg(8) ... - 63 packages found - done]

    root at beaglebone:/usr/home/jbirch # portupgrade -aF
    [Reading data from pkg(8) ... - 63 packages found - done]
    --->  Fetching the distfile(s) for 'ruby-,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'
    --->  Fetching the distfile(s) for 'gnutls-3.2.16_1' (security/gnutls)
    --->  Fetching the distfile(s) for 'emacs-nox11-24.3_11,3'

    root at 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          =  up-to-date with port

    root at 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 at 267801:/usr/home/jbirch/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE

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?


More information about the freebsd-questions mailing list