[MacPorts] #67766: legacysupport: building and running tests on Tiger

MacPorts noreply at macports.org
Wed Jul 19 05:10:42 UTC 2023


#67766: legacysupport: building and running tests on Tiger
--------------------+---------------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  legacysupport
--------------------+---------------------------
 currently building legacysupport standalone (outside of MacPorts), and
 running the tests, fails on Tiger as there is no native "copyfile.h" to
 include_next.

 And come to think of it, all the files in the "tiger_only/include"
 directory that need to be included in the build as system files are not
 being included.

 To make it build and run (Tiger only), you have to add an -isystem to the
 build line like this:

 {{{
  CC="/opt/local/bin/gcc-apple-4.2 -isystem tiger_only/include "
 CXX="/opt/local/bin/g++-apple-4.2 -isystem tiger_only/include " make test
 }}}

 and then it will work. We might be able to incorporate that into the
 Makefile somehow.

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


More information about the macports-tickets mailing list