Opened 13 months ago

Closed 8 months ago

#68578 closed defect (fixed)

cmake-devel 3.28 weird errors with some ports on old systems: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger, leopard, snowleopard, powerpc Cc: mascguy (Christopher Nielsen), catap (Kirill A. Korinsky)
Port: cmake-devel

Description (last modified by barracuda156)

UPD. Nothing to do with c-ares as such or the specific OS. Same errors with libical. But only with CMake 3.28. Both cmake-devel 3.27 and cmake 3.24 work perfectly normal.

All systems prior to 10.6 seem to be affected (including Intel), as well as ppc builds on 10.6. The problem is specific to Macports environment: using the same CMake outside Macports under root works normally.

Only some CMake-using ports fail (c-ares, libical, libtapi so far).

-- Looking for include file assert.h
-- Looking for include file assert.h - not found
-- Looking for include file errno.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast
-- Looking for include file errno.h - not found
-- Looking for include file fcntl.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c671c/fast
-- Looking for include file fcntl.h - not found
-- Looking for include file inttypes.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_328ec/fast
-- Looking for include file inttypes.h - not found
-- Looking for include file limits.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c3809/fast
-- Looking for include file limits.h - not found
-- Looking for include file malloc.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_8370c/fast
-- Looking for include file malloc.h - not found
-- Looking for include file memory.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_8a69d/fast
-- Looking for include file memory.h - not found
-- Looking for include file netdb.h
-- Looking for include file netdb.h - not found
-- Looking for include file netinet/in.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_1960f/fast
-- Looking for include file netinet/in.h - not found
-- Looking for include file net/if.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_d2bb0/fast
-- Looking for include file net/if.h - not found
-- Looking for include file signal.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9bfbd/fast
-- Looking for include file signal.h - not found
-- Looking for include file socket.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_d127a/fast
-- Looking for include file socket.h - not found
-- Looking for include file stdbool.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_57d80/fast
-- Looking for include file stdbool.h - not found
-- Looking for include file stdint.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_3f757/fast
-- Looking for include file stdint.h - not found
-- Looking for include file stdlib.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9ad8c/fast
-- Looking for include file stdlib.h - not found
-- Looking for include file strings.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_44a90/fast
-- Looking for include file strings.h - not found
-- Looking for include file string.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ae679/fast
-- Looking for include file string.h - not found
-- Looking for include file stropts.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_28613/fast
-- Looking for include file stropts.h - not found
-- Looking for include file sys/ioctl.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_554fe/fast
-- Looking for include file sys/ioctl.h - not found
-- Looking for include file sys/param.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b87b5/fast
-- Looking for include file sys/param.h - not found
-- Looking for include file sys/select.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_d6acc/fast
-- Looking for include file sys/select.h - not found
-- Looking for include file sys/stat.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_af502/fast
-- Looking for include file sys/stat.h - not found
-- Looking for include file sys/time.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4c6f/fast
-- Looking for include file sys/time.h - not found
-- Looking for include file sys/uio.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_838f8/fast
-- Looking for include file sys/uio.h - not found
-- Looking for include file time.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_89385/fast
-- Looking for include file time.h - not found
-- Looking for include file dlfcn.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_72a59/fast
-- Looking for include file dlfcn.h - not found
-- Looking for include file unistd.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_914a3/fast
-- Looking for include file unistd.h - not found
-- Looking for include files sys/types.h, netinet/tcp.h
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c980f/fast
-- Looking for include files sys/types.h, netinet/tcp.h - not found
-- Performing Test HAVE_SOCKLEN_T
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_13c4e/fast
-- Performing Test HAVE_SOCKLEN_T - Failed
-- Performing Test HAVE_TYPE_SOCKET
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_cfffb/fast
-- Performing Test HAVE_TYPE_SOCKET - Failed
-- Performing Test HAVE_BOOL_T
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_20e01/fast
-- Performing Test HAVE_BOOL_T - Failed
-- Performing Test HAVE_SSIZE_T
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_f2255/fast
-- Performing Test HAVE_SSIZE_T - Failed
-- Performing Test HAVE_LONGLONG
-- Performing Test HAVE_LONGLONG - Failed
-- Performing Test HAVE_SIG_ATOMIC_T
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_feab3/fast
-- Performing Test HAVE_SIG_ATOMIC_T - Failed
-- Performing Test HAVE_STRUCT_ADDRINFO
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2d4f9/fast
-- Performing Test HAVE_STRUCT_ADDRINFO - Failed
-- Performing Test HAVE_STRUCT_IN6_ADDR
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c63b3/fast
-- Performing Test HAVE_STRUCT_IN6_ADDR - Failed
-- Performing Test HAVE_STRUCT_SOCKADDR_IN6
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_d359b/fast
-- Performing Test HAVE_STRUCT_SOCKADDR_IN6 - Failed
-- Performing Test HAVE_STRUCT_SOCKADDR_STORAGE
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b561e/fast
-- Performing Test HAVE_STRUCT_SOCKADDR_STORAGE - Failed
-- Performing Test HAVE_STRUCT_TIMEVAL
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ddbf3/fast
-- Performing Test HAVE_STRUCT_TIMEVAL - Failed
-- Looking for AF_INET6
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_6e46b/fast
-- Looking for AF_INET6 - not found
-- Looking for O_NONBLOCK
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_f3219/fast
-- Looking for O_NONBLOCK - not found
-- Looking for FIONBIO
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_756be/fast
-- Looking for FIONBIO - not found
-- Looking for SIOCGIFADDR
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_03df5/fast
-- Looking for SIOCGIFADDR - not found
-- Looking for MSG_NOSIGNAL
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9c926/fast
-- Looking for MSG_NOSIGNAL - not found
-- Looking for PF_INET6
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2bbe6/fast
-- Looking for PF_INET6 - not found
-- Looking for SO_NONBLOCK
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_da8b7/fast
-- Looking for SO_NONBLOCK - not found
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2483b/fast
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID - Failed
-- Performing Test HAVE_LL
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_93eee/fast
-- Performing Test HAVE_LL - Failed
-- Looking for bitncmp
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_05a3b/fast
-- Looking for bitncmp - not found
-- Looking for closesocket
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_436c0/fast
-- Looking for closesocket - not found
-- Looking for CloseSocket
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e7fae/fast
-- Looking for CloseSocket - not found
-- Looking for connect
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_96bac/fast
-- Looking for connect - not found
-- Looking for fcntl
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_cde29/fast
-- Looking for fcntl - not found
-- Looking for freeaddrinfo
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_51d79/fast
-- Looking for freeaddrinfo - not found
-- Looking for getaddrinfo
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2effb/fast
-- Looking for getaddrinfo - not found
-- Looking for getenv
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_0e4d1/fast
-- Looking for getenv - not found
-- Looking for gethostbyaddr
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_5aeab/fast
-- Looking for gethostbyaddr - not found
-- Looking for gethostbyname
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_a8b41/fast
-- Looking for gethostbyname - not found
-- Looking for gethostname
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ba55b/fast
-- Looking for gethostname - not found
-- Looking for getnameinfo
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_bec6e/fast
-- Looking for getnameinfo - not found
-- Looking for getrandom
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_1b4f9/fast
-- Looking for getrandom - not found
-- Looking for getservbyport_r
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9a5e0/fast
-- Looking for getservbyport_r - not found
-- Looking for getservbyname_r
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_88e12/fast
-- Looking for getservbyname_r - not found
-- Looking for gettimeofday
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e5690/fast
-- Looking for gettimeofday - not found
-- Looking for if_indextoname
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_fd9c4/fast
-- Looking for if_indextoname - not found
-- Looking for inet_net_pton
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4c9f/fast
-- Looking for inet_net_pton - not found
-- Looking for inet_ntop
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c0adf/fast
-- Looking for inet_ntop - not found
-- Looking for inet_pton
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_35ae1/fast
-- Looking for inet_pton - not found
-- Looking for ioctl
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_5020e/fast
-- Looking for ioctl - not found
-- Looking for ioctlsocket
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b9be8/fast
-- Looking for ioctlsocket - not found
-- Looking for IoctlSocket
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_02bbc/fast
-- Looking for IoctlSocket - not found
-- Looking for recv
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e43af/fast
-- Looking for recv - not found
-- Looking for recvfrom
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ebab2/fast
-- Looking for recvfrom - not found
-- Looking for send
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_fb8db/fast
-- Looking for send - not found
-- Looking for setsockopt
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e264d/fast
-- Looking for setsockopt - not found
-- Looking for socket
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_296df/fast
-- Looking for socket - not found
-- Looking for strcasecmp
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c2a39/fast
-- Looking for strcasecmp - not found
-- Looking for strcmpi
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_cf5d2/fast
-- Looking for strcmpi - not found
-- Looking for strdup
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c5bce/fast
-- Looking for strdup - not found
-- Looking for stricmp
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_81a8f/fast
-- Looking for stricmp - not found
-- Looking for strncasecmp
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_838e3/fast
-- Looking for strncasecmp - not found
-- Looking for strncmpi
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_40bc1/fast
-- Looking for strncmpi - not found
-- Looking for strnicmp
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_aea0b/fast
-- Looking for strnicmp - not found
-- Looking for writev
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_941d7/fast
-- Looking for writev - not found
-- Looking for arc4random_buf
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9620a/fast
-- Looking for arc4random_buf - not found
-- Looking for __system_property_get
CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_9ca67/fast
-- Looking for __system_property_get - not found
-- Configuring incomplete, errors occurred!
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCARES_SHARED:BOOL=ON -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/c-ares-1.21.0 
Exit code: 1

