boost 1.46.0

Petr Machata pmachata at redhat.com
Sun Feb 6 16:41:38 UTC 2011


06.02.2011 15:44, Thomas Spura wrote:
> I just rebuild my package and tried a random other one: xsd and it
> failed:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2764873

 From the looks of it, this is the case of boost::filesystem v2 vs. v3. 
  This will get rid of it:

diff --git a/xsd.spec b/xsd.spec
index 6ab29ce..6584f3e 100644
--- a/xsd.spec
+++ b/xsd.spec
@@ -58,7 +58,7 @@ popd
  %if 0%{?el5}
  make verbose=1 CXXFLAGS="$RPM_OPT_FLAGS -g1" BOOST_LINK_SYSTEM=n
  %else
-make verbose=1 CXXFLAGS="$RPM_OPT_FLAGS"
+make verbose=1 CXXFLAGS="$RPM_OPT_FLAGS -DBOOST_FILESYSTEM_VERSION=2"
  %endif


It seems to progress well after that change.

> Will try to rebuild some other too, and keep an updated todo list at:
> http://tomspur.fedorapeople.org/boost_upgrade/
>
> in "failed", are noted, which packages failed to build because of the
> boost upgrade.

Thanks, that will be cool.

PM


More information about the devel mailing list