Source: groff
Version: 1.23.0-9
Tags: ftbfs
User: [email protected]
Usertags: rebootstrap

Hi Colin,

in a lot of groff builds, I encountered this failure once.

| /bin/bash: line 1: src/devices/xditview/GXditview-ad.h: No such file or 
directory

I think this originates from the redirection
https://sources.debian.org/src/groff/1.23.0-9/src/devices/xditview/xditview.am?hl=75#L69
| src/devices/xditview/GXditview-ad.h: $(xditview_srcdir)/GXditview.ad
|       $(AM_V_GEN)$(SHELL) $(xditview_srcdir)/ad2c \
|         $(xditview_srcdir)/GXditview.ad > $@

My understanding is that $(xditview_srcdir) evaluating to
src/devices/xditview does not yet exist resulting in -ENOENT.

The part creating it likely is earlier.
https://sources.debian.org/src/groff/1.23.0-9/src/devices/xditview/xditview.am?hl=75#L39
| $(GXDITVIEW_GROFF_VERSION_H): $(top_srcdir)/.version
|       $(AM_V_at)$(MKDIR_P) `dirname $@`
|       $(AM_V_GEN)printf \
|         'const char *Version_string = "%s";\n' '@VERSION@' > $@

Since there is no target dependency between these, the mkdir may be late
for the shell redirection.

This problem is incredibly rare to encounter with just high concurrency.
I suppose for reproducing it, --shuffle combined with parallel=1 might
work. Hence filing below RC-severity.

Helmut

Reply via email to