[MacPorts] #55578: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, because unsetenv() is not handled as void

MacPorts noreply at macports.org
Sun Dec 24 11:55:31 UTC 2017


#55578: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, because
unsetenv() is not handled as void
-----------------------+-------------------
 Reporter:  ballapete  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:  tiger      |       Port:  cmake
-----------------------+-------------------
 {{{
 /opt/local/bin/gcc-mp-6 -pipe -Os -m32
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Bootstrap.cmk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Source
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Source/LexerParser
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities
 -DCMAKE_BOOTSTRAP -D_DARWIN_USE_64_BIT_INODE=1
 -D_DARWIN_UNLIMITED_SELECT=1
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/src/unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/src
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/src/unix/core.c
 -o uv-src-unix-core.c.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/src/unix/core.c:
 In function 'uv_os_unsetenv':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Utilities/cmlibuv/src/unix/core.c:1292:7:
 error: void value not ignored as it ought to be
    if (unsetenv(name) != 0)
        ^~~~~~~~~~~~~~
 gmake: *** [Makefile:384: uv-src-unix-core.c.o] Error 1
 ---------------------------------------------
 Error when bootstrapping CMake:
 Problem while running gmake
 ---------------------------------------------
 Log of errors:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/Bootstrap.cmk/cmake_bootstrap.log
 ---------------------------------------------
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1"
 && ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=1
 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.1/macports.cmake
 --no-system-jsoncpp --no-system-librhash --no-system-libs --no-qt-gui
 Exit code: 9
 Error: Failed to configure cmake: configure failure: command execution
 failed
 }}}

 See also #55415.

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


More information about the macports-tickets mailing list