Opened 5 years ago
Closed 5 years ago
#59229 closed defect (fixed)
m4 1.4.18_2.darwin_19.x86_64: build errors in ftello.c on MacOS 10.15 Catalina
Reported by: | dfaulkner (Don Faulkner) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.1 |
Keywords: | catalina | Cc: | |
Port: | m4 |
Description
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 ~~~ ^
Attachments (1)
Change History (4)
Changed 5 years ago by dfaulkner (Don Faulkner)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Keywords: | catalina added |
---|
You're still running the beta? Please confirm that this issue is still present with the final release of Catalina.
comment:2 Changed 5 years ago by dlamija (Muhammed Ramiza)
success build my nmap and m4; ... try using single cpu. add
buildmakejobs 1
inside /opt/local/etc/macport/macport.conf
comment:3 Changed 5 years ago by cjones051073 (Chris Jones)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Number of build jobs is irrelevant. Issue was fixed in the release versions of xcode 11 and mac os 10.15.
Note: See
TracTickets for help on using
tickets.
build log for m4