From nobody Fri Oct 31 02:42:36 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cyQJh5nHkz6DmNS for ; Fri, 31 Oct 2025 02:43:16 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cyQJh52wDz3vwk; Fri, 31 Oct 2025 02:43:16 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761878596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fAH7RkISMWtoOMX1GABrXkRxu9abYOgr7tKDDhRmFw0=; b=Qu4zRSRRAqu6j+Bd4GMDUJmv72BmOg4heHNS9WerEshJzWBxmf+PovPWbNE1eAHk1pDaAs h2D2A/m3c7T6WBCUN6nVWPixbYlRXXnEkKjoiG8N3/7iu3x4VgxNSNX9Sy4AQTR7o9SSBS eWMtnuh3pqtD1ZTr2XPRTZYmcwvmoyDqFeWQOId1d0oXaO+1vnju7WrF1A7bgo9euqbtLL SJWTzQPCIhCnCYSjLXv88jgusXmAz9oC1++tCaSfxIA4aEAFYJoY5nY/RMCyvtUBFDP8QJ axHkvg0iBwpXMRp/Mo25t/555zi/mDEVb0RETe0RgsBd1qOG3sqDY0KYPQjK0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761878596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fAH7RkISMWtoOMX1GABrXkRxu9abYOgr7tKDDhRmFw0=; b=eMf9klkAWcaunJ0AY2Pg7Q/DRuD4CyRk7mqmnAfpM0WJvymbdifLm0mhGYri5+4SeYOB1T BDPF9zliAXv/0FQy47ETHXEhaiL6/t1Du4E50tgGtCHXb4hIdrZOP4qwzO+59iVp/b66oE FuB7tPyVjPOzX/LDpu29oMths+hehkH7f0zSTEqaVgJoZ6YmCf/J1sKcYEFgwdlvNi95I9 HQOs3CvP/YArE56Zut3JHA7iX/TAEvl5OXio5LRZ0pP7bEvWjhJFOrgU/9PmH1MCBo7fXc QnuLXYrR5/e6Y/dwMOH847vSzWwjDiSzc9oI1YZYfgPTD5iXLrXHEVuFCSNT/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761878596; a=rsa-sha256; cv=none; b=RrWHVz43WRibbqJVQwsDNWTCQ7eTJDdwmCevEIJeUofHYNobY7laFHskFxDYl0fNBdESZX Im3PVAQHFqZWG6RYePPT0N7y6s4orcv8679PGgVCIEqi4jo7+M082tiXl8a1xL8yn+Tid+ PKQQXdp054+dXLafft2ahJq4hrOsVG3Tl3UKwW5Zpzgesv6To/7rZbZtGKzlIupfaE/3pD xfY9Lx7McR/qvqCoE21hNj/xD8aPTXXovjcHldlPbUpVaYASALfQbFcXZXoLrCrpWuKMGs AJAYettq7btuHMJkspvEVVOZ0cRCcaAtnUB0ye50WJ2Cx8u6ws3nPZXhqdhPCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cyQJh0ScGzGSZ; Fri, 31 Oct 2025 02:43:15 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Fri, 31 Oct 2025 11:42:36 +0900 (JST) Message-Id: <20251031.114236.649857360483688727.yasu@FreeBSD.org> To: freebsd-pkgbase@freebsd.org Subject: Re: How to update local pkgbase reository same as official one From: Yasuhiro Kimura In-Reply-To: References: <20251031.070238.646102018337941135.yasu@FreeBSD.org> X-Mailer: Mew version 6.10 on Emacs 31.0.50 List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Lexi Winter 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