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 1436075 - embree 2.15.0-1 not built with $RPM_OPT_FLAGS
Summary: embree 2.15.0-1 not built with $RPM_OPT_FLAGS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: embree
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: DebugInfo
TreeView+ depends on / blocked
 
Reported: 2017-03-27 05:39 UTC by Ville Skyttä
Modified: 2017-04-01 17:31 UTC (History)
5 users (show)

Fixed In Version: embree-2.15.0-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-01 17:31:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2017-03-27 05:39:18 UTC
embree 2.15.0-1 is not built with $RPM_OPT_FLAGS, see /usr/bin/c++ lines in the build log: https://kojipkgs.fedoraproject.org//packages/embree/2.15.0/1.fc27/data/logs/x86_64/build.log

2.14.0-2 did not have this problem: https://kojipkgs.fedoraproject.org//packages/embree/2.14.0/2.fc26/data/logs/x86_64/build.log

Comment 1 Luya Tshimbalanga 2017-03-27 21:13:55 UTC
Strange. the spec in 2.15.0-1 has '%{optflags}'
https://src.fedoraproject.org/cgit/rpms/embree.git/tree/embree.spec

%build
pushd %{_target_platform} 
   CXXFLAGS='%{optflags}' %cmake ..
popd

I just scratch built below
https://koji.fedoraproject.org/koji/taskinfo?taskID=18638019

adding "-Wno-all -Wformat" which should enable %{optflags}

Comment 2 Mamoru TASAKA 2017-03-28 06:05:48 UTC
This is because of this change:
https://github.com/embree/embree/commit/e2187611a542749f7571bcda5e793e497512e967

Using
CXXFLAGS='%{optflags}' %cmake -DEMBREE_IGNORE_CMAKE_CXX_FLAGS:BOOL=off ..
seems good:

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

Comment 3 Luya Tshimbalanga 2017-03-28 06:42:19 UTC
You can apply the change. I am unable to do on my side to due to network issue.
Thanks

Comment 4 Mamoru TASAKA 2017-03-28 07:05:27 UTC
(In reply to Luya Tshimbalanga from comment #3)
> You can apply the change. I am unable to do on my side to due to network
> issue.
> Thanks

Okay, then I'll build. By the way I will again merge branches, because F-24/F-25/F-26/master branches' embree are actually all the same.

Comment 5 Fedora Update System 2017-03-28 08:10:34 UTC
LuxRender-1.6-13.fc26 embree-2.15.0-2.fc26 ispc-1.9.1-11.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a10331aece

Comment 6 Fedora Update System 2017-03-28 17:53:35 UTC
LuxRender-1.6-13.fc26, embree-2.15.0-2.fc26, ispc-1.9.1-11.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a10331aece

Comment 7 Fedora Update System 2017-04-01 17:31:44 UTC
LuxRender-1.6-13.fc26, embree-2.15.0-2.fc26, ispc-1.9.1-11.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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