[MacPorts] #71203: cmake: Failed to configure cmake-bootstrap: configure failure: command execution failed
MacPorts
noreply at macports.org
Tue Oct 29 23:25:55 UTC 2024
#71203: cmake: Failed to configure cmake-bootstrap: configure failure: command
execution failed
-------------------------+--------------------
Reporter: Ubiquitous | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: cmake
Port: |
-------------------------+--------------------
Description changed by Ubiquitous:
Old description:
> macOS 15.0.1
> Python 3.10.15
>
> {{{
> % sudo port install cmake-devel
>
> :info:configure Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
> /cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
> --no-server
> :debug:configure system: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
> /cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
> --no-server
> :info:configure ---------------------------------------------
> :info:configure CMake 3.9.6, Copyright 2000-2017 Kitware, Inc. and
> Contributors
> :info:configure C compiler on this system is: /usr/bin/clang -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -std=gnu11
> :info:configure ---------------------------------------------
> :info:configure Error when bootstrapping CMake:
> :info:configure Cannot find appropriate C++ compiler on this system.
> :info:configure Please specify one using environment variable CXX.
> :info:configure See cmake_bootstrap.log for compilers attempted.
> :info:configure ---------------------------------------------
> :info:configure Log of errors:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6/Bootstrap.cmk/cmake_bootstrap.log
> :info:configure ---------------------------------------------
> :info:configure Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
> /cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
> --no-server
> :info:configure Exit code: 7
> :error:configure Failed to configure cmake-bootstrap: configure failure:
> command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
> :debug:configure while executing
> :debug:configure "$procedure $targetname"
> :error:configure See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/main.log for details.
> }}}
>
> Looking at the logs:
>
> {{{
> % cat
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6/Bootstrap.cmk/cmake_bootstrap.log
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6/bootstrap: line 677: : command not found
> Test failed to compile
> Checking for wheter -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 supports -qlanglvl=extended
> Try:
> Line: -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -qlanglvl=extended -DTEST1 cmake_bootstrap_47729_test.cxx -o
> cmake_bootstrap_47729_test
> ---------- file -----------------------
>
> #if defined(TEST1)
> # include <iostream>
> #else
> # include <iostream.h>
> #endif
>
> #if __cplusplus >= 201103L && defined(__SUNPRO_CC) && __SUNPRO_CC <
> 0x5140
> #error "SunPro <= 5.13 C++ 11 mode not supported due to bug in move
> semantics."
> #endif
>
> class NeedCXX
> {
> public:
> NeedCXX() { this->Foo = 1; }
> int GetFoo() { return this->Foo; }
> private:
> int Foo;
> };
> int main()
> {
> NeedCXX c;
> #ifdef TEST3
> cout << c.GetFoo() << endl;
> #else
> std::cout << c.GetFoo() << std::endl;
> #endif
> return 0;
> }
>
> ------------------------------------------
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
> bootstrap/work/cmake-3.9.6/bootstrap: line 677: : command not found
> }}}
New description:
macOS 15.0.1
Python 3.10.15
{{{
% sudo port install cmake-devel
:info:configure Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
/cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
--no-server
:debug:configure system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
/cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
--no-server
:info:configure ---------------------------------------------
:info:configure CMake 3.9.6, Copyright 2000-2017 Kitware, Inc. and
Contributors
:info:configure C compiler on this system is: /usr/bin/clang -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-std=gnu11
:info:configure ---------------------------------------------
:info:configure Error when bootstrapping CMake:
:info:configure Cannot find appropriate C++ compiler on this system.
:info:configure Please specify one using environment variable CXX.
:info:configure See cmake_bootstrap.log for compilers attempted.
:info:configure ---------------------------------------------
:info:configure Log of errors:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6/Bootstrap.cmk/cmake_bootstrap.log
:info:configure ---------------------------------------------
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6" && ./configure --prefix=/opt/local/libexec
/cmake-bootstrap --docdir=share/doc/cmake --parallel=20 --no-system-libs
--no-server
:info:configure Exit code: 7
:error:configure Failed to configure cmake-bootstrap: configure failure:
command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure while executing
:debug:configure "$procedure $targetname"
:error:configure See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/main.log for details.
}}}
Looking at the logs:
{{{
% cat
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6/Bootstrap.cmk/cmake_bootstrap.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6/bootstrap: line 677: : command not found
Test failed to compile
Checking for wheter -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
supports -qlanglvl=extended
Try:
Line: -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
-qlanglvl=extended -DTEST1 cmake_bootstrap_47729_test.cxx -o
cmake_bootstrap_47729_test
---------- file -----------------------
#if defined(TEST1)
# include <iostream>
#else
# include <iostream.h>
#endif
#if __cplusplus >= 201103L && defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
#error "SunPro <= 5.13 C++ 11 mode not supported due to bug in move
semantics."
#endif
class NeedCXX
{
public:
NeedCXX() { this->Foo = 1; }
int GetFoo() { return this->Foo; }
private:
int Foo;
};
int main()
{
NeedCXX c;
#ifdef TEST3
cout << c.GetFoo() << endl;
#else
std::cout << c.GetFoo() << std::endl;
#endif
return 0;
}
------------------------------------------
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-
bootstrap/work/cmake-3.9.6/bootstrap: line 677: : command not found
}}}
Checking C++ Compiler
{{{
% echo $CXX
/usr/bin/clang++
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/71203#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list