Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS nightly fails to build with new libmagic from vcpkg #324

Closed
jdblischak opened this issue Mar 12, 2024 · 2 comments · Fixed by #325
Closed

macOS nightly fails to build with new libmagic from vcpkg #324

jdblischak opened this issue Mar 12, 2024 · 2 comments · Fixed by #325

Comments

@jdblischak
Copy link
Contributor

I synced my fork today, and the macOS nightly failed (even after a restart). It fails to install libmagic with vcpkg, which was just committed upstream about 8 hours ago in TileDB-Inc/TileDB@7753f33 (TileDB-Inc/TileDB#4673).

I assume the fix involves installing/updating autoconf/autotools with homebrew

cc @teo-tsirpanis

Installing 3/28 libmagic:x64-osx...
Building libmagic:x64-osx...
-- [OVERLAY] Loading triplet configuration from: /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/ports/triplets/x64-osx.cmake
-- Installing port from location: /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/ports/libmagic
-- Downloading https://github.com/file/file/archive/FILE5_45.tar.gz -> file-file-FILE5_45.tar.gz...
-- Extracting source /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/build/_deps/vcpkg-src/downloads/file-file-FILE5_45.tar.gz
-- Using source at /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/build/_deps/vcpkg-src/buildtrees/libmagic/src/FILE5_45-8b12c22[92](https://github.com/jdblischak/TileDB-MariaDB/actions/runs/8251274256/job/22570743354#step:6:93)1.clean
-- Getting CMake variables for x64-osx-dbg
-- Getting CMake variables for x64-osx-rel
-- Generating configure for x64-osx
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/local/bin/autoreconf -vfi
    Working Directory: /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/build/_deps/vcpkg-src/buildtrees/libmagic/src/FILE5_45-8b12c22921.clean/
    Error code: 2
    See logs for more information:
      /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/build/_deps/vcpkg-src/buildtrees/libmagic/autoconf-x64-osx-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:629 (vcpkg_execute_required_process)
  /Users/runner/work/TileDB-MariaDB/TileDB-MariaDB/libtiledb/ports/libmagic/portfile.cmake:52 (vcpkg_configure_make)
  scripts/ports.cmake:170 (include)


error: building libmagic:x64-osx failed with: BUILD_FAILED
Elapsed time to handle libmagic:x64-osx: 4.5 s
@DimitrisStaratzis
Copy link
Member

DimitrisStaratzis commented Mar 12, 2024

I am getting this error when building with vcpkg in my local mac as well

@teo-tsirpanis
Copy link
Member

CI in the Core installs these packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants