[MacPorts] #63460: cmake-3.21.2_0 fails to configure on mavericks

MacPorts noreply at macports.org
Wed Sep 8 15:27:56 UTC 2021


#63460: cmake-3.21.2_0 fails to configure on mavericks
---------------------+--------------------
  Reporter:  tehcog  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+--------------------

Comment (by kencu):

 The error during configure seems to be:
 {{{
 390     :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/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Bootstrap.cmk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Source/LexerParser
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Utilities/std
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Utilities
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Source/cmInstallSubdirectoryGenerator.cxx
 -o cmInstallSubdirectoryGenerator.o
 391     :info:configure
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.21.2/Source/cmInstallRuntimeDependencySet.cxx:60:41:
 error: chosen constructor is explicit in copy-initialization
 392     :info:configure   auto it = targetDepends.insert({ tgt, {} });
 393     :info:configure                                         ^~
 394     :info:configure
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set:428:14:
 note: constructor declared here
 395     :info:configure     explicit set(const value_compare& __comp =
 value_compare())
 396     :info:configure              ^
 397     :info:configure
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:262:37:
 note: passing argument to parameter '__y' here
 398     :info:configure     pair(const _T1& __x, const _T2& __y)
 399     :info:configure                                     ^
 400     :info:configure 1 error generated.
 401     :info:configure gmake: *** [Makefile:232:
 cmInstallRuntimeDependencySet.o] Error 1
 402     :info:configure gmake: *** Waiting for unfinished jobs....
 }}}

 Which looks like a c++ dialect issue. Ionic fixed another one that looked
 something like this in cmake before I recall.

 But clang-3.7 (and greater) don't barf on this, whereas earlier clangs
 (Apple or OSF) do, it seems.

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


More information about the macports-tickets mailing list