On 2024-06-18, at 10:49:42 +0100, Jeremy Sowden wrote:
> On 2024-06-18, at 09:31:04 +0200, Lucas Nussbaum wrote:
> > On 17/06/24 at 05:45 +0200, Aymeric Agon-Rambosson wrote:
> > >
> > > control: tags -1 +unreproducible
> > > control: severity -1 important
> > >
> > > Hello Lucas,
> > >
> > > It turns out I cannot reproduce the issue on an unstable chroot.
> > >
> > > I am attaching the log of the sbuild.
> >
> > I can still reproduce the failure. I attach a fresher build log, but
> > nothing obvious shows up...
>
> I also get test failures, e.g.:
>
> Ran 31 tests, 24 results as expected, 7 unexpected (2024-06-17 07:32:40+0000, 1.485040 sec)
>
> 7 unexpected results:
> FAILED magit-get
> FAILED magit-get-{current|next}-tag
> FAILED magit-list-{|local-|remote-}branch-names
> FAILED magit-status:file-sections
> FAILED magit-status:log-sections
> FAILED magit-status:section-commands
> FAILED magit-toplevel:submodule
>
> The number seems to vary depending on environment (cowbuilder vs
> schroot, `gbp buildpackage` vs `fakeroot debian/rules`), and I have had
> some successful builds too. Helpful. I will take a closer look and see
> if I can work out what's going on.
The problem is that git-commit requires the name and e-mail address of
the committer as well as the author.
(sid)aztest@ulthar:~$ cd $( mktemp -d )
(sid)aztest@ulthar:/tmp/tmp.6XyqcRs3l9$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.6XyqcRs3l9/.git/
(sid)aztest@ulthar:/tmp/tmp.6XyqcRs3l9$ $ git config --list
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
(sid)aztest@ulthar:/tmp/tmp.6XyqcRs3l9$ GIT_AUTHOR_NAME=Aztest GIT_AUTHOR_EMAIL=aztest@sid.ulthar.dreamlands git commit --allow-empty
Committer identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <aztest@ulthar.dreamlands>) not allowed
(sid)aztest@ulthar:/tmp/tmp.6XyqcRs3l9$ git -c 'user.name=Aztest' -c 'user.email=aztest@sid.ulthar.dreamlands' commit --allow-empty -m init
[master (root-commit) 87f2420] init
There is an existing patch that sets the e-mail address, but not the
name. I will update it and forward it upstream.
J.
Attachment:
signature.asc
Description: PGP signature