From nobody Tue Sep 26 14:14:31 2023 X-Original-To: freebsd-current@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 4Rw1vy3zdbz4vCg4 for ; Tue, 26 Sep 2023 14:14:38 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rw1vw35MCz4KC5 for ; Tue, 26 Sep 2023 14:14:36 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-80-101.area1b.commufa.jp [123.1.80.101]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 38QEEVeJ056026 for ; Tue, 26 Sep 2023 23:14:32 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 26 Sep 2023 23:14:31 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Subject: Re: revision not displayed in a2440348eed7 Message-Id: <20230926231431.20f42fec1075c3980446c50a@dec.sakura.ne.jp> In-Reply-To: <4c348f85-d99c-c7c3-5e1a-a435983b720b@plan-b.pwste.edu.pl> References: <202309260107.38Q17Vp0047265@kx.truefc.org> <202309260629.38Q6T018051416@kx.truefc.org> <20230926181845.539e5816fbef80efda6162ec@dec.sakura.ne.jp> <202309261130.38QBUsLF053699@kx.truefc.org> <4c348f85-d99c-c7c3-5e1a-a435983b720b@plan-b.pwste.edu.pl> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: - X-Spamd-Result: default: False [-1.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Rw1vw35MCz4KC5 On Tue, 26 Sep 2023 15:48:50 +0200 Marek Zarychta wrote: > W dniu 26.09.2023 o 13:30, KIRIYAMA Kazuhiko pisze: > > At least up to 15.0-CURRENT, nothing has happend by > > WITHOUT_REPRODUCIBLE_BUILD=yes. Something has changed in > > 15.0-CURRENT at some time. I've rebuilded with 3fb80f1476c7, > > but revision not showed by `uname -a' ;-( > > > > What changed ???? > > Nothing changed. Perhaps your build system can't check git hash ? If > your sources are from git repository, you need at least git-lite > installed and full git repository available on build machine. If you > checked out the repository with gitup and have gitup installed, it > should also work. It won't work if your build machine has access  to > only a part of the repository like worktree. > > Cheers > > -- > Marek Zarychta Just a possibility, but copying src tree to directory other than the directory where checked out from git repo and building there could lose track with git hash. Another possibility is that if you build src with any user other than the one owning local (pulled) git repo could also lose track with git hash. For example, if I `git log HEAD` with regular user and the local repo is pulled by root, it fails. No special configuration is done. % git log HEAD fatal: detected dubious ownership in repository at '/usr/src' To add an exception for this directory, call: git config --global --add safe.directory /usr/src -- Tomoaki AOKI