[MacPorts] #60961: povray @3.7.0.8 build failure, Xcode 11.6 clang++ internal error

MacPorts noreply at macports.org
Thu Dec 3 20:33:24 UTC 2020


#60961: povray @3.7.0.8 build failure, Xcode 11.6 clang++ internal error
--------------------------+--------------------
  Reporter:  jonas-bjork  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.3
Resolution:               |   Keywords:
      Port:  povray       |
--------------------------+--------------------

Comment (by murrayE):

 I already have current clang-0.9 installed and used

 {{{
 sudo port -v install povray configure.compiler=macports-clang-9.0
 }}}

 but still get build error with povray. Log attached. Bunch of errors
 during build, including:

 {{{:info:build ../version:1:1: error: expected unqualified-id
 :info:build 3.7.0.8
 :info:build ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 }}}

 and

 {{{
 :info:build _Tp* __cxx_atomic_fetch_add(__cxx_atomic_base_impl<_Tp*>
 volatile* __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT {
 :info:build
 ^
 :info:build
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/atomic:1024:65: error:
 unknown type name 'ptrdiff_t'
 :info:build _Tp* __cxx_atomic_fetch_add(__cxx_atomic_base_impl<_Tp*> *
 __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT {
 :info:build
 ^
 :info:build
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/atomic:1040:73: error:
 unknown type name 'ptrdiff_t'
 :info:build _Tp* __cxx_atomic_fetch_sub(__cxx_atomic_base_impl<_Tp*>
 volatile* __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT {
 :info:build
 ^
 :info:build
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/atomic:1045:65: error:
 unknown type name 'ptrdiff_t'
 :info:build _Tp* __cxx_atomic_fetch_sub(__cxx_atomic_base_impl<_Tp*> *
 __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT {
 :info:build
 ^
 :info:build
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/atomic:1679:20: error:
 unknown type name 'ptrdiff_t'
 :info:build     _Tp* fetch_add(ptrdiff_t __op, memory_order __m =
 memory_order_seq_cst)
 :info:build                    ^
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 :info:build 20 errors generated.
 }}}

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


More information about the macports-tickets mailing list