[MacPorts] #50481: qt4-mac: libc++ under Lion

MacPorts noreply at macports.org
Thu Sep 26 06:40:44 UTC 2019


#50481: qt4-mac: libc++ under Lion
-------------------------+-----------------------
  Reporter:  ctreleaven  |      Owner:  michaelld
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  qt4-mac     |
-------------------------+-----------------------

Comment (by mojca):

 [https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/144/steps
 /install-dependencies/logs/stdio 10.6] fails with
 {{{
 In file included from nis.cpp:45:
 /usr/include/rpcsvc/yp_prot.h:94:22: error: redeclaration of C++ built-in
 type 'bool'
 typedef unsigned int bool;
                      ^
 1 error generated.
 make: *** [nis.o] Error 1
 }}}
 {{{
 /opt/local/bin/clang++-mp-8.0 -c -pipe -arch x86_64 -O2 -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o clock-gettime.o clock-gettime.cpp
 clock-gettime.cpp:51:4: error: "Feature _POSIX_TIMERS not available"
 #  error "Feature _POSIX_TIMERS not available"
    ^
 clock-gettime.cpp:53:5: error: use of undeclared identifier
 'force_compiler_error'
     force_compiler_error = true;
     ^
 2 errors generated.
 }}}
 {{{
 /opt/local/bin/clang++-mp-8.0 -c -pipe -arch x86_64 -O2 -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o inotifytest.o inotifytest.cpp
 inotifytest.cpp:42:10: fatal error: 'sys/inotify.h' file not found
 #include <sys/inotify.h>
          ^~~~~~~~~~~~~~~
 1 error generated.
 make: *** [inotifytest.o] Error 1
 }}}
 {{{
 /opt/local/bin/clang++-mp-8.0 -c -pipe -arch x86_64 -O2 -Wall -W
 -I../../../mkspecs/macx-g++ -I. -o openvg.o openvg.cpp
 openvg.cpp:48:10: fatal error: 'VG/openvg.h' file not found
 #include <VG/openvg.h>
          ^~~~~~~~~~~~~
 1 error generated.
 make: *** [openvg.o] Error 1
 }}}

 Related issue from another package manager:
 https://github.com/spack/spack/issues/4959 but it's not clear to me what
 exactly fixed the build.

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


More information about the macports-tickets mailing list