[MacPorts] #72402: LegacySupport + CMake 3.31.7 + Tiger PPC
MacPorts
noreply at macports.org
Fri Apr 25 11:08:38 UTC 2025
#72402: LegacySupport + CMake 3.31.7 + Tiger PPC
----------------------------+--------------------
Reporter: glebm | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: legacy-support | Port: cmake
----------------------------+--------------------
Building CMake 3.31.7 (the current one in macports-ports) on Tiger PPC
fails with:
{{{
:info:configure /opt/local/bin/g++-mp-14 -pipe -Os
-D__OPENTRANSPORTPROVIDERS__ -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc
-DCMAKE_BOOTSTRAP -DCMake_HAVE_CXX_MAKE_UNIQUE=1
-DCMake_HAVE_CXX_FILESYSTEM=1 -I/opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Bootstrap.cmk
-I/opt/local/var/macports/build/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Source
-I/opt/local/var/macports/build/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Source/LexerParser
-I/opt/local/var/macports/build/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities/std
-I/opt/local/var/macports/build/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities -c
/opt/local/var/macports/build/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Source/cmTimestamp.cxx -o
cmTimestamp.o
:info:configure In file included from /opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities/cmlibuv/include/uv/unix.h:26,
:info:configure from /opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities/cmlibuv/include/uv.h:72,
:info:configure from /opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities/cm3p/uv.h:10,
:info:configure from /opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Source/cmTimestamp.cxx:33:
:info:configure /opt/local/include/LegacySupport/sys/stat.h:94:43: error:
'filesec_t' has not been declared
:info:configure 94 | int fstatx64_np(int, struct stat64 *,
filesec_t);
:info:configure |
^~~~~~~~~
:info:configure /opt/local/include/LegacySupport/sys/stat.h:95:52: error:
'filesec_t' has not been declared
:info:configure 95 | int lstatx64_np(const char *, struct stat64 *,
filesec_t);
:info:configure |
^~~~~~~~~
:info:configure /opt/local/include/LegacySupport/sys/stat.h:96:51: error:
'filesec_t' has not been declared
:info:configure 96 | int statx64_np(const char *, struct stat64 *,
filesec_t);
:info:configure |
^~~~~~~~~
:info:configure In file included from /opt/local/var/macports/build
/_Users_gleb_macports-
ports_devel_cmake/cmake/work/cmake-3.31.7/Utilities/cmlibuv/include/uv/unix.h:28:
:info:configure /opt/local/include/LegacySupport/dirent.h: In function
'int __mpls_alphasort(const dirent**, const dirent**)':
:info:configure /opt/local/include/LegacySupport/dirent.h:107:10: error:
'alphasort' was not declared in this scope
:info:configure 107 | return alphasort((const void *) d1, (const void
*) d2);
:info:configure | ^~~~~~~~~
:info:configure /opt/local/include/LegacySupport/dirent.h: In function
'int __mpls_scandir(const char*, dirent***, int (*)(const dirent*), int
(*)(const dirent**, const dirent**))':
:info:configure /opt/local/include/LegacySupport/dirent.h:115:10: error:
'scandir' was not declared in this scope
:info:configure 115 | return scandir(dirname, namelist,
:info:configure | ^~~~~~~
:info:configure gmake: *** [Makefile:458: cmTimestamp.o] Error 1
}}}
The https://github.com/macports/macports-legacy-support repo does not have
issues enabled and I wasn't sure where to post it, so posting it here.
Aside: If macports-base plans to drop support for Tiger in the next
release, perhaps it'd make sense to enable repo issues on the legacy-
support GitHub?
--
Ticket URL: <https://trac.macports.org/ticket/72402>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list