[MacPorts] #57104: octave @4.4.1_0 -atlas +accelerate +gfortran +glgui +qtgui -docs: config failure

MacPorts noreply at macports.org
Sun Sep 9 09:33:39 UTC 2018


#57104: octave @4.4.1_0 -atlas +accelerate +gfortran +glgui +qtgui -docs: config
failure
-----------------------------+---------------------------------
  Reporter:  majoc-at-astro  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.3
Resolution:                  |   Keywords:
      Port:  octave          |
-----------------------------+---------------------------------

Comment (by mndavidoff):

 I've run into the same problem on an up-to-date macOS 10.13.6 system.
 Here's the error message from `config.log` (see attached) regarding the
 `socklen_t` failure:

 {{{
 configure:59756: checking for socklen_t
 configure:59756: /usr/bin/clang -c -pipe -Os -arch x86_64 -D_THREAD_SAFE
 -pthread  -I/opt/local/include conftest.c >&5
 In file included from conftest.c:469:
 In file included from /usr/include/sys/types.h:109:
 /usr/include/sys/_types/_gid_t.h:31:24: error: cannot combine with
 previous 'type-name' declaration specifier
 typedef __darwin_gid_t  gid_t;
                         ^
 conftest.c:202:15: note: expanded from macro 'gid_t'
 #define gid_t int
               ^
 In file included from conftest.c:469:
 In file included from /usr/include/sys/types.h:128:
 /usr/include/sys/_types/_uid_t.h:31:31: error: cannot combine with
 previous 'type-name' declaration specifier
 typedef __darwin_uid_t        uid_t;
                               ^
 conftest.c:201:15: note: expanded from macro 'uid_t'
 #define uid_t int
               ^
 2 errors generated.
 configure:59756: $? = 1
 }}}

 This appears to be related to this message in `main.log`:

 {{{
 :info:configure checking for uid_t in sys/types.h... no
 }}}

 and these errors in `config.log`:

 {{{
 configure:46528: checking for uid_t in sys/types.h
 clang: error: unable to execute command: Broken pipe: 13
 clang: error: clang frontend command failed due to signal (use -v to see
 invocation)
 Apple LLVM version 9.1.0 (clang-902.0.39.2)
 Target: x86_64-apple-darwin17.7.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 clang: note: diagnostic msg: PLEASE submit a bug report to
 http://developer.apple.com/bugreporter/ and include the crash backtrace,
 preprocessed source, and associated run script.
 clang: note: diagnostic msg:
 ********************

 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 Preprocessed source(s) and associated run script(s) are located at:
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/.tmp
 /conftest-ee0de8.c
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/.tmp
 /conftest-ee0de8.sh
 clang: note: diagnostic msg: Crash backtrace is located in
 clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/.home/Library/Logs/DiagnosticReports/clang_
 <YYYY-MM-DD-HHMMSS>_<hostname>.crash
 clang: note: diagnostic msg: (choose the .crash file that corresponds to
 your crash)
 clang: note: diagnostic msg:

 ********************
 configure:46547: result: no
 }}}

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


More information about the macports-tickets mailing list