[MacPorts] #68958: tiledb @2.18.2 +tests: Failed to clone repository: 'https://github.com/microsoft/vcpkg.git'
MacPorts
noreply at macports.org
Fri Dec 22 09:56:36 UTC 2023
#68958: tiledb @2.18.2 +tests: Failed to clone repository:
'https://github.com/microsoft/vcpkg.git'
-------------------------+--------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: tiledb
-------------------------+--------------------
Attempting to upgrade tiledb fails with the following error for me:
{{{
TILEDB_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg.
Vcpkg commit string used: 1b4d69f3028d74401a001aa316986a670ca6289a
[ 11%] Creating directories for 'vcpkg-populate'
[ 22%] Performing download step (git clone) for 'vcpkg-populate'
Cloning into 'vcpkg-src'...
fatal: unable to access 'https://github.com/microsoft/vcpkg.git/': Could
not resolve host: github.com
Cloning into 'vcpkg-src'...
fatal: unable to access 'https://github.com/microsoft/vcpkg.git/': Could
not resolve host: github.com
Cloning into 'vcpkg-src'...
fatal: unable to access 'https://github.com/microsoft/vcpkg.git/': Could
not resolve host: github.com
-- Had to git clone more than once: 3 times.
CMake Error at vcpkg-subbuild/vcpkg-populate-prefix/tmp/vcpkg-populate-
gitclone.cmake:39 (message):
Failed to clone repository: 'https://github.com/microsoft/vcpkg.git'
make[2]: *** [vcpkg-populate-prefix/src/vcpkg-populate-stamp/vcpkg-
populate-download] Error 1
make[1]: *** [CMakeFiles/vcpkg-populate.dir/all] Error 2
make: *** [all] Error 2
CMake Error at /opt/local/share/cmake-3.24/Modules/FetchContent.cmake:1604
(message):
Build step for vcpkg failed: 2
Call Stack (most recent call first):
/opt/local/share/cmake-3.24/Modules/FetchContent.cmake:1744:EVAL:2
(__FetchContent_directPopulate)
/opt/local/share/cmake-3.24/Modules/FetchContent.cmake:1744
(cmake_language)
/opt/local/share/cmake-3.24/Modules/FetchContent.cmake:1958
(FetchContent_Populate)
cmake/Options/TileDBToolchain.cmake:30 (FetchContent_MakeAvailable)
CMakeLists.txt:42 (include)
-- Configuring incomplete, errors occurred!
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_tiledb/tiledb/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;/opt/local/lib/libfmt10/cmake"
-DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules;/opt/local/lib/libfmt10/cmake"
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
-DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev
-DCATCH_INCLUDE_DIR:STRING=/opt/local/include -DTILEDB_ABSEIL=OFF
-DTILEDB_ASSERIONS=OFF -DTILEDB_AZURE=OFF -DTILEDB_CPP_API=ON
-DTILEDB_EXPERIMENTAL_FEATURES=OFF -DTILEDB_SERIALIZATION=OFF
-DTILEDB_TESTS=ON -DTILEDB_TOOLS=OFF -DTILEDB_VERBOSE=ON -DTILEDB_WEBP=OFF
-DTILEDB_WERROR=OFF -DOPENSSL_ROOT_DIR=/opt/local/libexec/openssl3
-DOPENSSL_INCLUDE_DIR=/opt/local/libexec/openssl3/include
-DWITH_SSL=/opt/local/libexec/openssl3 -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="11.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_tiledb/tiledb/work/TileDB-2.18.2
Exit code: 1
Error: Failed to configure tiledb: configure failure: command execution
failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
}}}
So, there are a few separate issues here. One is that my MacPorts-built
git can't connect to GitHub, which can also be seen in my usual
`selfupdate` output, too (other `git` binaries on my system such as
`/usr/bin/git` work fine, though). The issue more specific to this
particular port, though, is that it shouldn't even be trying to use
`vckpg` like that in the first place. Ports generally shouldn't try to
download stuff from the network during the build process. Maybe the
environment variable mentioned (`TILEDB_DISABLE_AUTO_VCPKG`) needs to be
set?
--
Ticket URL: <https://trac.macports.org/ticket/68958>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list