Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2023 15:19:46 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        freebsd-current@freebsd.org
Subject:   Re: revision not displayed in a2440348eed7
Message-ID:  <20230926221946.4F2C1623@slippy.cwsent.com>
In-Reply-To: <20230926231431.20f42fec1075c3980446c50a@dec.sakura.ne.jp>
References:  <202309260107.38Q17Vp0047265@kx.truefc.org>  <bcb843e0-a2ca-18d9-70cd-cb702467c72a@aetern.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> <20230926231431.20f42fec1075c3980446c50a@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20230926231431.20f42fec1075c3980446c50a@dec.sakura.ne.jp>, 
Tomoaki
AOKI writes:
> On Tue, 26 Sep 2023 15:48:50 +0200
> Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> 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
>
>

This could be due to e6dc6a27230, which was committed this morning. There 
is discussion on the src commits ML (dev-commits-src-all, 
dev-commits-src-main) about reverting the change.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230926221946.4F2C1623>