[MacPorts] #38687: ncarg @6.1.2_1 missing ncl executable

MacPorts noreply at macports.org
Sun Apr 7 08:11:12 PDT 2013


#38687: ncarg @6.1.2_1 missing ncl executable
---------------------------+-----------------------
  Reporter:  c.brierley@…  |      Owner:  takeshi@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  ncarg         |
---------------------------+-----------------------

Comment (by ryandesign@…):

 On my system, ncarg installs 59 binaries; Chris, your list only has 27.

 Seems like the ncarg build system does not detect when it runs into
 problems. Takeshi, the the first I'd do is have the port check (in a post-
 build block) that ncl (and perhaps some other key programs) got built, and
 exit with an error if not. See the cdrtools port for an example of how
 this can be done, though it can probably be simplified for ncarg, assuming
 its build location is always the same (cdrtools' varies by machine).

 Chris, your log shows lots of errors like:
 {{{
 /opt/local/include/sys/fcntl.h:268: error: expected identifier or ‘(’
 before ‘/’ token
 }}}

 /opt/local/include/sys/fcntl.h is provided by the xnu-headers port. Try
 deactivating that port (`sudo port -f deactivate xnu-headers`), then
 cleaning ncarg (`sudo port clean ncarg`) and trying the build again. Re-
 activate xnu-headers again afterward (`sudo port activate xnu-headers`)
 since it's probably a dependency of one of your other ports. I have
 installed xnu-headers now and am rebuilding ncarg now to see if I can
 reproduce the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/38687#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list