Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#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)

main.log (223.6 KB) - added by akimd (Akim Demaille) 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by akimd (Akim Demaille)

Attachment: main.log added

comment:1 Changed 2 years ago by cjones051073 (Chris Jones)

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.

Last edited 2 years ago by cjones051073 (Chris Jones) (previous) (diff)

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:

https://github.com/macports/macports-ports/pull/15557

comment:4 Changed 2 years ago by Ken <21211439+kencu@…>

Owner: set to Ken <21211439+kencu@…>
Resolution: fixed
Status: newclosed

In 2b061f6e98cf8fbf7cf513e86be63ae144bd6127/macports-ports (master):

clang-devel: disable orc module

not building at present
closes: #65578

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!

Note: See TracTickets for help on using tickets.