Attachments (2)

CMakeConfigureLog.yaml (414.8 KB) - added by barracuda156 13 months ago.
main.log (38.5 KB) - added by barracuda156 13 months ago.

Download all attachments as: .zip

Change History (25)

Changed 13 months ago by barracuda156

Attachment: CMakeConfigureLog.yaml added

Changed 13 months ago by barracuda156

Attachment: main.log added

comment:1 Changed 13 months ago by kencu (Ken)

Well, we don't really know about "powerpc" in general, tiger, or leopard.

We know that on the day you tried to build this on 10.6-for-PPC, at least, it failed once.

And we know it builds on every system on the buildbots, according to the build success page.

I presume you tried the usual things, restarting your system, cleaning, trying again. Nobody has a 10.6-on-PowerPC system but you, so I guess this is your ticket to fix.

comment:2 Changed 13 months ago by barracuda156

Owner: set to barracuda156

comment:3 in reply to:  1 Changed 13 months ago by barracuda156

Replying to kencu:

Well, we don't really know about "powerpc" in general, tiger, or leopard.

We know that on the day you tried to build this on 10.6-for-PPC, at least, it failed once.

And we know it builds on every system on the buildbots, according to the build success page.

I presume you tried the usual things, restarting your system, cleaning, trying again. Nobody has a 10.6-on-PowerPC system but you, so I guess this is your ticket to fix.

