[bjam] Presence of Mac OS X 10.6 SDK prevents boost 1.36 build

Hi all, I have the Mac OS X 10.6 (Snow Leopard) SDK on my dev system. The presence of this SDK prevents boost 1.36 from building: --snip-- ./tools/jam/src/bin.macosxx86/bjam debug release --toolset=darwin -- architecture=combined --layout=system threading=multi address-model=32 link=shared,static macosx-version=10.4 --prefix=../1_36_0_install -- exec-prefix=../1_36_0_install install boost_1_36_0/tools/build/v2/build/feature.jam:466: in feature.validate- value-string from module feature error: "10.6" is not a known value of feature <macosx-version> error: legal values: "10.5" "10.4" "10.3" "10.2" "10.1" "iphone-2.0" "iphone-1.x" "iphonesim-2.0" boost_1_36_0/tools/build/v2/build/property.jam:276: in validate1 from module property boost_1_36_0/tools/build/v2/build/property.jam:301: in validate from module property boost_1_36_0/tools/build/v2/build/property.jam:310: in property.validate-property-sets from module property boost_1_36_0/tools/build/v2/build/toolset.jam:151: in flags from module toolset boost_1_36_0/tools/build/v2/tools/darwin.jam:227: in init-available- sdk-versions from module darwin boost_1_36_0/tools/build/v2/tools/darwin.jam:178: in darwin.init from module darwin boost_1_36_0/tools/build/v2/build/toolset.jam:38: in toolset.using from module toolset boost_1_36_0/tools/build/v2/build-system.jam:434: in process-explicit- toolset-requests from module build-system boost_1_36_0/tools/build/v2/build-system.jam:513: in load from module build-system boost_1_36_0/tools/build/v2/kernel/modules.jam:281: in import from module modules boost_1_36_0/tools/build/v2/kernel/bootstrap.jam:128: in boost-build from module boost_1_36_0/boost-build.jam:16: in module scope from module --snip-- The workaround was for me to hide the SDK, run configure again, then build. I still can't build successfully, due to an unrelated issue. But I'll post that separately in order to try and keep things clear. Snow Leopard will be here before you know it, so at some point the boost build system should be updated to know about 10.6. For that matter, maybe a new SDK would just generate a warning, not a hard error. Best, -- Allen Cronce

Hi Allen ! An'n Freitag 29 August 2008 hett Allen Cronce schreven:
I have the Mac OS X 10.6 (Snow Leopard) SDK on my dev system. The presence of this SDK prevents boost 1.36 from building:
--snip-- ./tools/jam/src/bin.macosxx86/bjam debug release --toolset=darwin -- architecture=combined --layout=system threading=multi address-model=32 link=shared,static macosx-version=10.4 --prefix=../1_36_0_install -- exec-prefix=../1_36_0_install install
boost_1_36_0/tools/build/v2/build/feature.jam:466: in feature.validate- value-string from module feature error: "10.6" is not a known value of feature <macosx-version> error: legal values: "10.5" "10.4" "10.3" "10.2" "10.1" "iphone-2.0" "iphone-1.x" "iphonesim-2.0"
The workaround was for me to hide the SDK, run configure again, then build.
mmh. Just adding 10.6 to darwin.jam just have worked better
I still can't build successfully, due to an unrelated issue. But I'll post that separately in order to try and keep things clear.
Snow Leopard will be here before you know it, so at some point the boost build system should be updated to know about 10.6. For that matter, maybe a new SDK would just generate a warning, not a hard error.
I crosspost this to the Boost.Build list. Maybe someone there has a better idea. You should at least create trac tickets for those issues. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

Hi Jürgen, On Sep 4, 2008, at 12:13 AM, Jürgen Hunold wrote:
The workaround was for me to hide the SDK, run configure again, then build.
mmh. Just adding 10.6 to darwin.jam just have worked better
Yes, but that would require me to actually *know* something about the boost build system ;-) It was easier for me to change the environment than to figure out how to fix the build. <rantmode> As it is, I can barely get pull together the right bjam incantation for each new boost release. It's really too bad that there aren't better platform specific build recipes documented. </rantmode>
I still can't build successfully, due to an unrelated issue. But I'll post that separately in order to try and keep things clear.
I never followed up regarding this other build issue because it was my own problem having to do with statically linked libraries under Windows. I didn't think it was worth another post about problems with the autolink feature.
Snow Leopard will be here before you know it, so at some point the boost build system should be updated to know about 10.6. For that matter, maybe a new SDK would just generate a warning, not a hard error.
I crosspost this to the Boost.Build list. Maybe someone there has a better idea.
Thanks! But my work around really isn't that bad. I only had to hide the SDK when building boost, which only happens when pulling in a new boost vendor drop. We check the built libraries and headers into our repository so that our engineers don't have to mess with building third party libraries.
You should at least create trac tickets for those issues.
Yes, I'll create a trac ticket for the issue. I'm still kind of new to boost and didn't know what the process was for reporting problems. Best, -- Allen Cronce
participants (2)
-
Allen Cronce
-
Jürgen Hunold