error: No best alternative for {dir}/libs/mpi/build/boost_mpi, but the build succeeds
Nicholas Williams via Boost-build <[email protected]> Wed, 15 Jan 2025 20:03:52 -0600
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <CAGn4V3XRSgwET68QzWWX2d07OfNZ8p8_iiSiD22DvgEqoXN_uQ@mail.gmail.com> |
--===============6060684116908287227==
Content-Type: multipart/alternative; boundary="0000000000006be129062bc9350e"
--0000000000006be129062bc9350e
Content-Type: text/plain; charset="UTF-8"
I'm building the full stock, unmodified Boost 1.87.0. I have previously
built Boost 1.80.0 without issue. After bootstrapping, when running `b2` to
actually build Boost, I get the following "errors":
...
- has stat::st_birthtimespec : yes [5]
- has fdopendir(O_NOFOLLOW) : yes [5]
- has dirent::d_type : yes [5]
- has POSIX *at APIs : no [5]
- has fallocate : no [5]
- cxx11_static_assert : yes [5]
error: No best alternative for {dir}/libs/mpi/build/boost_mpi with
<abi>aapcs <address-model>64 <architecture>arm <asynch-exceptions>off
<binary-format>mach-o <boost.beast.allow-deprecated>on
<boost.beast.separate-compilation>on <boost.cobalt.executor>any_io_executor
<boost.cobalt.pmr>std <context-impl>fcontext <coverage>off
<cxxstd-dialect>iso <cxxstd>20 <debug-symbols>off <exception-handling>on
<extern-c-nothrow>off <inlining>full <instruction-set>nocona
<known-warnings>hide <link>shared <optimization>speed <os>MACOSX <pch>on
<preserve-test-targets>on <profiling>off <python-debugging>off <python>3.9
<rtti>on <runtime-debugging>off <runtime-link>shared <stdlib>native
<strip>off <target-os>darwin <testing.execute>on <threadapi>pthread
<threading>multi <toolset-clang:platform>darwin <toolset-clang:version>14
<toolset>clang <variant>release <vectorize>off <visibility>hidden
<warnings-as-errors>off <warnings>on <x-deduced-platform>arm_64
matched: (empty)
matched: (empty)
error: No best alternative for {dir}/libs/mpi/build/boost_mpi with
<abi>aapcs <address-model>64 <architecture>arm <asynch-exceptions>off
<binary-format>mach-o <boost.beast.allow-deprecated>on
<boost.beast.separate-compilation>on <boost.cobalt.executor>any_io_executor
<boost.cobalt.pmr>std <coverage>off <cxxstd-dialect>iso <cxxstd>20
<debug-symbols>off <exception-handling>on <extern-c-nothrow>off
<inlining>full <instruction-set>nocona <known-warnings>hide <link>shared
<optimization>speed <os>MACOSX <pch>on <preserve-test-targets>on
<profiling>off <python-debugging>off <python>3.9 <rtti>on
<runtime-debugging>off <runtime-link>shared <stdlib>native <strip>off
<target-os>darwin <testing.execute>on <threadapi>pthread <threading>multi
<toolset-clang:platform>darwin <toolset-clang:version>14 <toolset>clang
<variant>release <vectorize>off <visibility>hidden <warnings-as-errors>off
<warnings>on <x-deduced-platform>arm_64
matched: (empty)
matched: (empty)
- gcc visibility : yes [2]
- cxx14_decltype_auto : yes [2]
- cxx14_generic_lambdas : yes [2]
...
I used scare quotes around "errors," because these errors do not appear to
actually break anything. The build completes fully and successfully, and
all the libraries are built as expected. It appears to be more of a warning
than an error, but I don't love warnings either, so I'd like to solve it.
The only relevant result I could find Googling about this was [this other
mailing list message](
https://lists.boost.org/Archives/boost/2024/11/258275.php), which was a
reply to "[release] Boost 1.87.0 Beta 2 Release Candidate is available,"
and to which nobody ever replied. Doesn't really clear anything up for me.
FWIW, I get these "errors" on RHEL 8 GCC 8, 9 GCC 11, and 9 GCC 14; Ubuntu
20.04 GCC 9, 22.04 GCC 11, and 24.04 GCC 13; macOS 12 Clang 14 (Intel and
ARM), 14 Clang 16 (Intel and ARM), and 15 Clang 16 (Intel and ARM); Windows
10 MSVC 2022 and 11 MSVR 2022; and Windows Server 2022 MSVC 2022 and 2025
MSVC 2022.
Any insights or guidance would be appreciated.
Thanks,
Nick
--0000000000006be129062bc9350e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">I'm building the full stock, unmodified Boost 1.87.0. =
I have previously built Boost 1.80.0 without issue. After bootstrapping, wh=
en running=C2=A0`b2` to actually build Boost, I get the following "err=
ors":<div><br></div><div>...</div><div>- has stat::st_birthtimespec : =
yes [5]<br>- has fdopendir(O_NOFOLLOW) : yes [5]<br>- has dirent::d_type : =
yes [5]<br>- has POSIX *at APIs : no [5]<br>- has fallocate : no [5]<br>- c=
xx11_static_assert : yes [5]<br>error: No best alternative for {dir}/libs/m=
pi/build/boost_mpi with <abi>aapcs <address-model>64 <archit=
ecture>arm <asynch-exceptions>off <binary-format>mach-o <=
boost.beast.allow-deprecated>on <boost.beast.separate-compilation>=
on <boost.cobalt.executor>any_io_executor <boost.cobalt.pmr>std=
<context-impl>fcontext <coverage>off <cxxstd-dialect>iso=
<cxxstd>20 <debug-symbols>off <exception-handling>on <=
;extern-c-nothrow>off <inlining>full <instruction-set>nocona=
<known-warnings>hide <link>shared <optimization>speed &l=
t;os>MACOSX <pch>on <preserve-test-targets>on <profiling&=
gt;off <python-debugging>off <python>3.9 <rtti>on <run=
time-debugging>off <runtime-link>shared <stdlib>native <s=
trip>off <target-os>darwin <testing.execute>on <threadapi=
>pthread <threading>multi <toolset-clang:platform>darwin <=
;toolset-clang:version>14 <toolset>clang <variant>release &l=
t;vectorize>off <visibility>hidden <warnings-as-errors>off &=
lt;warnings>on <x-deduced-platform>arm_64<br>matched: (empty)<br>m=
atched: (empty)<br>error: No best alternative for {dir}/libs/mpi/build/boos=
t_mpi with <abi>aapcs <address-model>64 <architecture>arm=
<asynch-exceptions>off <binary-format>mach-o <boost.beast.a=
llow-deprecated>on <boost.beast.separate-compilation>on <boost.=
cobalt.executor>any_io_executor <boost.cobalt.pmr>std <coverage=
>off <cxxstd-dialect>iso <cxxstd>20 <debug-symbols>off=
<exception-handling>on <extern-c-nothrow>off <inlining>f=
ull <instruction-set>nocona <known-warnings>hide <link>sh=
ared <optimization>speed <os>MACOSX <pch>on <preserve-=
test-targets>on <profiling>off <python-debugging>off <pyt=
hon>3.9 <rtti>on <runtime-debugging>off <runtime-link>=
shared <stdlib>native <strip>off <target-os>darwin <te=
sting.execute>on <threadapi>pthread <threading>multi <too=
lset-clang:platform>darwin <toolset-clang:version>14 <toolset&g=
t;clang <variant>release <vectorize>off <visibility>hidde=
n <warnings-as-errors>off <warnings>on <x-deduced-platform&g=
t;arm_64<br>matched: (empty)<br>matched: (empty)<br>- gcc visibility : yes =
[2]<br>- cxx14_decltype_auto : yes [2]<br>- cxx14_generic_lambdas : yes [2]=
</div><div>...</div><div><br></div><div>I used scare quotes around "er=
rors," because these errors do not appear to actually break anything. =
The build completes fully and successfully, and all the libraries are built=
as expected. It appears to be more of a warning than an error, but I don&#=
39;t love warnings either, so I'd like to solve it. The only relevant r=
esult I could find Googling about this was [this other mailing list message=
](<a href=3D"https://lists.boost.org/Archives/boost/2024/11/258275.php" tar=
get=3D"_blank">https://lists.boost.org/Archives/boost/2024/11/258275.php</a=
>), which was a reply to "[release] Boost 1.87.0 Beta 2 Release Candid=
ate is available," and to which nobody ever replied. Doesn't reall=
y clear anything up for me.</div><div><br></div><div>FWIW, I get these &quo=
t;errors" on RHEL 8 GCC 8, 9 GCC 11, and 9 GCC 14; Ubuntu 20.04 GCC 9,=
22.04 GCC 11, and 24.04 GCC 13; macOS 12 Clang 14 (Intel and ARM), 14 Clan=
g 16 (Intel and ARM), and 15 Clang 16 (Intel and ARM); Windows 10 MSVC 2022=
and 11 MSVR 2022; and Windows Server 2022 MSVC 2022 and 2025 MSVC 2022.</d=
iv><div><br></div><div>Any insights or guidance would be appreciated.</div>=
<div><br></div><div>Thanks,</div><div><br></div><div>Nick</div><div><br></d=
iv></div>
--0000000000006be129062bc9350e--
--===============6060684116908287227==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
--===============6060684116908287227==--