#59388 closed defect (fixed)
boost compilation problem on lion
Reported by: | lemzwerg (Werner Lemberg) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | lion | Cc: | iEFdev, mojca (Mojca Miklavec) |
Port: | boost |
Description (last modified by ryandesign (Ryan Schmidt))
[1ef2e882d33333e629ca489414b7d9d4c2e5f435/macports-ports]
Compilation of boost fails on Lion:
:info:build "/usr/bin/clang++" -fvisibility-inlines-hidden -Os -std=gnu++11 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -fPIC -m64 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DBOOST_TYPE_ERASURE_DYN_LINK -DNDEBUG -I"." -c -o "bin.v2/libs/type_erasure/build/darwin-4.2.1/release/threadapi-pthread/threading-multi/visibility-hidden/dynamic_binding.o" "libs/type_erasure/src/dynamic_binding.cpp" :info:build In file included from libs/type_erasure/src/dynamic_binding.cpp:13: :info:build In file included from ./boost/type_erasure/register_binding.hpp:14: :info:build In file included from ./boost/type_erasure/detail/check_map.hpp:23: :info:build In file included from ./boost/type_erasure/detail/get_placeholders.hpp:24: :info:build In file included from ./boost/type_erasure/detail/meta.hpp:24: :info:build In file included from ./boost/mp11/list.hpp:14: :info:build In file included from ./boost/mp11/detail/mp_append.hpp:12: :info:build ./boost/mp11/utility.hpp:223:94: error: expected ';' after attributes list :info:build template<class Q, class... T> using mp_invoke BOOST_MP11_DEPRECATED("please use mp_invoke_q") = mp_invoke_q<Q, T...>; :info:build ^ :info:build ; :info:build ./boost/mp11/utility.hpp:223:31: error: cannot template a using declaration :info:build template<class Q, class... T> using mp_invoke BOOST_MP11_DEPRECATED("please use mp_invoke_q") = mp_invoke_q<Q, T...>; :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build 2 errors generated.
Complete log file is attached.
Attachments (1)
Change History (15)
Changed 15 months ago by lemzwerg (Werner Lemberg)
comment:1 Changed 15 months ago by kencu (Ken)
I ran into this as well tonight, and boost did build with the +clang90 variant...
but then the icu update broke all the clangs, so now I'm trying to sort that out, rebuild clang against the new icu, then rebuild boost with the new clang.
comment:2 Changed 15 months ago by jmroot (Joshua Root)
Cc: | michaelld added |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
comment:3 Changed 15 months ago by iEFdev
Cc: | iEFdev added |
---|
comment:5 Changed 15 months ago by mojca (Mojca Miklavec)
Cc: | mojca added |
---|
comment:6 Changed 15 months ago by RobK88
I have the same problem. I was hoping that upgrading to Macports 2.6.2 from 2.6.1 would fix the problem. But it did not. If anyone know a workaround, please let me know. Thanks.
comment:8 follow-up: 9 Changed 15 months ago by mojca (Mojca Miklavec)
See comment:8:ticket:59217. I got it installed last week on 10.6 at least.
I would like to fix it, but this requires #58898 to be resolved, else you always need manual intervention (including on the buildbot).
comment:9 Changed 15 months ago by lemzwerg (Werner Lemberg)
Replying to mojca:
See comment:8:ticket:59217. I got it installed last week on 10.6 at least.
I would like to fix it, but this requires #58898 to be resolved, else you always need manual intervention (including on the buildbot).
Thanks to both of you for working on this. What is the preferred action right now? Ken's solution?
comment:10 Changed 15 months ago by lemzwerg (Werner Lemberg)
I tried Ken's suggestion from comment:7, and it worked, thanks!
comment:11 Changed 15 months ago by ryandesign (Ryan Schmidt)
Cc: | michaelld removed |
---|---|
Owner: | changed from ryandesign to michaelld |
comment:12 Changed 15 months ago by ryandesign (Ryan Schmidt)
Description: | modified (diff) |
---|
comment:13 Changed 8 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
boost now builds on Lion without any interventions or added variants:
$ port -v installed boost The following ports are currently installed: boost @1.71.0_1+no_single+no_static+python38 platform='darwin 11' archs='x86_64' date='2020-05-18T08:26:31-0700' boost @1.71.0_2+no_single+no_static+python38 (active) platform='darwin 11' archs='x86_64' date='2020-05-19T09:38:50-0700'
comment:14 Changed 8 months ago by michaelld (Michael Dickens)
Nice! Thanks for reporting your success, @kencu!
boost compilation log (macports-ports 1ef2e882d33333e629ca489414b7d9d4c2e5f435)