[MacPorts] #66272: llvm-10: if given arguments: "VERSION_LESS" "2.7" Unknown arguments specified (was: Grace fails to configure)

MacPorts noreply at macports.org
Wed Nov 16 21:16:07 UTC 2022


#66272: llvm-10: if given arguments: "VERSION_LESS" "2.7" Unknown arguments
specified
-----------------------+---------------------
  Reporter:  Vahid999  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  ventura
      Port:  llvm-10   |
-----------------------+---------------------
Changes (by ryandesign):

 * port:  grace => llvm-10


Old description:

> Hi,
>
> I have updated MacPorts on Ventura and installed Xcode 14.1.
>
> When installing grace, I get the following:
> {{{
> Configuring llvm-10
> Error: Failed to configure llvm-10: consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-10/llvm-10/work/build/CMakeFiles/CMakeError.log
> Error: Failed to configure llvm-10: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-10/llvm-10/main.log
> for details.
> Error: rev-upgrade failed: Error rebuilding llvm-10
> }}}
> However, when Chris (https://lists.macports.org/pipermail/macports-
> users/2022-November/051623.html) asked me to run
>
> sudo port clean grace\\
>
> sudo port -d configure grace
>
> based on the output (transcript) attached to the above thread, he
> believes that grace fails at configure.
>
> Thank you,\\
>
> Vahid

New description:

 Hi,

 I have updated MacPorts on Ventura and installed Xcode 14.1.

 When installing grace, I get the following:
 {{{
 Configuring llvm-10
 Error: Failed to configure llvm-10: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-10/llvm-10/work/build/CMakeFiles/CMakeError.log
 Error: Failed to configure llvm-10: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-10/llvm-10/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding llvm-10
 }}}
 However, when Chris (https://lists.macports.org/pipermail/macports-
 users/2022-November/051623.html) asked me to run

 {{{
 sudo port clean grace
 sudo port -d configure grace
 }}}

 based on the output (transcript) attached to the above thread, he believes
 that grace fails at configure.

 Thank you,

 Vahid

--

Comment:

 Everything in this ticket indicates a problem configuring llvm-10. The
 llvm-10 port has no idea that grace was the port you tried to install, so
 this failure has nothing to do with grace.

 The log says the problem configuring llvm-10 was:

 {{{
 :info:configure sh: /bin/ps: Operation not permitted
 :info:configure sh: /bin/ps: Operation not permitted
 :info:configure CMake Error at CMakeLists.txt:658 (if):
 :info:configure   if given arguments:
 :info:configure     "VERSION_LESS" "2.7"
 :info:configure   Unknown arguments specified
 :info:configure -- Configuring incomplete, errors occurred!
 }}}

 If you have other logs showing a problem with grace, file a separate
 ticket, however the grace log you attached to the aforementioned mailing
 list post did not show any error; it showed successful configuration of
 grace, so there's no bug there, based on that log.

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


More information about the macports-tickets mailing list