Looks like it is either a bug in CMake 3.28 itself, or a result of legacy-support-devel mess in a course of testing.

Because with everything else identical, CMake 3.27 builds c-ares fine. CMake 3.28 fails. Moreover, old version of c-ares fails with it identically, which I have installed on the same system (so it has been proven to build).

I also got same weird errors with libical now, where build uses gcc13 (unlike c-ares which uses gcc-4.2).

We can rule out toolchain issues or SDK bugs. I will need to either rebuild a bunch of stuff with, possibly, several versions of legacy-support, or just test on another machine, where, I hope, I kept an older legacy-support, but where I do have every CMake to switch between.

  1. S. Cannot test on 10.5 now, I nuked libgcc there when trying to force a non-universal ppc64 build. :)

That issue is fixed by the way. But I need to build the toolchain anew there.

comment:4 Changed 13 months ago by barracuda156

Description: modified (diff)
Port: cmake-devel legacy-support-devel added; c-ares removed
Summary: c-ares 1.21.0 is broken now on powerpc: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fastcmake-devel 3.28 weird errors with some ports: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast

comment:5 Changed 13 months ago by barracuda156

Rebuilding CMake with the current legacy-support-devel made no difference. So it is not due to a zoo of its versions, apparently.

No time to rebuild CMake with an older legacy-support-devel now, will update on this in a while.

comment:6 Changed 13 months ago by barracuda156

