Bug 1988046

Summary: woff2: FTBFS in Fedora rawhide/f35
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: woff2Assignee: -RETIRED- <erack>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: erack, ngompa13, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: woff2-1.0.2-13.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-30 13:10:34 UTC Type: ---
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: 1927309    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2021-07-29 17:46:35 UTC
woff2 failed to build from source in Fedora rawhide/f35

https://koji.fedoraproject.org/koji/taskinfo?taskID=72520134


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix woff2 at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
woff2 will be orphaned. Before branching of Fedora 36,
woff2 will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-07-29 17:46:39 UTC
Created attachment 1808947 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-07-29 17:46:42 UTC
Created attachment 1808948 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 17:46:45 UTC
Created attachment 1808949 [details]
state.log

Comment 4 -RETIRED- 2021-07-30 11:40:06 UTC
Failing on ppc64le the problem is that the %cmake_install macro does
/usr/bin/cmake --install redhat-linux-build
and later we want to
cd %{_target_platform}
that expands to cd ppc64le-redhat-linux-gnu

In a fedpkg local build that's
/usr/bin/cmake --install x86_64-redhat-linux-gnu
cd x86_64-redhat-linux-gnu

Apparently the (at least ppc64le) %cmake_install target is broken in rawhide, things worked in f34 and f33.
Or if that changed for all platforms we'd need to compose cd %{_vendor}-%{_os}-build which looks odd to me; or is there another macro for that?

Comment 5 Neal Gompa 2021-07-30 12:33:45 UTC
You need to use %{_vpath_builddir} instead of %{_target_platform}.

See: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/e0cfcc0fc76a7642faabb25c5e348d6a1314ace2

Comment 6 -RETIRED- 2021-07-30 13:03:24 UTC
Thanks!