[MacPorts] #57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'

MacPorts
#57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  jeremyhu
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  llvm-devel
------------------------+------------------------
 [https://build.macports.org/builders/ports-10.8_x86_64_legacy-
 builder/builds/77522/steps/install-port/logs/stdio lldb-devel does not
 build]:

 {{{
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:584:12:
 error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
     cmd == LC_VERSION_MIN_TVOS || cmd == LC_VERSION_MIN_WATCHOS;
            ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:584:42:
 error: use of undeclared identifier 'LC_VERSION_MIN_WATCHOS'
     cmd == LC_VERSION_MIN_TVOS || cmd == LC_VERSION_MIN_WATCHOS;
                                          ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:601:10:
 error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
     case LC_VERSION_MIN_TVOS:
          ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachProcess.mm:603:10:
 error: use of undeclared identifier 'LC_VERSION_MIN_WATCHOS'
     case LC_VERSION_MIN_WATCHOS:
          ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:408:35:
 error: use of undeclared identifier 'vm_kernel_page_size'
       static vm_size_t pagesize = vm_kernel_page_size;
                                   ^
 /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-devel/lldb-
 devel/work/trunk/tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:414:18:
 error: no member named 'external_page_count' in 'vm_statistics64'
           vminfo.external_page_count - vminfo.purgeable_count;
           ~~~~~~ ^
 2 errors generated.
 make[2]: ***
 [tools/lldb/tools/debugserver/source/CMakeFiles/lldbDebugserverCommon.dir/MacOSX/MachTask.mm.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs....
 4 errors generated.
 make[2]: ***
 [tools/lldb/tools/debugserver/source/CMakeFiles/lldbDebugserverCommon.dir/MacOSX/MachProcess.mm.o]
 Error 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57499>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'

MacPorts
#57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  llvm-devel  |
-------------------------+----------------------

Comment (by jeremyhu):

 What are you building this on?  Those should be declared in pretty much
 any recent SDK.

--
Ticket URL: <https://trac.macports.org/ticket/57499#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'

MacPorts
In reply to this post by MacPorts
#57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  llvm-devel  |
-------------------------+----------------------

Comment (by jeremyhu):

 And actually, I think they should also be local in llvm since llvm has its
 own mac-o library instead of using the system's.

--
Ticket URL: <https://trac.macports.org/ticket/57499#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'

MacPorts
In reply to this post by MacPorts
#57499: lldb-devel: error: use of undeclared identifier 'LC_VERSION_MIN_TVOS'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  llvm-devel  |
-------------------------+----------------------

Comment (by ryandesign):

 Per the log, this happened on the 10.8 buildbot worker.

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