2.9.11: broken dist tar ball causes test suite is failing with missing "fuzz.h"
Looks like fuzz/fuzz.h is not added in some Makefile.am.
Next time please do not make dist tar balls with make dist
but wih make distcheck
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/python/tests'
## running Python regression tests
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/python/tests'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o testFuzzer.o testFuzzer.c
testFuzzer.c:13:10: fatal error: fuzz.h: No such file or directory
13 | #include "fuzz.h"
| ^~~~~~~~
compilation terminated.
make[1]: *** [Makefile:635: testFuzzer.o] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o fuzz.o fuzz.c
fuzz.c:17:10: fatal error: fuzz.h: No such file or directory
17 | #include "fuzz.h"
| ^~~~~~~~
compilation terminated.
make[1]: *** [Makefile:635: fuzz.o] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o genSeed.o genSeed.c
genSeed.c:24:10: fatal error: fuzz.h: No such file or directory
24 | #include "fuzz.h"
| ^~~~~~~~
compilation terminated.
make[1]: *** [Makefile:635: genSeed.o] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml2-2.9.11/fuzz'
Edited by Tomasz Kłoczko