Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 14:29:48 +0000
From:      void <void@f-m.fm>
To:        "Lexi Winter" <lexi@le-fay.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: meta mode
Message-ID:  <a6e49337-0ba7-47cc-9701-a0ec9753ac44@app.fastmail.com>
In-Reply-To: <ZbUKdeuXK92TOeV7@ilythia.eden.le-fay.org>
References:  <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com> <ZbUKdeuXK92TOeV7@ilythia.eden.le-fay.org>

index | next in thread | previous in thread | raw e-mail

Hi,

On Sat, 27 Jan 2024, at 13:51, Lexi Winter wrote:

> the (easiest) fix for that is to do a full rebuild every time
> __FreeBSD_version changes.
>
> pkg(8) bug report: https://github.com/freebsd/pkg/issues/2162
>
> i don't know if meta mode will catch this and rebuild correctly, but
> since this confused me the first time i ran into it, i thought it was
> worth mentioning.

Thank you. 

I've not encountered the issue you describe yet - not by design though,
more like by accident ;)

I normally use a local poudriere for local ports. Rather than having
a make.conf src.conf etc specifically for the poudriere jail, instead they are 
symlinked to /etc/src.conf and /etc/make.conf (and /etc/src-env.conf)
and the jail is built after a make installworld for the system using
-m src=/usr/src (and because it uses the obj files created previously,
it'll build and install in about a minute).

Because the jail gets rebuilt when poudriere runs again, it clears out 
all packages and rebuilds them automatically against the new freebsd
version.

What I was worried about is if in /etc/src.conf I build from
a default system, (for example) add WITHOUT_IPV6= and WITH_SORT_THREADS=
whether the OS is smart enough to tidy the cruft left behind
after these adjustments.
-- 


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6e49337-0ba7-47cc-9701-a0ec9753ac44>