Bug 824810

Summary: Boost doesn't build --without python3
Product: [Fedora] Fedora Reporter: Radek Vokál <rvokal>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: denis.arnaud_fedora, mnewsome, pertusus, pmachata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-24 22:41:38 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:

Description Radek Vokál 2012-05-24 10:30:17 UTC
Description of problem:
Boost doesn't build --without python3


Proposed fix

diff -up boost/boost.spec.old boost/boost.spec
--- boost/boost.spec.old	2012-05-24 11:29:55.083758818 +0200
+++ boost/boost.spec	2012-05-24 11:30:11.761633553 +0200
@@ -687,7 +687,9 @@ export PATH=/bin${PATH:+:}$PATH
 %endif
 
 echo ============================= install Python 3 ==================
+%if %{with python3}
 DESTDIR=$RPM_BUILD_ROOT make -C serial-python3 VERBOSE=1 install
+%endif
 
 echo ============================= install serial ==================
 DESTDIR=$RPM_BUILD_ROOT make -C serial VERBOSE=1 install

Comment 1 Petr Machata 2012-05-24 11:28:37 UTC
D'oh.  A fixed package is building.

Comment 2 Radek Vokál 2012-05-24 11:34:04 UTC
Diky! :-)

Comment 3 Petr Machata 2012-05-24 12:10:14 UTC
We are hitting an unrelated bug on rebuild.  glibc now defines a macro named TIME_UTC, which collides with an enum value in boost::xtime_clock_typesone.

Comment 4 Petr Machata 2012-05-24 18:44:58 UTC
Upstream ticket https://svn.boost.org/trac/boost/ticket/6940

Comment 5 Petr Machata 2012-05-24 22:41:38 UTC
The build that should take care of the Python 3 problem has passed.
The TIME_UTC problem will be tracked in a separate bug 825039.