[MacPorts] #64902: openjdk11 @11.0.14.1_1: error: use of undeclared identifier 'assert'

MacPorts noreply at macports.org
Sun Apr 3 02:05:50 UTC 2022


#64902: openjdk11 @11.0.14.1_1: error: use of undeclared identifier 'assert'
------------------------+----------------------
  Reporter:  dbl001     |      Owner:  breun
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:             |   Keywords:
      Port:  openjdk11  |
------------------------+----------------------

Comment (by dlamija):

 Replying to [comment:7 dbl001]:
 > I ran openjdk11 again and it worked.  I assumed you made some changes.
 Do you still want me to try trace mode?
 i've the same issue but found unmatched asset.h with
 \\
 error: too many arguments provided to function-like macro invocation


 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-
 ports_java_openjdk11/openjdk11/work/openjdk11-11.0.14.1/test/hotspot/gtest/jfr/test_networkUtilization.cpp:223:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-
 ports_java_openjdk11/openjdk11/work/openjdk11-11.0.14.1/src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:58:25:
 error: too many arguments provided to function-like macro invocation
 :info:build   assert(iface != NULL, "invariant");
 :info:build                         ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:98:9:
 note: macro 'assert' defined here
 :info:build #define assert(e) \

 }}}

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


More information about the macports-tickets mailing list