[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:53:35 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):

 Making `copyfile.h` available leads to a new error, still in libuv, and
 still in the same file:

 {{{
 /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:
 In function 'uv__fs_scandir':
 /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:408:57:
 warning: passing argument 4 of 'scandir' from incompatible pointer type
 [-Wincompatible-pointer-types]
    n = scandir(req->path, &dents, uv__fs_scandir_filter,
 uv__fs_scandir_sort);
 ^~~~~~~~~~~~~~~~~~~
 In file included from
 /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
 /uv-unix.h:28:0,
                  from
 /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/uv.h:66,
                  from
 /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:29:
 /usr/include/dirent.h:118:5: note: expected 'int (*)(const void *, const
 void *)' but argument is of type 'int (*)(uv__dirent_t **, uv__dirent_t
 **) {aka int (*)(struct dirent **, struct dirent **)}'
  int scandir(const char *, struct dirent ***,
      ^~~~~~~
 /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:
 In function 'uv__fs_sendfile':
 /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:706:9:
 warning: implicit declaration of function 'sendfile' [-Wimplicit-function-
 declaration]
      r = sendfile(in_fd, out_fd, req->off, &len, NULL, 0);
          ^~~~~~~~
 /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:
 In function 'uv__to_stat':
 /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:994:32:
 error: 'struct stat' has no member named 'st_birthtimespec'; did you mean
 'st_atimespec'?
    dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec;
                                 ^~
 /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:995:33:
 error: 'struct stat' has no member named 'st_birthtimespec'; did you mean
 'st_atimespec'?
    dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec;
                                  ^~
 gmake: *** [Makefile:394: uv-src-unix-fs.c.o] Error 1
 ---------------------------------------------
 }}}

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


More information about the macports-tickets mailing list