Errors in CMake config log look like this:

    kind: "try_compile-v1"
    backtrace:
      - "/opt/local/share/cmake-3.28/Modules/CheckIncludeFiles.cmake:132 (try_compile)"
      - "CMakeLists.txt:195 (CHECK_INCLUDE_FILES)"
    checks:
      - "Looking for include file assert.h"
    directories:
      source: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-4WB5tV"
      binary: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-4WB5tV"
    cmakeVariables:
      CMAKE_C_FLAGS: "-pipe -Os -DNDEBUG -I/opt/local/include -Wall -Wextra -Wcast-align -Wconversion -Wdeclaration-after-statement -Wfloat-equal -Wformat-security -Winit-self -Wmissing-braces -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-overflow -Wstrict-prototypes -Wundef -Wunused -Wvariadic-macros -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Qunused-arguments"
      CMAKE_EXE_LINKER_FLAGS: "-L/opt/local/lib -Wl,-headerpad_max_install_names"
      CMAKE_MODULE_PATH: "/opt/local/share/cmake/Modules;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/c-ares-1.21.0/cmake/"
      CMAKE_OSX_ARCHITECTURES: "ppc"
      CMAKE_OSX_DEPLOYMENT_TARGET: "10.6"
      CMAKE_OSX_SYSROOT: "/"
      CMAKE_WARN_DEPRECATED: "FALSE"
    buildResult:
      variable: "HAVE_ASSERT_H"
      cached: true
      stdout: |
        Change Dir: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-4WB5tV'
        
        Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_73ded/fast
        /usr/bin/make  -f CMakeFiles/cmTC_73ded.dir/build.make CMakeFiles/cmTC_73ded.dir/build
        make: posix_spawn: /usr/bin/make: Resource temporarily unavailable
        
      exitCode: 2
  -
    kind: "try_compile-v1"
    backtrace:
      - "/opt/local/share/cmake-3.28/Modules/CheckIncludeFiles.cmake:132 (try_compile)"
      - "CMakeLists.txt:196 (CHECK_INCLUDE_FILES)"
    checks:
      - "Looking for include file errno.h"
    directories:
      source: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-A8w3xO"
      binary: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-A8w3xO"
    cmakeVariables:
      CMAKE_C_FLAGS: "-pipe -Os -DNDEBUG -I/opt/local/include -Wall -Wextra -Wcast-align -Wconversion -Wdeclaration-after-statement -Wfloat-equal -Wformat-security -Winit-self -Wmissing-braces -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-overflow -Wstrict-prototypes -Wundef -Wunused -Wvariadic-macros -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Qunused-arguments"
      CMAKE_EXE_LINKER_FLAGS: "-L/opt/local/lib -Wl,-headerpad_max_install_names"
      CMAKE_MODULE_PATH: "/opt/local/share/cmake/Modules;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/c-ares-1.21.0/cmake/"
      CMAKE_OSX_ARCHITECTURES: "ppc"
      CMAKE_OSX_DEPLOYMENT_TARGET: "10.6"
      CMAKE_OSX_SYSROOT: "/"
      CMAKE_WARN_DEPRECATED: "FALSE"
    buildResult:
      variable: "HAVE_ERRNO_H"
      cached: true
      stdout: |
        Change Dir: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-A8w3xO'
        
        Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_68d2c/fast
        resource temporarily unavailable
        Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_68d2c/fast
      exitCode: 1
  -
    kind: "try_compile-v1"
    backtrace:
      - "/opt/local/share/cmake-3.28/Modules/CheckIncludeFiles.cmake:132 (try_compile)"
      - "CMakeLists.txt:197 (CHECK_INCLUDE_FILES)"
    checks:
      - "Looking for include file fcntl.h"
    directories:
      source: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-maJWU4"
      binary: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-maJWU4"
    cmakeVariables:
      CMAKE_C_FLAGS: "-pipe -Os -DNDEBUG -I/opt/local/include -Wall -Wextra -Wcast-align -Wconversion -Wdeclaration-after-statement -Wfloat-equal -Wformat-security -Winit-self -Wmissing-braces -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-overflow -Wstrict-prototypes -Wundef -Wunused -Wvariadic-macros -Wwrite-strings -Werror=implicit-int -Werror=implicit-function-declaration -Qunused-arguments"
      CMAKE_EXE_LINKER_FLAGS: "-L/opt/local/lib -Wl,-headerpad_max_install_names"
      CMAKE_MODULE_PATH: "/opt/local/share/cmake/Modules;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/c-ares-1.21.0/cmake/"
      CMAKE_OSX_ARCHITECTURES: "ppc"
      CMAKE_OSX_DEPLOYMENT_TARGET: "10.6"
      CMAKE_OSX_SYSROOT: "/"
      CMAKE_WARN_DEPRECATED: "FALSE"
    buildResult:
      variable: "HAVE_FCNTL_H"
      cached: true
      stdout: |
        Change Dir: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/CMakeFiles/CMakeScratch/TryCompile-maJWU4'
        
        Run Build Command(s): /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ee1f3/fast
        resource temporarily unavailable
        Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ee1f3/fast
      exitCode: 1

comment:7 Changed 13 months ago by barracuda156

So, it is broken cmake-devel. Got same errors on another machine with a very older version of legacy-support-devel.

  1. S. Switch to cmake (3.24) on the same system, c-ares built fine with no errors whatsoever.
Last edited 13 months ago by barracuda156 (previous) (diff)

