-
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
[nss] Bump version to 3.87, switch to official gyp-next #28933
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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/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.
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: checked-in files for nss have changed but the version was not updated
version: 3.87
old SHA: 48994df5f8f303de50fdb98918b8896db290c9ef
new SHA: 79028f98ec7084f5c8836f49f22b56771eb95447
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
You have modified or added at least one portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/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.
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 1e9facc7992107ad639b4dcc87bd9a7ade1594e8 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 01ae93c..43b76c3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5357,11 +5357,11 @@
"port-version": 0
},
"nspr": {
- "baseline": "4.33",
+ "baseline": "4.35",
"port-version": 2
},
"nss": {
- "baseline": "3.78",
+ "baseline": "3.87",
"port-version": 0
},
"nsync": {
@@ -7964,6 +7964,10 @@
"baseline": "2022-04-16",
"port-version": 0
},
+ "vcpkg-tool-gyp-next": {
+ "baseline": "2022-10-15",
+ "port-version": 0
+ },
"vcpkg-tool-gyp-nss": {
"baseline": "2022-03-04",
"port-version": 0
@@ -7977,7 +7981,7 @@
"port-version": 0
},
"vcpkg-tool-mozbuild": {
- "baseline": "3.3",
+ "baseline": "4.0.2",
"port-version": 0
},
"vcpkg-tool-ninja": {
diff --git a/versions/n-/nspr.json b/versions/n-/nspr.json
index 342fccc..e14e4c6 100644
--- a/versions/n-/nspr.json
+++ b/versions/n-/nspr.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "2e83a1e30bde45f98b0f9839418c46a4bc9c317a",
+ "version": "4.35",
+ "port-version": 2
+ },
{
"git-tree": "a07f5ffc6f4bd4a9154a599898fbac38115c8124",
"version": "4.33",
diff --git a/versions/n-/nss.json b/versions/n-/nss.json
index 0723715..3ed49ba 100644
--- a/versions/n-/nss.json
+++ b/versions/n-/nss.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "32eead1ba044ac8f421a76d6c6aa0b15a97706d6",
+ "version": "3.87",
+ "port-version": 0
+ },
{
"git-tree": "6256143502011312dc467a9c57f0955617fee6d3",
"version": "3.78",
diff --git a/versions/v-/vcpkg-tool-gyp-next.json b/versions/v-/vcpkg-tool-gyp-next.json
index 2c15325..dcea513 100644
--- a/versions/v-/vcpkg-tool-gyp-next.json
+++ b/versions/v-/vcpkg-tool-gyp-next.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "3e8daf47384d1ad92f7d7c87b9d204e659c57874",
+ "version-date": "2022-10-15",
+ "port-version": 0
+ },
{
"git-tree": "724d29c42ace865fdba94d8c32bdbe987072eaaa",
"version-date": "2022-03-04",
diff --git a/versions/v-/vcpkg-tool-mozbuild.json b/versions/v-/vcpkg-tool-mozbuild.json
index 16089f3..f2086d1 100644
--- a/versions/v-/vcpkg-tool-mozbuild.json
+++ b/versions/v-/vcpkg-tool-mozbuild.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "b8db95e85e9bb5fe02f81c6fdeac8042157bd777",
+ "version": "4.0.2",
+ "port-version": 0
+ },
{
"git-tree": "9ec0167eafba536f0f5d8a83807f6b3b0dbb50be",
"version": "3.3",
You have modified or added at least one portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/vcpkg.json
Valid values for the license field can be found in the documentation
This |
Sorry, I totally missed that. Fixing again... |
Also switch from gyp-nss to gyp-next, which is now the official buildgen tool
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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/vcpkg.json
Valid values for the license field can be found in the documentation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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 probably OK except for a nitpick in how the "removed?" port is handled. I can fix for you but need to understand specifically what happened...
af4168b
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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/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 portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
vcpkg_extract_source_archive_ex
-> vcpkg_extract_source_archive
vcpkg_build_msbuild
-> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies
-> vcpkg_copy_tools
vcpkg_apply_patches
should be replaced by the PATCHES
arguments to the "extract" helpers (e.g. vcpkg_from_github()
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/nspr/portfile.cmake
ports/nss/portfile.cmake
You have modified or added at least one vcpkg.json where you should check the license
field.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/vcpkg-tool-gyp-next/vcpkg.json
ports/vcpkg-tool-mozbuild/vcpkg.json
Valid values for the license field can be found in the documentation
Thanks! |
File "E:\dev\vcpkg\buildtrees\nss\x64-windows-dbg\nss\out\Debug\gyp-win-tool", line 226, in ExecLinkWithManifests |
gyp-win-tool 226 |
Describe the pull request
What does your PR fix?
Bumps NSS version to 3.87
Which triplets are supported/not supported? Have you updated the CI baseline?
Windows only, No
Does your PR follow the maintainer guide?
I think it violates the one-package-per-PR rule, but see [nss] Add new ports nspr and nss #21281 where these all went in together, and these packages are all tightly coupled with each other anyway.
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
I also had to bump msys2 libtool to 2.4.7 as the prev version downloads have gone missing
💡 Mozbuild contains a decent msys2 distribution, so maybe you can remove vcpkg_acquire_msys.cmake and switch to mozbuild instead.