Opened 6 years ago

Closed 6 years ago

#57104 closed defect (fixed)

octave @4.4.1_0 -atlas +accelerate +gfortran +glgui +qtgui -docs: config failure

Reported by: majoc-at-astro (majoc-at-astro) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: mndavidoff (Monte Davidoff), belagoof, gallafent
Port: octave

Description

Build from scratch (on 10.11--10.13) started failing to configure, and therefore to build, between 28th and 30th August. Log attached, but here's the top bit:

:info:configure checking for socklen_t... no
:info:configure checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-4.4.1" && ./configure --prefix=/opt/local --without-osmesa --with-framework-carbon --without-x --enable-static --disable-openmp --disable-java --with-qt=5 --without-fltk --with-framework-opengl --disable-jit --with-sndfile --with-portaudio --with-magick=GraphicsMagick --disable-docs --with-amd="-lamd -lsuitesparseconfig" --with-camd="-lcamd -lsuitesparseconfig" --with-colamd="-lcolamd -lsuitesparseconfig" --with-cholmod="-lcholmod -lsuitesparseconfig" --with-cxsparse="-lcxsparse -lsuitesparseconfig" --with-umfpack="-lumfpack -lsuitesparseconfig" --without-openssl FLIBS="-L/opt/local/lib/gcc7 -lgfortran -lquadmath -lm" --with-blas="-L/opt/local/lib -lvecLibFort" --with-lapack="" 
:info:configure Exit code: 1

This happened while I was on a week's leave, and nobody's logged into the build systems recently, so they appear to have been untouched. OS fully up-to-date.

Do let me know, please, if you need any further information. Thanks in advance.

Attachments (4)

octave.log.2018-09-06_05.35.36.bz2 (19.2 KB) - added by majoc-at-astro (majoc-at-astro) 6 years ago.
config.log-20190909T0231.gz (112.7 KB) - added by mndavidoff (Monte Davidoff) 6 years ago.
config.log.20180913_1049.gz (103.9 KB) - added by belagoof 6 years ago.
Config log (belagoof)
main.log.20180913_1049.gz (25.3 KB) - added by belagoof 6 years ago.

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by majoc-at-astro (majoc-at-astro)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: MarcusCalhoun-Lopez removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 6 years ago by mndavidoff (Monte Davidoff)

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

Changed 6 years ago by mndavidoff (Monte Davidoff)

Attachment: config.log-20190909T0231.gz added

comment:3 Changed 6 years ago by mndavidoff (Monte Davidoff)

Cc: mndavidoff added

comment:4 Changed 6 years ago by belagoof

Looks like I have the same issue. macOS 10.12.6 From main.log (see also attachment):

:info:configure checking for socklen_t... no
:info:configure checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_octave/octave/work/octave-4.4.1" && ./configure --prefix=/opt/local --without-osmesa --with-framework-carbon --without-x --enable-static --disable-openmp --disable-java --with-qt=5 --without-fltk --with-framework-opengl --disable-jit --with-sndfile --with-portaudio --with-magick=GraphicsMagick --enable-docs --with-amd="-lamd -lsuitesparseconfig" --with-camd="-lcamd -lsuitesparseconfig" --with-colamd="-lcolamd -lsuitesparseconfig" --with-cholmod="-lcholmod -lsuitesparseconfig" --with-cxsparse="-lcxsparse -lsuitesparseconfig" --with-umfpack="-lumfpack -lsuitesparseconfig" --without-openssl FLIBS="-L/opt/local/lib/gcc7 -lgfortran -lquadmath -lm" --with-blas="-L/opt/local/lib -lsatlas" --with-lapack="" 
:info:configure Exit code: 1

Several errors in config.log - see attachment.

Changed 6 years ago by belagoof

Attachment: config.log.20180913_1049.gz added

Config log (belagoof)

Changed 6 years ago by belagoof

Attachment: main.log.20180913_1049.gz added

comment:5 Changed 6 years ago by belagoof

Cc: belagoof added

comment:6 Changed 6 years ago by gallafent

Cc: gallafent added

comment:7 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.