[MacPorts] #64902: error: use of undeclared identifier 'assert'

MacPorts noreply at macports.org
Mon Mar 28 18:42:00 UTC 2022


#64902: error: use of undeclared identifier 'assert'
---------------------+-----------------------
 Reporter:  dbl001   |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.7.2
 Keywords:  openjdk  |       Port:  openjdk11
---------------------+-----------------------
 I am getting this error:  error: use of undeclared identifier 'assert'
 on port openjdk11 on OS X 12.3
 {{{
 % xcrun --show-sdk-path
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk

 }}}
 Excerpt from main.log:
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_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_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work/openjdk11-11.0.14.1/src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:146:3:
 error: use of undeclared identifier 'assert'
 :info:build   assert(_interfaces != NULL, "invariant");
 :info:build   ^
 :info:build 14 errors generated.
 :q
 }}}

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


More information about the macports-tickets mailing list