Closed janisozaur closed 1 year ago
After running vcpkg, following dylib
s are found:
$ find /Users/runner/work/Dependencies/Dependencies/vcpkg/ -name '*icu*.dylib'
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/stubdata/libicudata.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/stubdata/libicudata.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/stubdata/libicudata.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicui18n.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicui18n.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuio.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicudata.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuuc.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicudata.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuio.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuuc.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuuc.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicui18n.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicudata.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/arm64-osx-openrct2-rel/lib/libicuio.72.dylib
Similar issue is present when using x64-osx-openrct2.cmake
:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
set(VCPKG_OSX_DEPLOYMENT_TARGET "10.13")
set(VCPKG_BUILD_TYPE release)
…
-- setting rpath prefix for macOS dynamic libraries
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /usr/bin/install_name_tool -id @rpath/libicudata.72.dylib libicudata.72.1.dylib
Working Directory: /Users/runner/work/Dependencies/Dependencies/vcpkg/buildtrees/icu/x64-osx-openrct2-rel/lib
See logs for more information:
/Users/runner/work/Dependencies/Dependencies/vcpkg/buildtrees/icu/make-build-fix-rpath-x64-osx-openrct2-rel-err.log
Call Stack (most recent call first):
ports/icu/portfile.cmake:90 (vcpkg_execute_build_process)
scripts/ports.cmake:147 (include)
error: building icu:x64-osx-openrct2 failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+icu
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[icu]+Build+error
Include '[icu] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454
vcpkg-scripts version: 23f0707b1 2023-03-29 (15 hours ago)
Please use the prefilled template from /Users/runner/work/Dependencies/Dependencies/vcpkg/installed/vcpkg/issue_body.md when reporting your issue.
+./macos_build.sh:22> true
+./macos_build.sh:24> find /Users/runner/work/Dependencies/Dependencies/vcpkg/ -name '*icu*.dylib'
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/stubdata/libicudata.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/stubdata/libicudata.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/stubdata/libicudata.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicui18n.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicui18n.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuio.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuuc.72.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuio.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuuc.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuuc.72.1.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicui18n.dylib
/Users/runner/work/Dependencies/Dependencies/vcpkg//buildtrees/icu/x64-osx-openrct2-rel/lib/libicuio.72.dylib
I can also confirm libicutu.71.1.dylib
was present with the same triplet on vcpkg version 5e7cbdceacd2b3cb85e057963fdb605136805bd3
$ git lol 5e7cbdceacd2b3cb85e057963fdb605136805bd3..23f0707b1a46bbf7fff9fb95cde2aa0c7213c31d ports/icu
* f67d9135a - [icu] Fix x86 MinGW build (#29532) (7 weeks ago) <Todor Prokopov>
* 261f5b1fc - Fix https://github.com/microsoft/vcpkg/issues/29322 (#29329) (7 weeks ago) <Matthias Kuhn>
* cdbcc0321 - [icu] Add tools, fix building for ios (#29196) (9 weeks ago) <Matthias Kuhn>
* cd08228e4 - [icu] Update to 72.1 (#28794) (3 months ago) <Kai Pastor>
f67d9135a - fails 261f5b1fcc106428df91d2f44f2bec9e50e11868 - fails cdbcc0321216fe46e4b20941f76ad21429d2a90c - fails cd08228e4a081ab5a2ee1756bf846ee24520615e - works
cdbcc0321216fe46e4b20941f76ad21429d2a90c (https://github.com/microsoft/vcpkg/pull/29196) is the regression
I submitted a fix: https://github.com/microsoft/vcpkg/pull/30544
Until this is fixed, installing icu[core,tools]
instead of just icu
addresses my immediate needs.
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install --overlay-triplets=. --triplet=arm64-osx-openrct2 icu
Contents of
arm64-osx-openrct2.cmake
:Failure logs
Note the last line contains the logs produced by cmake/vcpkg in
/Users/runner/work/Dependencies/Dependencies/vcpkg/buildtrees/icu/make-build-fix-rpath-arm64-osx-openrct2-rel-err.log
file: