Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2016 10:07:51 -0500
From:      Matthew Donovan <kitche@kitchetech.com>
To:        Franco Fichtner <franco@lastsummer.de>
Cc:        ports@freebsd.org, "Julian H. Stacey" <jhs@berklix.com>
Subject:   Re: OS version upgrade detected. Running "pkg-static install -f pkg" recommended
Message-ID:  <CABgom6f-K6djAmbvraArxzV8FV=OkqRy=3B=Dczs89wJtrE6_w@mail.gmail.com>
In-Reply-To: <C9D1A247-2EF4-4C66-8244-FCFA2F155859@lastsummer.de>
References:  <201607131449.u6DEnbsJ065787@fire.js.berklix.net> <C9D1A247-2EF4-4C66-8244-FCFA2F155859@lastsummer.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Not sure how this is bad it just reinstalls pkg for the new ABI.
Ports/packages is placed in the database by pkg. So you will get that
warning when even doing pkg list
On Jul 13, 2016 9:59 AM, "Franco Fichtner" <franco@lastsummer.de> wrote:

> Hi Julian,
>
> I ran into something similar, maybe this make.conf flag helps:
>
> CLEAN_FETCH_ENV=yes
>
>
> Cheers,
> Franco
>
> > On 13 Jul 2016, at 4:49 PM, Julian H. Stacey <jhs@berklix.com> 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 ?
> >
> > Cheers,
> > Julian
> > --
> > Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
> http://berklix.eu/jhs/
> > Mail plain text,  No quoted-printable, HTML, base64, MS.doc.
> > Prefix old lines '> '  Reply below old, like play script.  Break lines
> by 80.
> > http://berklix.eu/brexit/#stolen_votes
> > _______________________________________________
> > freebsd-ports@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> >
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABgom6f-K6djAmbvraArxzV8FV=OkqRy=3B=Dczs89wJtrE6_w>