[MacPorts] #59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"

MacPorts noreply at macports.org
Tue Dec 10 18:59:56 UTC 2019


#59832: cmake 3.16.0: does not build on PPC Mac OS X 10.5.8, "Bus Error"
-------------------------+--------------------
 Reporter:  timishimuni  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.2
 Keywords:  cmake        |       Port:  cmake
-------------------------+--------------------
 = Description =
 Building cmake fails with an apparent bus error at:
 {{{
 :info:configure cmake(21293) malloc: *** error for object 0xa01be3dc: Non-
 aligned pointer being freed
 :info:configure *** set a breakpoint in malloc_error_break to debug
 }}}

 = Environment =
 Power Mac G5 running OS X 10.5.8, 8G RAM, Xcode 3.1.4
 From the top of the build log:
 {{{
 :debug:sysinfo Mac OS X 10.5 (darwin/9.8.0) arch powerpc
 :debug:sysinfo MacPorts 2.6.2
 :debug:sysinfo Xcode 3.1.4
 :debug:sysinfo SDK 10.5
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.5
 }}}

 = Log =
 More context from the end of
 /opt/local/var/macports/logs/_opt_..._ports_devel_cmake/cmake/main.log:
 {{{
 :info:configure ld: warning: direct access in
 TargetPolicyNode::Evaluate(std::vector<std::basic_string<char,
 std::char_traits<char>, std::a
 llocator<char> >, std::allocator<std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > > > const&,
 cmGeneratorExpressionCo
 ntext*, GeneratorExpressionContent const*,
 cmGeneratorExpressionDAGChecker*) const to global weak symbol
 TargetPolicyNode::Evaluate(std::ve
 ctor<std::basic_string<char, std::char_traits<char>, std::allocator<char>
 >, std::allocator<std::basic_string<char, std::char_traits<char>,
  std::allocator<char> > > > const&, cmGeneratorExpressionContext*,
 GeneratorExpressionContent const*, cmGeneratorExpressionDAGChecker*) con
 st means the weak symbol cannot be overriden at runtime. This was likely
 caused by different translation units being compiled with differen
 t visiblity settings.
 :info:configure cmake(21293) malloc: *** error for object 0xa01be3dc: Non-
 aligned pointer being freed
 :info:configure *** set a breakpoint in malloc_error_break to debug
 :info:configure cmake(21293) malloc: *** error for object 0xa01be36c: Non-
 aligned pointer being freed
 :info:configure *** set a breakpoint in malloc_error_break to debug
 :info:configure loading initial cache file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/Bootstrap.cmk/InitialCacheFlags.cmake
 :info:configure ./bootstrap: line 1675: 21293 Bus error
 "${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_boots
 trap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}"
 ${cmake_options} ${cmake_bootstrap_system_libs} "$@"
 :info:configure ---------------------------------------------
 :info:configure Error when bootstrapping CMake:
 :info:configure Problem while running initial CMake
 :info:configure ---------------------------------------------
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarb
 alls_ports_devel_cmake/cmake/work/cmake-3.16.0" && ./bootstrap
 --prefix=/opt/local --docdir=share/doc/cmake --parallel=2
 --init=/opt/local/
 var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.16.0/m
 acports.cmake --system-libs --no-system-jsoncpp --no-system-librhash --no-
 qt-gui --
 :info:configure Exit code: 11
 :error:configure Failed to configure cmake: 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/cmake/main.log for details.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59832>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list