Re: How to update local pkgbase reository same as official one
- In reply to: Lexi Winter : "Re: How to update local pkgbase reository same as official one"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Oct 2025 02:42:36 UTC
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 Kimura