Bug 1424090 - piglit: FTBFS in rawhide
Summary: piglit: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: piglit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F26FTBFS
TreeView+ depends on / blocked
 
Reported: 2017-02-17 15:52 UTC by Fedora Release Engineering
Modified: 2018-04-11 16:17 UTC (History)
5 users (show)

Fixed In Version: piglit-1.0.20170221-4.git2e97840.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-23 10:14:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (7.46 KB, text/plain)
2017-02-17 15:52 UTC, Fedora Release Engineering
no flags Details
root.log (89.89 KB, text/plain)
2017-02-17 15:52 UTC, Fedora Release Engineering
no flags Details
state.log (687 bytes, text/plain)
2017-02-17 15:52 UTC, Fedora Release Engineering
no flags Details
build.log from the failed attempt (99.12 KB, text/plain)
2017-02-22 14:22 UTC, Matěj Cepl
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.