[MacPorts] #67498: Build of libheif @1.16.2 fails on PPC Tiger, Mac OS X 10.4.11 because unknown options are used for cc1plus

MacPorts noreply at macports.org
Thu May 25 09:12:55 UTC 2023


#67498: Build of libheif @1.16.2 fails on PPC Tiger, Mac OS X 10.4.11 because
unknown options are used for cc1plus
-----------------------+---------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.1
 Keywords:  tiger ppc  |       Port:  libheif
-----------------------+---------------------
 {{{
 -- Check for working CXX compiler: /opt/local/bin/g++-mp-7
 -- Check for working CXX compiler: /opt/local/bin/g++-mp-7 - broken
 CMake Error at
 /opt/local/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62
 (message):
   The C++ compiler

     "/opt/local/bin/g++-mp-7"

   is not able to compile a simple test program.

   It fails with the following output:

     Change Dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/CMakeFiles/CMakeTmp

     Run Build Command(s):/usr/bin/make -f Makefile cmTC_a01d0/fast &&
 /usr/bin/make  -f CMakeFiles/cmTC_a01d0.dir/build.make
 CMakeFiles/cmTC_a01d0.dir/build
     Building CXX object CMakeFiles/cmTC_a01d0.dir/testCXXCompiler.cxx.o
     /opt/local/bin/g++-mp-7   -pipe -Os -Wno-nonportable-include-path
 -Wno-error=nonportable-include-path -Wno-error=unknown-warning-option
 -Wno-unknown-warning-option -DNDEBUG -I/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0  -arch ppc -mmacosx-version-min=10.4 -o
 CMakeFiles/cmTC_a01d0.dir/testCXXCompiler.cxx.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
     cc1plus: error: -Werror=nonportable-include-path: no option
 -Wnonportable-include-path
     cc1plus: error: -Werror=unknown-warning-option: no option -Wunknown-
 warning-option
     cc1plus: warning: unrecognized command line option '-Wno-unknown-
 warning-option'
     cc1plus: warning: unrecognized command line option '-Wno-nonportable-
 include-path'
     make[1]: *** [CMakeFiles/cmTC_a01d0.dir/testCXXCompiler.cxx.o] Error 1
     make: *** [cmTC_a01d0/fast] Error 2





   CMake will not be able to correctly generate this project.
 Call Stack (most recent call first):
   CMakeLists.txt:3 (project)


 -- Configuring incomplete, errors occurred!
 See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/CMakeFiles/CMakeOutput.log".
 See also
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/CMakeFiles/CMakeError.log".
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/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
 -DENABLE_PLUGIN_LOADING:BOOL=OFF -DWITH_RAV1E:BOOL=OFF
 -DWITH_AOM_DECODER:BOOL=OFF -DWITH_AOM_ENCODER:BOOL=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_libheif/libheif/work/libheif-1.16.2
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67498>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list