Fwd: [E] Fwd: Your message to build-dev awaits moderator approval
Lee Rhodes
lrhodes at verizonmedia.com
Fri Apr 9 16:15:10 UTC 2021
Hello,
I didn't realize the "build-dev at openjdk.java.net" help site was for
"members only" and I'm not sure I qualify as a "member", but I have
submitted an OCA using this email address (lrhodes at verizonmedia.com), but
my help request was submitted using my other email address "leerho at gmail.com
".
Copied below is the text of my request for help and the robot response I
received.
Lee.
###########
Hello,
I have forked foreign-memaccess+abi
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openjdk_panama-2Dforeign_tree_foreign-2Dmemaccess-2Babi&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=HJMQSl7P2bwNa0ZlAZJnv4w5N1NroUFTCefc--KlZQc&m=Ht2DUcO0w5hTRKMglmzE4U9LE_Np1SdVxjvJT0sIh_M&s=dhh8aw3CuukoiuhwEOUMPRSgzrlHv6w7U1qX6tufgFo&e=>
in
preparation for making some code contributions.
However, I have been unsuccessful in getting this project to pass the 'bash
configure' phase as detailed below:
This is my environment:
> MacBook Pro (15-inch, 2018)
> 2.6 GHz 6-core, Intel Core i7
> 32GB RAM, 248GB Flash Storage available of 500GB
> MacOS: Big Sur, version 11.2.3
> Xcode Version 12.4 (12D4e)
> Xcode Command Line Tools are already installed
> Apple clang version 12.0.0 (clang-1200.0.32.29)
> Target: x86_64-apple-darwin20.3.0
> autoconf 2.71 installed
> echo $JAVA_HOME
> AdoptOpenJDK 15:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
Note: In the referenced building.md
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openjdk_panama-2Dforeign_blob_foreign-2Djextract_doc_building.md&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=HJMQSl7P2bwNa0ZlAZJnv4w5N1NroUFTCefc--KlZQc&m=Ht2DUcO0w5hTRKMglmzE4U9LE_Np1SdVxjvJT0sIh_M&s=bwTtlhT_wmAChTiuQqIBC_lrP9W9wz5nJdqzPHv3G_4&e=>
page
from the README.md the reference to the blog page (for suggestions on
managing multiple Xcode versions)
<https://urldefense.proofpoint.com/v2/url?u=http-3A__iosdevelopertips.com_xcode_install-2Dmultiple-2Dversions-2Dof-2Dxcode.html&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=HJMQSl7P2bwNa0ZlAZJnv4w5N1NroUFTCefc--KlZQc&m=Ht2DUcO0w5hTRKMglmzE4U9LE_Np1SdVxjvJT0sIh_M&s=mTASwS3WeYYTBJjKzgLkqkPrpc6vlgTcvwSx2rNYQus&e=>
is
a bad link.
####
When I run
*bash configure *
I get the error:
> error: Cannot locate libclang! You can download pre-built llvm
> binary from http://llvm.org/releases/download.html
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_releases_download.html&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=HJMQSl7P2bwNa0ZlAZJnv4w5N1NroUFTCefc--KlZQc&m=Ht2DUcO0w5hTRKMglmzE4U9LE_Np1SdVxjvJT0sIh_M&s=QLB12Bh-JIKdLC-Sgv0aQwDMTZUVbiUS4nhZsywdYao&e=>,
> then specify the
> location using --with-libclang
Specifying the path to libclang, (it expects clang 9.0.0, which I installed
in a parallel directory to the clang 12.0.0, which comes with Xcode.)
*bash configure
--with-libclang=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/clang/9.0.0*
I get the error:
> checking libclang version to be used... 9 (default)
> checking libclang auxiliary include path...
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include
> checking for clang-c/Index.h... no
> configure: error: Cannot locate libclang or headers at the specified
> locations:
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
> configure exiting with result code 1
I also tried overriding the default version of clang with the option
*--with-libclang-version=12.0.0, *which also failed.
Any suggestions would be greatly appreciated.
Lee.
##########
---------- Forwarded message ---------
From: <build-dev-owner at openjdk.java.net>
Date: Thu, Apr 8, 2021 at 11:09 PM
Subject: Your message to build-dev awaits moderator approval
To: <leerho at gmail.com>
Your mail to 'build-dev' with the subject
Build problems on MacOS
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list
Either the message will get posted to the list, or you will receive
notification of the moderator's decision. If you would like to cancel
this posting, please visit the following URL:
https://mail.openjdk.java.net/mailman/confirm/build-dev/b7be93c4f2e963db037ede37bcda6a8b0711cd3b
<https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openjdk.java.net_mailman_confirm_build-2Ddev_b7be93c4f2e963db037ede37bcda6a8b0711cd3b&d=DwMFaQ&c=sWW_bEwW_mLyN3Kx2v57Q8e-CRbmiT9yOhqES_g_wVY&r=HJMQSl7P2bwNa0ZlAZJnv4w5N1NroUFTCefc--KlZQc&m=b2H3Ivw-vAtTmu1cgsWT9u6P8gVl8Of4rbcO7_jAROI&s=T3Uz7kXFAKvYzPG2CIvg2V4XyFCswzsm2JM4UQgKSps&e=>
More information about the build-dev
mailing list