#65578 closed defect (fixed)
clang-devel fails to configure
Reported by: | akimd (Akim Demaille) | Owned by: | Ken <21211439+kencu@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia), cjones051073 (Chris Jones) | |
Port: | clang-devel |
Description
Hi,
I can't install clang-level on this Apple M1 Pro, Monterey 12.4 (21F79). The failure is during configuration, it seems to complain about a missing c_api.h file:
:info:configure CMake Error at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-devel/clang-devel/work/llvm-project-4334cbd49 b69ea036e7c9551c6177cd29b02c312/compiler-rt/cmake/Modules/AddCompilerRT.cmake:69 (add_library): :info:configure Cannot find source file: :info:configure c_api.h
Cheers!
Attachments (1)
Change History (6)
Changed 2 years ago by akimd (Akim Demaille)
comment:1 Changed 2 years ago by cjones051073 (Chris Jones)
comment:2 Changed 2 years ago by akimd (Akim Demaille)
Hi Chris,
This port just follows upstream commits, so is likely to have issues that come and go.
Ok, I wasn't unaware of that, thanks! Feel free to close this issue then.
Just curious, but Is there some reason you need to use this port ?
I maintain Bison, and it has been reported that with Clang 15, there are new warnings that show up (https://github.com/akimd/bison/issues/89). I wanted to test myself to see what needs to be done.
Thanks!
comment:3 Changed 2 years ago by kencu (Ken)
updated to current commit and fixed build, if you want to try it:
comment:4 Changed 2 years ago by Ken <21211439+kencu@…>
Owner: | set to Ken <21211439+kencu@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 Changed 2 years ago by akimd (Akim Demaille)
Thanks Ken, it worked! That allowed me to close the issue.
https://lists.gnu.org/r/bison-patches/2022-08/msg00006.html
Cheers!
This port just follows upstream commits, so is likely to have issues that come and go. It shouldn’t be used for any real work. Maybe moving to a newer upstream commit will help, maybe not…
Just curious, but Is there some reason you need to use this port ? Its primarily there just to see how the builds fare, to monitor things, not to be used for anything much.