festival-2.5.0-17.fc38 fails to build in Fedora 38:
creating config/config
+ make EST=/usr/lib64/speech_tools LIBDIR=/usr/lib64 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC'
Check system type
../config/common_make_rules:67: /usr/lib/speech_tools/config/rules/common_make_rules.mak: No such file or directory
make: *** No rule to make target '/usr/lib/speech_tools/config/rules/common_make_rules.mak'. Stop.
/usr/lib64/speech_tools/config/rules/modules.mak:133: config/modincludes.inc: No such file or directory
make: *** No rule to make target 'config/modincludes.inc'. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.XEpEiv (%build)
A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/13579709>.
Comment 1W. Michael Petullo
2022-09-11 18:14:39 UTC
The architecture check was failing due to its reliance on uname -p, which does not seem to work in mock. I updated festival-2.5.0-use-system-speech-tools.patch.