Date: Fri, 31 Oct 2025 11:42:36 +0900 (JST) From: Yasuhiro Kimura <yasu@FreeBSD.org> To: freebsd-pkgbase@freebsd.org Subject: Re: How to update local pkgbase reository same as official one Message-ID: <20251031.114236.649857360483688727.yasu@FreeBSD.org> In-Reply-To: <aQPkOKG3SpJArl16@amaryllis.le-fay.org> References: <aQO5BdCqDBhXMryE@amaryllis.le-fay.org> <20251031.070238.646102018337941135.yasu@FreeBSD.org> <aQPkOKG3SpJArl16@amaryllis.le-fay.org>
index | next in thread | previous in thread | raw e-mail
From: Lexi Winter <ivy@freebsd.org> Subject: Re: How to update local pkgbase reository same as official one Date: Thu, 30 Oct 2025 22:18:32 +0000 >> > if you find more packages are being updated than you expected, perhaps >> > check to ensure you have WITH_REPRODUCIBLE_BUILD enabled; without this, >> > a lot of things can change between builds that cause binary output to >> > change even though the code hasn't changed. >> >> I build local pkgbase repository on 16-CURRENT amd64 and there is only >> setting of REPODIR in /etc/src.conf. So WITH_REPRODUCIBLE_BUILD is not >> enabled. I'll try enabling it next time I update local pkgbase >> repository. > > if you run main, note that any update to __FreeBSD_version will cause > every package to be updated, because we encode this value in the ELF > header of every executable. It seems files under /usr/obj that were built with previous packages build need to be kept to update packages incrementally. Since it was my routine to start packages build with `rm -rf /usr/obj/*`, I needed to try packages build several times before noticing it. --- Yasuhiro Kimurahome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20251031.114236.649857360483688727.yasu>
