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

MacPorts noreply at macports.org
Tue Apr 9 01:14:52 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 takeshi@…):

 I have been trying to find why ncarg fails with xnu-headers. The
 problematic headers, files.h and  fcntl.h in /usr/include/sys and those of
 xnu-headers are identical. I don't see why. fcntl.h is included in file.h.
 I defined FreeBSD to use sys/filio.h instead of sys/file.h, but this
 didn't help.

 I found that using macports-gcc-4.x, xnu-headers may be active. ncarg has
 not conformed UsingTheRightCompiler since one of ncl's function
 (setfileoption) caused segmentation fault. The current version doesn't
 seem to have this problem (I tested with gcc46 and gcc47). So I set
 configure.compiler for gcc4x and added conflicts_build for g95.

 The problem occurs with llvm-gcc-4.2 and clang. A part of the problem
 might be /usr/include has fcntl.h but not in /opt/local/include.  I
 continue to work on the problem.

 Committed in r105081.

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


More information about the macports-tickets mailing list