[MacPorts] #57551: cmake @3.12.4 does not build on Mac OS X 10.4.11, Tiger, because it does not knaw hat unsetenv() does no exist here

MacPorts noreply at macports.org
Sat Nov 10 09:16:33 UTC 2018


#57551: cmake @3.12.4 does not build on Mac OS X 10.4.11, Tiger, because it does
not knaw hat unsetenv() does no exist here
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:  duplicate  |   Keywords:  tiger
      Port:  cmake      |
------------------------+--------------------

Comment (by ballapete):

 Replying to [comment:4 kencu]:
 > The libuv version in cmake fails in a whole bunch of places on Tiger.
 >
 > This particular error is best fixed on Tiger by #defining
 `__DARWIN_UNIX03` to get the newer definition in `stdlib.h`, so it's an
 easy one to fix

 Yes, true. Why isn't that in Portfile? It does not cure the problem, but
 it still guides to the next problem:

 {{{
 /opt/local/bin/gcc-mp-6 -pipe -Os -D__DARWIN_UNIX03 -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.12.4/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.12.4/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.12.4/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.12.4/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.12.4/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.12.4/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.12.4/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.12.4/Utilities/cmlibuv/src/unix/fs.c
 -o uv-src-unix-fs.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.12.4/Utilities/cmlibuv/src/unix/fs.c:64:23:
 fatal error: copyfile.h: No such file or directory
  # include <copyfile.h>
                        ^
 compilation terminated.
 gmake: *** [Makefile:394: uv-src-unix-fs.c.o] Error 1
 ---------------------------------------------
 }}}

 A version of `copyfile.h` is
 `/opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/net
 /rsync-lart/files/copyfile.h`…

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


More information about the macports-tickets mailing list