[MacPorts] #63460: cmake-3.21.2_0 fails to configure on older Xcode clang versions

MacPorts noreply at macports.org
Mon Sep 13 15:25:05 UTC 2021


#63460: cmake-3.21.2_0 fails to configure on older Xcode clang versions
---------------------+----------------------------
  Reporter:  tehcog  |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  High    |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:  lion mavericks
      Port:  cmake   |
---------------------+----------------------------

Comment (by michaelld):

 That was pretty quick! Here's what I see:
 {{{
 :info:configure /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64
 -std=gnu++1y      -DCMAKE_BOOTSTRAP    -DCMake_HAVE_CXX_MAKE_UNIQUE=1
 -I/opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Bootstrap.cmk
 -I/opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Source
 -I/opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Source/LexerParser
 -I/opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Utilities/std
 -I/opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Utilities
 -c
 /opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Source/cmInstallRuntimeDependencySet.cxx
 -o cmInstallRuntimeDependencySet.o
 :info:configure
 /opt/local/var/macports/build/_Volumes_Common_MacPorts_ports_github_macports_devel_cmake/cmake/work/cmake-3.21.2/Source/cmInstallRuntimeDependencySet.cxx:60:41:
 error: chosen constructor is explicit in copy-initialization
 :info:configure   auto it = targetDepends.insert({ tgt, {} });
 :info:configure                                         ^~
 :info:configure
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set:428:14:
 note: constructor declared here
 :info:configure     explicit set(const value_compare& __comp =
 value_compare())
 :info:configure              ^
 :info:configure
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:262:37:
 note: passing argument to parameter '__y' here
 :info:configure     pair(const _T1& __x, const _T2& __y)
 :info:configure                                     ^
 :info:configure 1 error generated.
 :info:configure make: *** [cmInstallRuntimeDependencySet.o] Error 1
 }}}

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


More information about the macports-tickets mailing list