comment:8 Changed 13 months ago by barracuda156

Description: modified (diff)
Summary: cmake-devel 3.28 weird errors with some ports: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fastcmake-devel 3.28 weird errors with some ports on PowerPC: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast

comment:9 Changed 13 months ago by barracuda156

Port: legacy-support-devel removed

comment:10 Changed 12 months ago by barracuda156

comment:11 Changed 12 months ago by barracuda156

Description: modified (diff)
Summary: cmake-devel 3.28 weird errors with some ports on PowerPC: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fastcmake-devel 3.28 weird errors with some ports on old systems: CMake Error: Generator: execution of make failed. Make command was: /opt/local/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c4da1/fast

comment:12 Changed 12 months ago by barracuda156

Description: modified (diff)

comment:13 Changed 10 months ago by barracuda156

Surprisingly, it is something which ICU installs into /opt/local/sbin is breaking stuff.

So this fixes the problem:

configure.env       PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

And even this works fine:

configure.env       PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin

But default which has /opt/local/sbin in front does not work.

comment:14 Changed 10 months ago by barracuda156

Port: icu-devel icu added

comment:15 in reply to:  13 ; Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: catap added; tobypeterson ryandesign removed

Replying to barracuda156:

Surprisingly, it is something which ICU installs into /opt/local/sbin is breaking stuff.

What "something" is that?

comment:16 Changed 10 months ago by barracuda156

Port: icu-devel icu removed

comment:17 in reply to:  15 ; Changed 10 months ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

Surprisingly, it is something which ICU installs into /opt/local/sbin is breaking stuff.

What "something" is that?

Turned out, it is PATH variable itself, not anything ICU. My initial conclusion was based on a fact that removing everything from /opt/local/sbin save for ICU components does not fix the problem. However I tried manually moving out original sbin and creating an empty folder instead, and the error persists. So it is nothing inside the directory, it is a sequence of variables in PATH.

Adding this to cmake PG fixes everything:

configure.env       PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin

If nothing is added or if I set PATH to /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin, CMake is broken.

I get identical results inside Macports and outside (running CMake manually in a test folder).

comment:18 in reply to:  17 ; Changed 10 months ago by catap (Kirill A. Korinsky)

Replying to barracuda156:

Replying to ryandesign:

Replying to barracuda156:

Surprisingly, it is something which ICU installs into /opt/local/sbin is breaking stuff.

What "something" is that?

Turned out, it is PATH variable itself, not anything ICU. My initial conclusion was based on a fact that removing everything from /opt/local/sbin save for ICU components does not fix the problem. However I tried manually moving out original sbin and creating an empty folder instead, and the error persists. So it is nothing inside the directory, it is a sequence of variables in PATH.

Adding this to cmake PG fixes everything:

configure.env       PATH=/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/sbin

If nothing is added or if I set PATH to /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin, CMake is broken.

I get identical results inside Macports and outside (running CMake manually in a test folder).

What's happen if you change /opt/local/sbin to /opt/local/abcd? Does it reproduces an issue? And if folder exists or not exists?

comment:19 Changed 10 months ago by kencu (Ken)

perhaps a clue, c-ares 1.19.1 and @1.20.1 configure without troubles with cmake-devel @20231015-3.28.0-rc5-0b6c6bb1_0 on 10.5.8 Intel, whereas c-ares @1.21.0 and newer do not.

comment:20 in reply to:  19 Changed 10 months ago by barracuda156

Replying to kencu:

perhaps a clue, c-ares 1.19.1 and @1.20.1 configure without troubles with cmake-devel @20231015-3.28.0-rc5-0b6c6bb1_0 on 10.5.8 Intel, whereas c-ares @1.21.0 and newer do not.

Could you please try the PATH hack, to see if it works the same way? (I tested with the current CMake 3.28-rc5 and current c-ares, so results may or may not differ for other versions.)

Specifically, I added configure.env with a new PATH to cmake 1.1 PG.

comment:21 in reply to:  18 Changed 10 months ago by barracuda156

Replying to catap:

What's happen if you change /opt/local/sbin to /opt/local/abcd? Does it reproduces an issue? And if folder exists or not exists?

Adding /opt/local/abcd (pointing to a non-existing folder) does break configure as well. I am off the PowerMac now, but the same issue is there on 10a190 i386 (which also behaves like 10.5.8 i386 here).

comment:22 Changed 10 months ago by barracuda156

Also gdal and libssh fail to build with cmake-devel 3.28. See #69080

comment:23 Changed 8 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.