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

[icu] has wrong install name in arm64-osx-dynamic triplet #31680

Closed
liviaerxin opened this issue May 28, 2023 · 0 comments · Fixed by #31681
Closed

[icu] has wrong install name in arm64-osx-dynamic triplet #31680

liviaerxin opened this issue May 28, 2023 · 0 comments · Fixed by #31681
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@liviaerxin
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

Environment

  • OS: arm64 osx
  • Compiler: clang

To Reproduce
Steps to reproduce the behavior:

  1. vcpkg remove icu:arm64-osx-dynamic
  2. vcpkg install icu --host-triplet=arm64-osx-dynamic --triplet=arm64-osx-dynamic --no-binarycaching
    Repro code when

Expected behavior

/opt/vcpkg/buildtrees/icu/arm64-osx-dynamic-dbg/lib/libicui18n.dylib should have install name of@rpath/libicui18n.72.dylib

Current behavior

❯ otool -L /opt/vcpkg/buildtrees/icu/arm64-osx-dynamic-dbg/lib/libicui18n.dylib
/opt/vcpkg/buildtrees/icu/arm64-osx-dynamic-dbg/lib/libicui18n.dylib:
	libicui18n.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	libicuuc.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	libicudata.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)

Additional context

However, libicui18n.dylib in release mode, which is all right as expected:

❯ otool -L /opt/vcpkg/buildtrees/icu/arm64-osx-dynamic-rel/lib/libicui18n.dylib
/opt/vcpkg/buildtrees/icu/arm64-osx-dynamic-rel/lib/libicui18n.dylib:
	@rpath/libicui18n.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	@rpath/libicuuc.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	@rpath/libicudata.72.dylib (compatibility version 72.0.0, current version 72.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
@liviaerxin liviaerxin changed the title Package icu has wrong install name in arm64-osx-dynamic triplet [icu] has wrong install name in arm64-osx-dynamic triplet May 28, 2023
@FrankXie05 FrankXie05 added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants