Opened 4 weeks ago

Last modified 6 days ago

#59388 assigned defect

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 (Eric F), 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)

main.log (194.7 KB) - added by lemzwerg (Werner Lemberg) 4 weeks ago.
boost compilation log (macports-ports 1ef2e882d33333e629ca489414b7d9d4c2e5f435)

Download all attachments as: .zip

Change History (13)

Changed 4 weeks ago by lemzwerg (Werner Lemberg)

Attachment: main.log added

boost compilation log (macports-ports 1ef2e882d33333e629ca489414b7d9d4c2e5f435)

comment:1 Changed 4 weeks 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 4 weeks ago by jmroot (Joshua Root)

Cc: michaelld added
Owner: set to ryandesign
Status: newassigned

comment:3 Changed 4 weeks ago by iEFdev (Eric F)

Cc: iEFdev added

comment:4 Changed 4 weeks ago by iEFdev (Eric F)

I just got the same output/errors.

comment:5 Changed 4 weeks ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:6 Changed 3 weeks 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:7 Changed 3 weeks ago by kencu (Ken)

sudo port -v upgrade boost +clang90

comment:8 Changed 3 weeks 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 in reply to:  8 Changed 3 weeks 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 3 weeks ago by lemzwerg (Werner Lemberg)

I tried Ken's suggestion from comment:7, and it worked, thanks!

Last edited 3 weeks ago by lemzwerg (Werner Lemberg) (previous) (diff)

comment:11 Changed 2 weeks ago by ryandesign (Ryan Schmidt)

Cc: michaelld removed
Owner: changed from ryandesign to michaelld

comment:12 Changed 6 days ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.