Skip to contentSkip to conversation

races in toolstack build

DISCUSSION Olaf Hering 3 participants 4 messages Sep 22, 2020

lore
Share & tools
lore
#0 lore raw

With commit 68a8aa5d72 the build randomly fails. Up to commit c7e3021a71 no errors (like this) are seen. For some reason nothing below tools/ was touched in this range, so the bug may already exist for a while.

attempt on host#1:

[   81s] ln: failed to create symbolic link '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_dom.h': File exists
[   81s] /home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/libs/libs.mk:82: recipe for target '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h' failed
[   81s] make[6]: *** [/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h] Error 1

attempt on host#2:
[ 178s] xenstat_qmp.c:26:10: fatal error: _paths.h: No such file or directory
[ 178s] me/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/stat/../../../tools/Rules.mk:153: xenstat_qmp.opic] Error 1

Olaf

#1 lore raw
Quoted 4 lines · Olaf Hering

With commit 68a8aa5d72 the build randomly fails. Up to commit c7e3021a71 no errors (like this) are seen. For some reason nothing below tools/ was touched in this range, so the bug may already exist for a while.

attempt on host#1:
[ 81s] ln: failed to create symbolic link '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_dom.h': File exists

This is very weird, as the link is created via "ln -sf", so an existing target should not make the command failing.

Quoted 6 lines

[ 81s] /home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/libs/libs.mk:82: recipe for target '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h' failed
[ 81s] make[6]: *** [/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h] Error 1

attempt on host#2:
[ 178s] xenstat_qmp.c:26:10: fatal error: _paths.h: No such file or directory
[ 178s] me/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/stat/../../../tools/Rules.mk:153: xenstat_qmp.opic] Error 1

This shouldn't happen, too.

Is this really a normal upstream build, or do you have any additional patches applied?

Juergen

#3 lore raw
In reply to Jürgen Groß
Quoted 30 lines · Jürgen Groß
Quoted 9 lines · Olaf Hering

With commit 68a8aa5d72 the build randomly fails. Up to commit c7e3021a71 no errors (like this) are seen. For some reason nothing below tools/ was touched in this range, so the bug may already exist for a while.

attempt on host#1:
[   81s] ln: failed to create symbolic link '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_dom.h':
File exists

This is very weird, as the link is created via "ln -sf", so an existing target should not make the command failing.

Quoted 9 lines

[   81s] /home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/libs/libs.mk:82:
recipe for target '/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h' failed
[   81s] make[6]: *** [/home/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/ctrl/../../../tools/include/xenctrl_compat.h] Error 1

Quoted 6 lines

attempt on host#2:
[  178s] xenstat_qmp.c:26:10: fatal error: _paths.h: No such file or
directory
[  178s] me/abuild/rpmbuild/BUILD/xen-4.15.20200922T102230.68a8aa5d72/non-dbg/tools/libs/stat/../../../tools/Rules.mk:153:
xenstat_qmp.opic] Error 1

Quoted 4 lines

This shouldn't happen, too.

Is this really a normal upstream build, or do you have any additional patches applied?

I've also observed the first symptom sporadically.  They've all been in my main dev tree, which absolutely includes the possibility of an unclean tree.  So far I haven't observed it from a clean tarball in a mock chroot.

~Andrew