Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372925 - dev-cpp/xsd-3.3.0 build fails with >=boost-1.46
Summary: dev-cpp/xsd-3.3.0 build fails with >=boost-1.46
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.46
  Show dependency tree
 
Reported: 2011-06-24 23:16 UTC by Märt Bakhoff
Modified: 2012-06-01 20:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,65.39 KB, text/plain)
2011-06-24 23:19 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2011-06-24 23:16:53 UTC
>=boost-1.46 has a new filesystem api that breaks xsd. 

Reproducible: Always
Comment 1 Märt Bakhoff 2011-06-24 23:19:32 UTC
Created attachment 278053 [details]
build.log
Comment 2 Leho Kraav (:macmaN @lkraav) 2011-08-13 13:46:50 UTC
confirmed here
Comment 3 Leho Kraav (:macmaN @lkraav) 2011-08-13 14:15:49 UTC
this seems to be a working fix [1]:

diff --git a/mnt/gentoo/portage/dev-cpp/xsd/xsd-3.3.0.ebuild b/xsd-3.3.0.ebuild
index ac9c42b..e31d4a3 100644
--- a/mnt/gentoo/portage/dev-cpp/xsd/xsd-3.3.0.ebuild
+++ b/xsd-3.3.0.ebuild
@@ -66,7 +66,7 @@ cxx_optimize := n
 cxx_debug    := n
 cxx_rpath    := n
 cxx_pp_extra_options :=
-cxx_extra_options    := ${CXXFLAGS} -I${BOOST_INC}
+cxx_extra_options    := ${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2 -I${BOOST_INC}
 cxx_ld_extra_options := ${LDFLAGS}
 cxx_extra_libs       :=
 cxx_extra_lib_paths  :=

 [1]: http://lists.fedoraproject.org/pipermail/devel/2011-February/148405.html
Comment 4 Jaak Ristioja 2011-08-31 08:55:19 UTC
I can confirm that the fix in comment 3 makes dev-cpp/xsd-3.3.0 build and emerge without error.
Comment 5 Till Schäfer 2011-12-15 21:14:04 UTC
I can confirm the problem and the fix.
Comment 6 joachim Langenbach 2012-02-04 20:05:41 UTC
Me too.
Comment 7 Urmet Saar 2012-02-29 11:11:55 UTC
I can also confirm the breakage and that the fix works.
It's getting quite annoying to handfix xsd build after each boost upgrade and revdep-rebuild.
Comment 8 Tiziano Müller (RETIRED) gentoo-dev 2012-06-01 20:53:13 UTC
Committed a fix to the tree now.
Thanks!