[MacPorts] #59388: boost compilation problem on lion

MacPorts noreply at macports.org
Fri Nov 8 06:49:20 UTC 2019


#59388: boost compilation problem on lion
-----------------------+-----------------------
  Reporter:  lemzwerg  |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  lion
      Port:  boost     |
-----------------------+-----------------------
Description changed by ryandesign:

Old description:

> [macports-ports 1ef2e882d33333e629ca489414b7d9d4c2e5f435]
>
> 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.

New description:

 [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.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/59388#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list