[MacPorts] #59229: m4 1.4.18_2.darwin_19.x86_64: build errors in ftello.c on MacOS 10.15 Catalina
MacPorts
noreply at macports.org
Wed Oct 9 20:54:55 UTC 2019
#59229: m4 1.4.18_2.darwin_19.x86_64: build errors in ftello.c on MacOS 10.15
Catalina
-----------------------+--------------------
Reporter: dfaulkner | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Keywords: | Port: m4
-----------------------+--------------------
Fresh install of MacPorts on MacOS 10.15 (Catalina) beta (19A573a).
Attempting to build m4 as a dependency of other things (nmap), but got an
error during the build. Attempted to rebuild m4 with port install m4, but
got the same error. I'm attaching the full main.log, but here are the
relevant lines:
{{{
:info:build ftello.c:53:12: error: no member named '_flag' in 'struct
__sFILE'; did you mean '_flags'?
:info:build if (fp_->_flag & _IOWRT)
:info:build ^~~~~
:info:build _flags
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:130:8:
note: '_flags' declared here
:info:build short _flags; /* flags, below; this FILE is
free if 0 */
:info:build ^
:info:build ftello.c:53:20: error: use of undeclared identifier '_IOWRT'
:info:build if (fp_->_flag & _IOWRT)
:info:build ^
:info:build ftello.c:64:21: error: no member named '_flag' in 'struct
__sFILE'; did you mean '_flags'?
:info:build if ((fp_->_flag & _IONBF) == 0 && fp_->_base !=
NULL)
:info:build ^~~~~
:info:build _flags
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:130:8:
note: '_flags' declared here
:info:build short _flags; /* flags, below; this FILE is
free if 0 */
:info:build ^
:info:build ftello.c:64:50: error: no member named '_base' in 'struct
__sFILE'
:info:build if ((fp_->_flag & _IONBF) == 0 && fp_->_base !=
NULL)
:info:build ~~~ ^
:info:build ftello.c:65:25: error: no member named '_ptr' in 'struct
__sFILE'
:info:build pos += fp_->_ptr - fp_->_base;
:info:build ~~~ ^
:info:build ftello.c:65:37: error: no member named '_base' in 'struct
__sFILE'
:info:build pos += fp_->_ptr - fp_->_base;
:info:build ~~~ ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59229>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list