Bug 824810 - Boost doesn't build --without python3
Summary: Boost doesn't build --without python3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-24 10:30 UTC by Radek Vokál
Modified: 2015-05-05 01:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-24 22:41:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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