Source: html-xml-utils
Version: 7.7-1.2
Severity: serious
Tags: ftbfs patch
X-Debbugs-Cc: Sebastian Ramacher <[email protected]>, Helmut Grohne 
<[email protected]>

https://buildd.debian.org/status/logs.php?pkg=html-xml-utils&ver=7.7-1.2

...
make cexport
make[2]: Entering directory '/build/reproducible-path/html-xml-utils-7.7'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/html-xml-utils-7.7=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o cexport.o cexport.c
make cexport
make[2]: Entering directory '/build/reproducible-path/html-xml-utils-7.7'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/html-xml-utils-7.7=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c -o cexport.o cexport.c
...
gcc  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/html-xml-utils-7.7=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard  -Wl,-z,relro 
-mbranch-protection=standard -o cexport cexport.o -lcurl  -lidn2
gcc  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/html-xml-utils-7.7=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard  -Wl,-z,relro 
-mbranch-protection=standard -o cexport cexport.o -lcurl  -lidn2
/usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libidn2.so: 
warning: GCS is required by -z gcs, but this shared library lacks the necessary 
property note. The dynamic loader might not enable GCS or refuse to load the 
program unless all the shared library dependencies have the GCS marking.
/usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libidn2.so: 
warning: GCS is required by -z gcs, but this shared library lacks the necessary 
property note. The dynamic loader might not enable GCS or refuse to load the 
program unless all the shared library dependencies have the GCS marking.
make[2]: Leaving directory '/build/reproducible-path/html-xml-utils-7.7'
./cexport -I. -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c "gcc -E" <unent.c >unent.e
/bin/bash: line 1: ./cexport: Text file busy
make[1]: *** [Makefile:3108: unent.e] Error 126


A fix is attached.
Description: Proper Makefile dependency on cexport instead of recursive make 
invocation
 This fixes a parallel FTBFS.
Author: Adrian Bunk <[email protected]>

--- html-xml-utils-7.7.orig/Makefile.am
+++ html-xml-utils-7.7/Makefile.am
@@ -131,10 +131,9 @@ CLEANFILES =               $(HTML_MANS)
 SUFFIX =               .c:sC .l:sC .y:sC .e:h .h:h
 SUFFIXES =             .1 .e .html
 
-$(EXPORTS): $(cexport_SOURCES)
+$(EXPORTS): cexport
 
 .c.e:
-       $(MAKE) cexport
        $(top_builddir)/cexport -I. -I$(srcdir) $(CPPFLAGS) -c "@CPP@" <$< >$@
 
 .1.html:

Reply via email to