Bug 2124583

Summary: festival-2.5.0-17.fc38 FTBFS: ../config/common_make_rules:67: /usr/lib/speech_tools/config/rules/common_make_rules.mak: No such file or directory
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: festivalAssignee: W. Michael Petullo <redhat>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno, caillon+fedoraproject, gnome-sig, mattdm, mclasen, mike, rebus, redhat, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/festival?collection=f38
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-11 18:14:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2117176    

Description Petr Pisar 2022-09-06 14:27:09 UTC
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 1 W. 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.