-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[harfbuzz] Update to 4.2.0 #24144
[harfbuzz] Update to 4.2.0 #24144
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/harfbuzz/vcpkg.json
Valid values for the license field can be found in the documentation
It looks like ci fails the test on triples x64-windows-static and x64-windows-static-md , you can get the error log as suggested in the image below: |
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 99346bb6926e85d93e4aad330bf28cce4a18051b -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 9f5739a..cffe65d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2722,7 +2722,7 @@
},
"harfbuzz": {
"baseline": "4.2.0",
- "port-version": 3
+ "port-version": 0
},
"hayai": {
"baseline": "2019-08-10",
diff --git a/versions/h-/harfbuzz.json b/versions/h-/harfbuzz.json
index b318da4..0444e35 100644
--- a/versions/h-/harfbuzz.json
+++ b/versions/h-/harfbuzz.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "75697d7c43494eeb0699d372f41853cc937f7a78",
+ "version-semver": "4.2.0",
+ "port-version": 0
+ },
{
"git-tree": "a36602c632157bbf3260c196a90172c61e8f859b",
"version-semver": "4.2.0",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/harfbuzz/vcpkg.json
Valid values for the license field can be found in the documentation
Okay, I see... other ports (aubio, opencv4, pangolin) that depend on harfbuzz fail to build. So, similar to the gn,skia,* ports, I can add them all in one PR, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5d66a98f64188bbd806b8e62e66c097d90eb3224 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 9f5739a..cffe65d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2722,7 +2722,7 @@
},
"harfbuzz": {
"baseline": "4.2.0",
- "port-version": 3
+ "port-version": 0
},
"hayai": {
"baseline": "2019-08-10",
diff --git a/versions/h-/harfbuzz.json b/versions/h-/harfbuzz.json
index b318da4..0444e35 100644
--- a/versions/h-/harfbuzz.json
+++ b/versions/h-/harfbuzz.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "75697d7c43494eeb0699d372f41853cc937f7a78",
+ "version-semver": "4.2.0",
+ "port-version": 0
+ },
{
"git-tree": "a36602c632157bbf3260c196a90172c61e8f859b",
"version-semver": "4.2.0",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/harfbuzz/vcpkg.json
Valid values for the license field can be found in the documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/harfbuzz/vcpkg.json
Valid values for the license field can be found in the documentation
For pangolin:x64-windows-static:
This looks like a path ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/harfbuzz/vcpkg.json
Valid values for the license field can be found in the documentation
I still can't reproduce the problem. I started off with a virgin vcpkg clone. |
You may not build the same feature configuation as CI does, for ports in the dependency chains. ffmpeg burns some wrong/unexpected data into |
That makes sense... |
Okay... I figured out that I can run .\vcpkg.exe ci --triplet=x64-windows-static So, let's see... |
Maybe you lack the overlay ports in |
Thank you. I already started one build a few hours ago. 1871 packages. |
If you restart the CI build, you may also want to add skipped ports, based on ci.baseline.txt and manual additions. In particular, you proabably want to skip tensorflow. |
Other hints to mitigate
|
# Conflicts: # ports/harfbuzz/portfile.cmake # ports/harfbuzz/vcpkg.json # versions/baseline.json # versions/h-/harfbuzz.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
Error: Local changes detected for harfbuzz but no changes to version or port version.
-- Version: 4.2.0
-- Old SHA: 1f02c7e1133785d12121cf295009465706cc5dd7
-- New SHA: 62b08c05899c0e8eefcf5880d1e9f8336a284e26
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
In was able to reproduce this problem. The .pc file provided by harfbuzz 4.2.0 contains absolute paths to the libraries it depends on. I assume that's because installation directory (packages) differs from the directory the dependencies are installed to. The FindFFMPEG.cmake file can't handle paths. It expects the library names. There are several ways to solve this problem. Currently, I intend to solve it in vcpkg_fixup_pkgconfig.cmake, as I expect this problem to occur with other ports in the future (if the projects switch to meson, which seems to be in fashion). What do you think? |
Changing |
Thank you for your response, @dg0yt . I'm aware of that. But I think you're right. Let's see if it happens again with other ports. |
…ws static build\nRemoved patches
@bold84 , Thanks for your pr, if this pr is ready for review, please let me know |
@JonLiu1993 Ready :-) |
All features are tested successfully in the following triplet:
|
Thanks for the update! |
Describe the pull request
What does your PR fix?
Fixes #...
Which triplets are supported/not supported? Have you updated the CI baseline?
all
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/