* Build race observed with git 2.34.1 - hook-list.h wasn't generated yet
@ 2021-12-07 11:31 Alexander Kanavin
2021-12-07 14:34 ` Victoria Dye
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2021-12-07 11:31 UTC (permalink / raw)
To: git
Specifically:
builtin/bugreport.c:7:10: fatal error: hook-list.h: No such file or directory
| 7 | #include "hook-list.h"
| | ^~~~~~~~~~~~~
| compilation terminated.
Please see here for the full log:
https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/4427/steps/14/logs/stdio
Seems like COMPUTE_HEADER_DEPENDENCIES isn't working quite right? I meanwhile have set it to
'no'.
Thanks,
Alexander
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Build race observed with git 2.34.1 - hook-list.h wasn't generated yet
2021-12-07 11:31 Build race observed with git 2.34.1 - hook-list.h wasn't generated yet Alexander Kanavin
@ 2021-12-07 14:34 ` Victoria Dye
2021-12-07 17:36 ` Ævar Arnfjörð Bjarmason
0 siblings, 1 reply; 3+ messages in thread
From: Victoria Dye @ 2021-12-07 14:34 UTC (permalink / raw)
To: Alexander Kanavin, git, Ævar Arnfjörð Bjarmason,
Junio C Hamano
Alexander Kanavin wrote:
> Specifically:
>
> builtin/bugreport.c:7:10: fatal error: hook-list.h: No such file or directory
> | 7 | #include "hook-list.h"
> | | ^~~~~~~~~~~~~
> | compilation terminated.
>
> Please see here for the full log:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/4427/steps/14/logs/stdio
>
> Seems like COMPUTE_HEADER_DEPENDENCIES isn't working quite right? I meanwhile have set it to
> 'no'.
>
> Thanks,
> Alexander
>
I've encountered this as well, and it appears to be a dependency graph
issue. For me, compilation was fixed by a patch [1] that isn't in next or
master yet ("Needs review" - ab/make-dependency [2]). If this an important
fix to fast-track (I'll defer to more experienced contributors to determine
that), it might speed up review to separate that patch from the rest of the
series?
[1] https://lore.kernel.org/git/patch-v4-19.23-2710f8af6cd-20211117T101807Z-avarab@gmail.com/
[2] https://lore.kernel.org/git/xmqqbl1xqheu.fsf@gitster.g/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Build race observed with git 2.34.1 - hook-list.h wasn't generated yet
2021-12-07 14:34 ` Victoria Dye
@ 2021-12-07 17:36 ` Ævar Arnfjörð Bjarmason
0 siblings, 0 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2021-12-07 17:36 UTC (permalink / raw)
To: Victoria Dye; +Cc: Alexander Kanavin, git, Junio C Hamano
On Tue, Dec 07 2021, Victoria Dye wrote:
> Alexander Kanavin wrote:
>> Specifically:
>>
>> builtin/bugreport.c:7:10: fatal error: hook-list.h: No such file or directory
>> | 7 | #include "hook-list.h"
>> | | ^~~~~~~~~~~~~
>> | compilation terminated.
>>
>> Please see here for the full log:
>> https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/4427/steps/14/logs/stdio
>>
>> Seems like COMPUTE_HEADER_DEPENDENCIES isn't working quite right? I meanwhile have set it to
>> 'no'.
>>
>> Thanks,
>> Alexander
>>
>
> I've encountered this as well, and it appears to be a dependency graph
> issue. For me, compilation was fixed by a patch [1] that isn't in next or
> master yet ("Needs review" - ab/make-dependency [2]). If this an important
> fix to fast-track (I'll defer to more experienced contributors to determine
> that), it might speed up review to separate that patch from the rest of the
> series?
>
> [1] https://lore.kernel.org/git/patch-v4-19.23-2710f8af6cd-20211117T101807Z-avarab@gmail.com/
>
> [2] https://lore.kernel.org/git/xmqqbl1xqheu.fsf@gitster.g/
As the person who broke it sorry again about the bother.
If Junio would like to fast-track it that patch is cleanly
cherry-pickable on top of master.
I review by someone so that ab/make-dependency can move forward is also
most welcome.
Such a review can be done without any particular expertise of the
Makefile or the "GNU make" language. Just check out
gitster/ab/make-dependency and check if your normal build workflows work
as expected.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-07 17:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-07 11:31 Build race observed with git 2.34.1 - hook-list.h wasn't generated yet Alexander Kanavin
2021-12-07 14:34 ` Victoria Dye
2021-12-07 17:36 ` Ævar Arnfjörð Bjarmason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).