Opened 3 years ago

Closed 3 years ago

#64645 closed defect (fixed)

openvpn3 fails to build for ppc on 10.5.8

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, leopard, openvpn Cc:
Port: openvpn3

Description

-- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-download
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
HEAD is now at 703bd9ca Googletest export
[ 33%] Performing update step for 'googletest'
[ 44%] No patch step for 'googletest'
[ 55%] No configure step for 'googletest'
[ 66%] No build step for 'googletest'
[ 77%] No install step for 'googletest'
[ 88%] No test step for 'googletest'
[100%] Completed 'googletest'
[100%] Built target googletest
-- Found PythonInterp: /usr/bin/python (found version "2.5.1") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
lzo found, running lzo compression tests
-- Found LZ4: /opt/local/lib/liblz4.dylib  
-- Found OpenSSL: /opt/local/libexec/openssl11/lib/libcrypto.dylib (found version "1.1.1l")  
-- Configuring done
CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googlemock/CMakeLists.txt:
  Target "gmock" requires the language dialect "CXX11" , but CMake does not
  know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googlemock/CMakeLists.txt:
  Target "gmock" requires the language dialect "CXX11" , but CMake does not
  know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googlemock/CMakeLists.txt:
  Target "gmock_main" requires the language dialect "CXX11" , but CMake does
  not know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googlemock/CMakeLists.txt:
  Target "gmock_main" requires the language dialect "CXX11" , but CMake does
  not know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googletest/CMakeLists.txt:
  Target "gtest" requires the language dialect "CXX11" , but CMake does not
  know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googletest/CMakeLists.txt:
  Target "gtest" requires the language dialect "CXX11" , but CMake does not
  know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googletest/CMakeLists.txt:
  Target "gtest_main" requires the language dialect "CXX11" , but CMake does
  not know the compile flags to use to enable it.


CMake Error in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/build/test/unittests/googletest-src/googletest/CMakeLists.txt:
  Target "gtest_main" requires the language dialect "CXX11" , but CMake does
  not know the compile flags to use to enable it.


-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_OBJCXX_COMPILER
    CMAKE_OBJC_COMPILER
    WITH_SSL


CMake Generate step failed.  Build files cannot be regenerated correctly.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/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 -DOPENSSL_CRYPTO_LIBRARY=/opt/local/libexec/openssl11/lib/libcrypto.dylib -DOPENSSL_SSL_LIBRARY=/opt/local/libexec/openssl11/lib/libssl.dylib -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl11/include -DCLI_NULLTUN=1 -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl11 -DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl11/include -DWITH_SSL=/opt/local/libexec/openssl11 -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.5" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/work/openvpn3-3.6.5 
Exit code: 1
Error: Failed to configure openvpn3: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn3/openvpn3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port openvpn3 failed

Attachments (1)

main.log (22.2 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 3ec2964f748ad2c8a2e0e4475151a131be534ccf/macports-ports (master):

openvpn3: Requires C++11

Closes: #64645

Note: See TracTickets for help on using tickets.