[MacPorts] #71632: boost176 @1.76.0_12 does not configure on PPC Mac OS X 10.4.11, Tiger, because "command execution failed"?

MacPorts noreply at macports.org
Tue Dec 24 14:52:00 UTC 2024


#71632: boost176 @1.76.0_12 does not configure on PPC Mac OS X 10.4.11, Tiger,
because "command execution failed"?
-----------------------+----------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.5
 Keywords:  tiger ppc  |       Port:  boost176
-----------------------+----------------------
 {{{
 ...failed updating 2 targets...
 ...skipped 93 targets...
 ...updated 489 targets...
 Command failed:  cd
 "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_boost176/boost176/work/boost_1_76_0"
 &&
 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_boost176/boost176/work/boost_1_76_0/b2
 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam
 -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib
 -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib
 -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib
 -sICU_PATH=/opt/local variant=release runtime-link=shared -j1 --no-cmake-
 config architecture=power --disable-long-double link=shared
 threading=multi
 }}}

 is the end. The errors happen before:

 {{{
     "/opt/local/bin/g++-mp-14"   -fvisibility-inlines-hidden -Os
 -std=gnu++17 -Wno-enum-constexpr-conversion -Wno-unknown-warning-option
 -D__DARWIN_UNIX03=1 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  -fPIC -m32 -O3
 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline
 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_LOCALE_DYN_LINK=1
 -DBOOST_LOCALE_NO_WINAPI_BACKEND=1 -DBOOST_LOCALE_WITH_ICONV=1
 -DBOOST_LOCALE_WITH_ICU=1 -DBOOST_SYSTEM_DYN_LINK=1
 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_NO_LIB=1 -DBOOST_THREAD_POSIX
 -DBOOST_THREAD_USE_DLL=1 -DNDEBUG  -I"." -I"/opt/local/include"  -c -o
 "bin.v2/libs/locale/build/darwin-14.2.0/release/threadapi-pthread
 /threading-multi/visibility-hidden/shared/mo_lambda.o"
 "libs/locale/src/shared/mo_lambda.cpp"

 In file included from /usr/include/_wctype.h:78,
                  from /usr/include/wchar.h:115,
                  from /opt/local/include/gcc14/c++/cwchar:44,
                  from /opt/local/include/gcc14/c++/bits/postypes.h:40,
                  from /opt/local/include/gcc14/c++/iosfwd:42,
                  from /opt/local/include/gcc14/c++/bits/shared_ptr.h:52,
                  from /opt/local/include/gcc14/c++/memory:80,
                  from ./boost/smart_ptr/detail/sp_counted_impl.hpp:35,
                  from ./boost/smart_ptr/detail/shared_count.hpp:27,
                  from ./boost/smart_ptr/shared_ptr.hpp:17,
                  from ./boost/shared_ptr.hpp:17,
                  from libs/locale/src/shared/mo_lambda.hpp:11,
                  from libs/locale/src/shared/mo_lambda.cpp:8:
 libs/locale/src/shared/mo_lambda.cpp:257:14: error: expected identifier
 before '(' token
   257 |         bool isdigit(char c)
       |              ^~~~~~~
 libs/locale/src/shared/mo_lambda.cpp:257:14: error: expected identifier
 before numeric constant
   257 |         bool isdigit(char c)
       |              ^~~~~~~
 libs/locale/src/shared/mo_lambda.cpp:257:14: error: expected ',' or '...'
 before numeric constant
 libs/locale/src/shared/mo_lambda.cpp: In member function 'bool
 boost::locale::gnu_gettext::lambda::{anonymous}::tokenizer::__isctype(int
 (*)(char), int)':
 libs/locale/src/shared/mo_lambda.cpp:259:25: error: 'c' was not declared
 in this scope
   259 |             return '0'<=c && c<='9';
       |                         ^
 libs/locale/src/shared/mo_lambda.cpp: In member function 'void
 boost::locale::gnu_gettext::lambda::{anonymous}::tokenizer::step()':
 libs/locale/src/shared/mo_lambda.cpp:275:29: error: invalid conversion
 from 'char' to 'int (*)(char)' [-fpermissive]
   275 |             else if(isdigit(*ptr)) {
 int_value=strtol(text+pos,&tmp_ptr,0); pos=tmp_ptr-text; next_tocken=NUM;
 }
       |                             ^
       |                             |
       |                             char
 libs/locale/src/shared/mo_lambda.cpp:257:14: note:   initializing argument
 1 of 'bool
 boost::locale::gnu_gettext::lambda::{anonymous}::tokenizer::__isctype(int
 (*)(char), int)'
   257 |         bool isdigit(char c)
       |              ^~~~~~~
 At global scope:
 cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-
 option' may have been intended to silence earlier diagnostics
 cc1plus: note: unrecognized command-line option '-Wno-enum-constexpr-
 conversion' may have been intended to silence earlier diagnostics
 ...failed darwin.compile.c++
 bin.v2/libs/locale/build/darwin-14.2.0/release/threadapi-pthread
 /threading-multi/visibility-hidden/shared/mo_lambda.o...
 common.mkdir bin.v2/libs/locale/build/darwin-14.2.0/release/threadapi-
 pthread/threading-multi/visibility-hidden/util
 }}}

 {{{
     "/opt/local/bin/g++-mp-14" -x c++-header -fvisibility-inlines-hidden
 -Os -std=gnu++17 -Wno-enum-constexpr-conversion -Wno-unknown-warning-
 option -D__DARWIN_UNIX03=1 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc  -fPIC
 -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-
 inline  -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1" -c -o
 "bin.v2/libs/math/build/pch/darwin-14.2.0/release/threading-multi
 /visibility-hidden/../src/tr1/pch.hpp.gch"
 "libs/math/build/../src/tr1/pch.hpp"

 In file included from ./boost/math/tools/mp.hpp:341,
                  from ./boost/math/policies/policy.hpp:11,
                  from ./boost/math/special_functions/math_fwd.hpp:31,
                  from ./boost/math/special_functions/airy.hpp:11,
                  from ./boost/math/special_functions.hpp:15,
                  from libs/math/build/../src/tr1/pch.hpp:9:
 /opt/local/include/gcc14/c++/utility:108:14: error: '__and_' was not
 declared in this scope; did you mean 'std::__and_'?
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |              ^~~~~~
       |              std::__and_
 In file included from /opt/local/include/gcc14/c++/bits/stl_pair.h:60,
                  from /opt/local/include/gcc14/c++/bits/stl_algobase.h:64,
                  from /opt/local/include/gcc14/c++/vector:62,
                  from ./boost/math/special_functions/math_fwd.hpp:26:
 /opt/local/include/gcc14/c++/type_traits:198:12: note: 'std::__and_'
 declared here
   198 |     struct __and_
       |            ^~~~~~
 /opt/local/include/gcc14/c++/utility:108:21: error:
 'is_nothrow_move_constructible' was not declared in this scope; did you
 mean 'std::is_nothrow_move_constructible'?
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |                     std::is_nothrow_move_constructible
 /opt/local/include/gcc14/c++/type_traits:1210:12: note:
 'std::is_nothrow_move_constructible' declared here
  1210 |     struct is_nothrow_move_constructible
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/gcc14/c++/utility:108:54: error: expected primary-
 expression before '>' token
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |                                                      ^
 /opt/local/include/gcc14/c++/utility:108:55: error: expected primary-
 expression before ',' token
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |                                                       ^
 /opt/local/include/gcc14/c++/utility:108:55: error: expected ')' before
 ',' token
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |             ~                                         ^
       |                                                       )
 /opt/local/include/gcc14/c++/utility:108:55: error: expected ';' before
 ',' token
   108 |     noexcept(__and_<is_nothrow_move_constructible<_Tp>,
       |                                                       ^
       |                                                       ;
 /opt/local/include/gcc14/c++/utility:116:15: error: 'add_const_t' does not
 name a type
   116 |     constexpr add_const_t<_Tp>&
       |               ^~~~~~~~~~~
 ./boost/math/tools/mp.hpp:342:10: error:
 'boost::math::tools::meta_programming::std::size_t' has not been declared
   342 | template<std::size_t... I>
       |          ^~~
 ./boost/math/tools/mp.hpp:343:29: error: 'index_sequence' in namespace
 'boost::math::tools::meta_programming::std' does not name a template type
   343 | using index_sequence = std::index_sequence<I...>;
       |                             ^~~~~~~~~~~~~~
 ./boost/math/tools/mp.hpp:345:10: error:
 'boost::math::tools::meta_programming::std::size_t' has not been declared
   345 | template<std::size_t N>
       |          ^~~
 ./boost/math/tools/mp.hpp:346:34: error: 'make_index_sequence' in
 namespace 'boost::math::tools::meta_programming::std' does not name a
 template type
   346 | using make_index_sequence = std::make_index_sequence<N>;
       |                                  ^~~~~~~~~~~~~~~~~~~
 ./boost/math/tools/mp.hpp:349:33: error: 'index_sequence_for' in namespace
 'boost::math::tools::meta_programming::std' does not name a template type
   349 | using index_sequence_for = std::index_sequence_for<T...>;
       |                                 ^~~~~~~~~~~~~~~~~~
 cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-
 option' may have been intended to silence earlier diagnostics
 cc1plus: note: unrecognized command-line option '-Wno-enum-constexpr-
 conversion' may have been intended to silence earlier diagnostics
 ...failed darwin.compile.c++.pch
 bin.v2/libs/math/build/pch/darwin-14.2.0/release/threading-multi
 /visibility-hidden/../src/tr1/pch.hpp.gch...
 }}}

 Can `poppler` use `boost178` as well? It has a variant `+boost` without
 any digits…

-- 
Ticket URL: <https://trac.macports.org/ticket/71632>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list