Summary: | Failed to emerge dev-libs/boost-{1.37.0-r1, 1.39.0} on sparc: #error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey <oneserg> |
Component: | [OLD] Development | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 4glitch, aballier, cpp+disabled, djc, esigra, henrique.rodrigues, redhatter, SebastianLuther, sparc |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 282264 | ||
Attachments: | boost-1.39.0.ebuild |
Description
Sergey
2009-06-01 13:38:51 UTC
I get the same error on ARM. Same error on PowerPc. and MIPS... tested with 1.37.0-r1 and 1.39.0 I notice Debian seem to work around this issue by disabling the offending component of Boost... http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg164223.html I managed to get Boost to build... it seems in later versions of the library, you can opt out of building the components that require long doubles. The following changes to the ebuild allow a working boost library to be built... stuartl@zhouman ~ $ diff -u /usr/portage/dev-libs/boost/boost-1.39.0.ebuild /var/db/pkg/dev-libs/boost-1.39.0/boost-1.39.0.ebuild --- /usr/portage/dev-libs/boost/boost-1.39.0.ebuild 2009-08-07 16:05:35.000000000 +1000 +++ /var/db/pkg/dev-libs/boost-1.39.0/boost-1.39.0.ebuild 2009-08-15 22:28:43.000000000 +1000 @@ -148,6 +148,7 @@ use expat && OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" use mpi || OPTIONS="${OPTIONS} --without-mpi" use python || OPTIONS="${OPTIONS} --without-python" + use mips && OPTIONS="${OPTIONS} --disable-long-double" OPTIONS="${OPTIONS} --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned" I shall upload a copy of the modified ebuild... with some suitable changes, this can cover SPARC, PowerPC and ARM too. Created attachment 201427 [details]
boost-1.39.0.ebuild
This is the ebuild with the aforementioned patch applied. Tweak to local requirements.
I have same problem on g/fbsd-7.2 x86 :) Could some please test the following two ebuilds from my overlay [1]? =dev-libs/boost-1.39.0-r1 has long-double disabled for mips, hppa, sparc, arm and x86-fbsd =dev-libs/boost-1.41.0 doesn't disable long-double at all [1] git://github.com/few/few-s-gentoo-overlay.git (In reply to comment #7) > Could some please test the following two ebuilds from my overlay [1]? > > =dev-libs/boost-1.39.0-r1 has long-double disabled for mips, hppa, sparc, arm > and x86-fbsd this builds on my g/fbsd-7.2 (In reply to comment #8) > (In reply to comment #7) > > Could some please test the following two ebuilds from my overlay [1]? > > > > =dev-libs/boost-1.39.0-r1 has long-double disabled for mips, hppa, sparc, arm > > and x86-fbsd > > this builds on my g/fbsd-7.2 > Does this mean that 1.41 doesn't build or didn't you test? If it doesn't build, does it complain about --long-double stuff or something else? (In reply to comment #9) > Does this mean that 1.41 doesn't build or didn't you test? I didn't test. Maybe tomorrow i will try. 1.41.0 is OK for HPPA, and dependent packages all build against it. 1.41 works fine on PPC too. Very nice! :-) (In reply to comment #9) =dev-libs/boost built successfully built on g/fbsd-7.2 (In reply to comment #13) > (In reply to comment #9) > > =dev-libs/boost built successfully built on g/fbsd-7.2 > sorry, I mean 1.41.0 1.41 works fine on sparc too. |