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

[libb2] build failure on iOS #43326

Open
nirvn opened this issue Jan 17, 2025 · 1 comment
Open

[libb2] build failure on iOS #43326

nirvn opened this issue Jan 17, 2025 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@nirvn
Copy link
Contributor

nirvn commented Jan 17, 2025

Operating system

iOS

Compiler

No response

Steps to reproduce the behavior

vcpkg install libb2

Failure logs

From console:

Installing 89/204 libb2:[email protected]#7...
Building libb2:[email protected]#7...
/Users/runner/work/QField/QField/vcpkg/triplets/arm64-osx.cmake: info: loaded overlay triplet from here
Downloading BLAKE2-libb2-2c5142f12a2cd52f3ee0a43e50a3a76f75badf85.tar.gz
Successfully downloaded BLAKE2-libb2-2c5142f12a2cd52f3ee0a43e50a3a76f75badf85.tar.gz.
-- Extracting source /Users/runner/builddir/_deps/vcpkg-src/downloads/BLAKE2-libb2-2c5142f12a2cd52f3ee0a43e50a3a76f75badf85.tar.gz
-- Using source at /Users/runner/builddir/_deps/vcpkg-src/buildtrees/libb2/src/6f75badf85-b3a5d32c8d.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for arm64-osx
-- Generating configure for arm64-osx
-- Finished generating configure for arm64-osx
-- Configuring arm64-osx-rel
CMake Error at /Users/runner/builddir/vcpkg_installed/arm64-osx/share/vcpkg-make/vcpkg_scripts.cmake:174 (z_vcpkg_set_global_property):
  z_vcpkg_set_global_property Function invoked with incorrect arguments for
  function named: z_vcpkg_set_global_property
Call Stack (most recent call first):
  /Users/runner/builddir/vcpkg_installed/arm64-osx/share/vcpkg-make/vcpkg_make.cmake:276 (vcpkg_restore_pkgconfig)
  /Users/runner/builddir/vcpkg_installed/arm64-osx/share/vcpkg-make/vcpkg_make_configure.cmake:109 (vcpkg_make_run_configure)
  ports/libb2/portfile.cmake:9 (vcpkg_make_configure)
  scripts/ports.cmake:196 (include)


error: building libb2:arm64-osx failed with: BUILD_FAILED

From config-arm64-ios-rel-err.log:

configure: error: in '/Users/runner/builddir/_deps/vcpkg-src/buildtrees/libb2/arm64-ios-rel':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.

Additional context

The build failure is tied to PR #42952 ; when reverting to the previous port version, the compilation works as expected.

@nirvn nirvn added the category:port-bug The issue is with a library, which is something the port should already support label Jan 17, 2025
@dg0yt
Copy link
Contributor

dg0yt commented Jan 17, 2025

Needs #43121.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

3 participants