Opened 9 months ago
Last modified 7 months ago
#69276 assigned defect
aom @3.8.1 cannot be built on PPC Tiger, Mac OS X 10.4.11, because "All compilers are either blacklisted or unavailable"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | ppc tiger | Cc: | |
Port: | aom |
Description
Main.log
shows the failure:
:debug:configure configure phase started at Sun Feb 4 08:29:33 CET 2024 :notice:configure ---> Configuring aom :error:configure Failed to configure aom: Invalid value for configure.compiler: :debug:configure Error code: NONE :debug:configure Backtrace: Invalid value for configure.compiler:
Attachments (1)
Change History (10)
Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mcalhoun@… removed |
---|---|
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
It requires C17 and C++17 and blacklists some older clangs. You'd think MacPorts base would select a gcc that does C17 and C++17, but maybe those newer gcc versions don't work on Tiger. It would be something to check in the compiler selection files; it's unlikely to be specific to this port since the portfile says nothing about gcc.
comment:2 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
With GCC7
the build is now at 99 % "Building CXX objects".
comment:3 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
It built (not yet installed/upgraded, hoped that port
would let me build slowly some software while it is upgrading other):
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' [100%] Built target aom_pc make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' /opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build/CMakeFiles 0 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/build' 2156.282u 323.768s 2:56:08.12 23.4% 0+0k 141+11671io 0pf+0w
comment:4 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
This is the configure
phase:
---> Computing dependencies for aom DEBUG: Searching for dependency: git DEBUG: Found Dependency: receipt exists for git DEBUG: Searching for dependency: cmake DEBUG: Found Dependency: receipt exists for cmake DEBUG: Searching for dependency: perl5 DEBUG: Found Dependency: receipt exists for perl5 DEBUG: Searching for dependency: python311 DEBUG: Found Dependency: receipt exists for python311 DEBUG: Searching for dependency: gcc7 DEBUG: Found Dependency: receipt exists for gcc7 DEBUG: Searching for dependency: libgcc DEBUG: Found Dependency: receipt exists for libgcc DEBUG: Searching for dependency: legacy-support DEBUG: Found Dependency: receipt exists for legacy-support DEBUG: Executing org.macports.main (aom) DEBUG: dropping privileges: euid changed to 502, egid changed to 502. DEBUG: Skipping completed org.macports.fetch (aom) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.checksum (aom) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.extract (aom) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.patch (aom) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: configure phase started at Sun Feb 4 13:08:41 CET 2024 ---> Configuring aom DEBUG: Preferred compilers: DEBUG: Using compiler 'MacPorts GCC 7' DEBUG: Executing proc-pre-org.macports.configure-configure-0 DEBUG: CPPFLAGS="-isystem/opt/local/include/LegacySupport -I/opt/local/include" inserted into CFLAGS="-Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include" CXXFLAGS="-Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0" DEBUG: Executing proc-pre-org.macports.configure-configure-1 DEBUG: Executing org.macports.configure (aom) DEBUG: Environment: CC='/opt/local/bin/gcc-mp-7' CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/.CC_PRINT_OPTIONS' CFLAGS='-pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include' CPATH='/opt/local/include' CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport' CXX='/opt/local/bin/g++-mp-7' CXXFLAGS='-pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0' C_INCLUDE_PATH='/opt/local/include/LegacySupport' DEVELOPER_DIR='/Developer' DYLD_LIBRARY_PATH='/opt/local/lib/libgcc' F77='/opt/local/bin/gfortran-mp-7' F90='/opt/local/bin/gfortran-mp-7' F90FLAGS='-pipe -Os -m32' FC='/opt/local/bin/gfortran-mp-7' FCFLAGS='-pipe -Os -m32' FFLAGS='-pipe -Os -m32' INSTALL='/usr/bin/install -c' LDFLAGS='-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.4' MACPORTS_LEGACY_SUPPORT_CPPFLAGS='-isystem/opt/local/include/LegacySupport' MACPORTS_LEGACY_SUPPORT_ENABLED='1' MACPORTS_LEGACY_SUPPORT_LDFLAGS='-L/opt/local/lib -lMacportsLegacySupport' OBJC='/opt/local/bin/gcc-mp-7' OBJCFLAGS='-pipe -Os -isystem/opt/local/include/LegacySupport -I/opt/local/include' OBJCPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport' OBJCXX='/opt/local/bin/g++-mp-7' OBJCXXFLAGS='-pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0' OBJC_INCLUDE_PATH='/opt/local/include/LegacySupport' Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/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 -DBUILD_SHARED_LIBS=ON -DENABLE_EXAMPLES=ON -DDENABLE_TESTS=OFF -DENABLE_DOCS=OFF -DGIT_EXECUTABLE=/opt/local/bin/git -DPERL_EXECUTABLE=/opt/local/bin/perl -DPYTHON_EXECUTABLE=/opt/local/bin/python3.11 -DAOM_TARGET_CPU=generic -DCONFIG_RUNTIME_CPU_DETECT=OFF -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.4" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.8.1 DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/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 -DBUILD_SHARED_LIBS=ON -DENABLE_EXAMPLES=ON -DDENABLE_TESTS=OFF -DENABLE_DOCS=OFF -DGIT_EXECUTABLE=/opt/local/bin/git -DPERL_EXECUTABLE=/opt/local/bin/perl -DPYTHON_EXECUTABLE=/opt/local/bin/python3.11 -DAOM_TARGET_CPU=generic -DCONFIG_RUNTIME_CPU_DETECT=OFF -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.4" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.8.1 -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/local/bin/gcc-mp-7 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/local/bin/g++-mp-7 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE --- aom_configure: Detected CPU: generic Running C compiler test: inline_check_1 -- Performing Test C_TEST_COMPILED -- Performing Test C_TEST_COMPILED - Success Running CXX compiler test: inline_check_1 -- Performing Test CXX_TEST_COMPILED -- Performing Test CXX_TEST_COMPILED - Success Running C compiler test: unistd_check -- Performing Test C_TEST_COMPILED -- Performing Test C_TEST_COMPILED - Success Running CXX compiler test: unistd_check -- Performing Test CXX_TEST_COMPILED -- Performing Test CXX_TEST_COMPILED - Success Running C compiler test: fenv_check -- Performing Test C_TEST_COMPILED -- Performing Test C_TEST_COMPILED - Failed C Compiler test fenv_check failed. Checking C compiler flag support for: -std=c99 -- Performing Test HAVE_C_FLAG -- Performing Test HAVE_C_FLAG - Success Checking C compiler flag support for: -std=c++11 -- Performing Test HAVE_CXX_FLAG -- Performing Test HAVE_CXX_FLAG - Success Checking C compiler flag support for: -Wall -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wall -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wdisabled-optimization -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wdisabled-optimization -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wextra -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wextra -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wextra-semi -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wextra-semi -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wextra-semi-stmt -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wextra-semi-stmt -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wfloat-conversion -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wfloat-conversion -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wformat=2 -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wformat=2 -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wimplicit-function-declaration -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wlogical-op -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wlogical-op -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wpointer-arith -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wpointer-arith -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wshadow -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wshadow -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wshorten-64-to-32 -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wshorten-64-to-32 -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wsign-compare -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wsign-compare -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wstring-conversion -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wstring-conversion -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wtype-limits -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wtype-limits -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wuninitialized -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wuninitialized -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wunreachable-code-aggressive -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wunreachable-code-aggressive -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wunused -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wunused -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wvla -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wvla -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wc++14-extensions -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wc++17-extensions -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C++ compiler flag support for: -Wc++20-extensions -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Failed Checking C compiler flag support for: -Wstack-usage=100000 -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -Wstack-usage=240000 -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -Wundef -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C compiler flag support for: -D_LARGEFILE_SOURCE -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -D_LARGEFILE_SOURCE -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success Checking C compiler flag support for: -D_FILE_OFFSET_BITS=64 -- Performing Test C_FLAG_SUPPORTED -- Performing Test C_FLAG_SUPPORTED - Success Checking C++ compiler flag support for: -D_FILE_OFFSET_BITS=64 -- Performing Test CXX_FLAG_SUPPORTED -- Performing Test CXX_FLAG_SUPPORTED - Success -- Found Git: /opt/local/bin/git (found version "2.43.0") -- Found Perl: /opt/local/bin/perl (found version "5.34.3") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_OBJCXX_COMPILER CMAKE_OBJC_COMPILER CMAKE_POLICY_DEFAULT_CMP0025 CMAKE_POLICY_DEFAULT_CMP0060 DENABLE_TESTS PYTHON_EXECUTABLE
No features from C17 or C++17 required…
comment:5 Changed 9 months ago by kencu (Ken)
all gcc versions up to at least gcc12 and I believe gcc13 work on Tiger.
Nobody has update the gcc versions available in MacPorts for systems prior to 10.6 since I last updated them to gcc7, however.
comment:6 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
gpgme
is compiled like this:
/bin/sh ../../../libtool --tag=CXX --mode=compile /opt/local/bin/g++-mp-7 -std=c++11 -DHAVE_CONFIG_H -I. -I../../../conf -I../../../src -fvisibility=hidden -I/opt/local/include -I/opt/local/include -DBUILDING_GPGMEPP -Wsuggest-override -Wzero-as-null-pointer-constant -I/opt/local/include -pipe -Os -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT context_vanilla.lo -MD -MP -MF .deps/context_vanilla.Tpo -c -o context_vanilla.lo context_vanilla.cpp
So GCC 7.5
understands a six or seven years old standard?
comment:7 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
It also built on PPC Leopard, Mac OS X 10.5.6
:
aom @3.8.1_0 (active) requested_variants='' platform='darwin 9' archs='ppc' date='2024-02-11T00:54:25+0100'
comment:8 Changed 9 months ago by ballapete (Peter "Pete" Dyballa)
Without permission to build aom
Portfiles of ffmpeg, libavif, libheif
would need to be adjusted to become independent of aom
. And possibly the are more that depend now on it…
comment:9 Changed 7 months ago by ballapete (Peter "Pete" Dyballa)
aom @3.9.0_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2024-04-30T09:45:19+0200'
built today with some compiler…
Main.log from PPC Tiger, Mac OS X 10.4.11