Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1424090

Summary: piglit: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: piglitAssignee: Matěj Cepl <mcepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, ajax, ignatenko, mcepl, mcepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: piglit-1.0.20170221-4.git2e97840.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 10:14:25 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: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
build.log from the failed attempt none

Description Fedora Release Engineering 2017-02-17 15:52:24 UTC
Your package piglit failed to build from source in current rawhide.

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

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 15:52:29 UTC
Created attachment 1253574 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 15:52:33 UTC
Created attachment 1253575 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 15:52:36 UTC
Created attachment 1253576 [details]
state.log

Comment 4 Matěj Cepl 2017-02-21 22:27:43 UTC
Upgrade to the latest git commit (and excluding i686 arch, because of lack of memory) has been commited. A scratch build is https://koji.fedoraproject.org/koji/taskinfo?taskID=17979037

Comment 5 Adam Jackson 2017-02-21 22:36:43 UTC
Adding --reduce-memory-overheads to LDFLAGS may help with the OOM thing. I'll give that a try at some point if you don't beat me to it.

Comment 6 Matěj Cepl 2017-02-22 14:22:42 UTC
Created attachment 1256462 [details]
build.log from the failed attempt

I have tried just with adding this to the spec:

diff --git a/piglit.spec b/piglit.spec
index 7029d89..f876311 100644
--- a/piglit.spec
+++ b/piglit.spec
@@ -11,7 +11,6 @@ License:        MIT and GPLv2+ and GPLv3 and LGPLv2
 URL:            http://cgit.freedesktop.org/piglit/
 # make archive
 Source0:        %{name}-%{commit}.tar.xz
-ExcludeArch:    i686
 
 BuildRequires:  python3 python3-numpy python3-mako python-nose python3-six python3-lxml
 BuildRequires:  bash-completion
@@ -45,11 +44,16 @@ mkdir build
 
 %build
 pushd build
+%ifarch i686
+export LDFLAGS="-Wl,--reduce-memory-overheads"
+%endif
+
   %cmake ../ \
     -DCMAKE_BUILD_TYPE:STRING=Debug \
     -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
     -DPIGLIT_BUILD_CL_TESTS=1
   make VERBOSE=1 %{?_smp_mflags}
+
 popd
 
 %install

but the result (https://koji.fedoraproject.org/koji/taskinfo?taskID=17984767) was a spectacular failure.

Comment 7 Matěj Cepl 2017-02-22 17:10:13 UTC
And yes, the same SRPM builds perfectly on F25.