-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[qwt-qt6] new port #20921
[qwt-qt6] new port #20921
Conversation
Also please sign CLA. |
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 qwt but no changes to version or port version.
-- Version: 6.2.0
-- Old SHA: e7204097fda082c43e704e356702fd77aa3c9a52
-- New SHA: fdfaffe15fff0c27dfe99119dd0ffc09630038ba
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 506a0d251720d6f5c020b0afcac751f5c6ec6c42 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 6843275..0cdc76d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5754,7 +5754,7 @@
},
"qwt": {
"baseline": "6.2.0",
- "port-version": 1
+ "port-version": 0
},
"qwt-qt5": {
"baseline": "6.2.0",
diff --git a/versions/q-/qwt.json b/versions/q-/qwt.json
index 6b6f7a0..21451b5 100644
--- a/versions/q-/qwt.json
+++ b/versions/q-/qwt.json
@@ -1,10 +1,5 @@
{
"versions": [
- {
- "git-tree": "fdfaffe15fff0c27dfe99119dd0ffc09630038ba",
- "version-semver": "6.2.0",
- "port-version": 1
- },
{
"git-tree": "e7204097fda082c43e704e356702fd77aa3c9a52",
"version-semver": "6.2.0",
9547b2e
to
7976ff3
Compare
Why The CIs are building packages other than qwt and qwt-qt5? |
7976ff3
to
c72a239
Compare
The CI builds all packages which are not found in cache. There were recent merges to master, so there can be cache misses also for unrelated packages. This is a known CI issue, and there is work in progress to improve this. |
Please ping me if this PR is ready for review. |
How to mark/declare conflicting packages? |
c72a239
to
6535720
Compare
I have added a patch to qwt-qt5 to rename the library to qwt-qt5. |
I have just taken a look at azure pipelines, Hours of CI are wasted to build unrelated packages with every push. Shouldn't these packages got built and cached just after their PRs got merged. |
The details are off-topic for your PR. I only want to point to microsoft/vcpkg-tool#210 now, and hope to see it in production very soon. |
if (EXISTS "${CURRENT_INSTALLED_DIR}/share/CONFLICT_PORT_NAME/copyright")
# Conflict detected.
endif() |
6c343f5
to
141aecd
Compare
I suspect that arm64_windows failure is related to #20933 |
66bf776
to
5c83a0f
Compare
5c83a0f
to
e56065a
Compare
@@ -1231,6 +1231,7 @@ quickfix:x64-windows-static-md=fail | |||
quickfix:x64-windows=fail | |||
quickfix:x86-windows=fail | |||
qwt:x64-osx=fail | |||
qwt-qt6:x64-osx=fail |
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.
I'm testing on a mac now...
e41fac7
to
b907668
Compare
The osx failure is:
I observe there is no |
looks like it is setup the wrong way. Maybe the PRL file for libQt6OpenGLWidgets is wrong? |
Co-Authored-By: Billy O'Neal <[email protected]>
b907668
to
fc9fa00
Compare
I think the macos failure is not from the qwt side. So could you please merge this PR and resolve/discuss the issue in another PR. |
The reason I’m trying to run this down is that we generally try to avoid adding new ci.baseline.txt entries unless we are doing a major bulk add (e.g. turning on a new platform or triplet) or have some understanding as to why our infrastructure can’t test a particular port. That said, that desire isn’t absolute; I want to make sure an attempt has been made to avoid adding that entry, but it isn’t the end of the world if not. You said you expect the build system here is reading “PRL” files? |
Another issue! |
Please ping me if you continue this PR. |
depends on #21695 |
I think the existence of #21695 provides the understanding of the issue that I was looking for, thanks! |
[qwt-qt6] new port (microsoft#20921)
Unfortunately this has caused breakage in our most recent full catalog build:
Any chance we could convince upstream to make these side-by-side-able or should we disable one or the other in CI? |
Some Linux distributions rename them to qwt-qt5 and qwt-qt6 to remove the conflict. I tried to do the same but @JackBoosY refused. |
We should not rename the official library name, we should skip one of them in ci.baseline.txt. |
Under normal circumstances we should not do that, but the qt5/qt6 split here is a little different in that there appears to be no canonical names for distinguishing to match from upstream. RedHat, Debian etc. all have different ways of doing that selection. However, given that this new port is causing failures to show up in other ports, I'm removing it again in #21825 . I discussed this with other maintainers @ras0219 / @ras0219-msft and @vicroms to figure out what a reasonable answer would be. Together we can up with the following list of things that would have to change if you want this port back @MehdiChinoune :
Alternately, you could look at adding a qt6 version of the port to a different registry. See example public ones in #17161 We are sorry that the road has been so long on this one but we have to place a premium on not breaking folks over new things being added. It would be nice to have some kind of 'meta' port story in the future to more easily solve conditional alternative dependencies like this in the future, but we don't know exactly what that would look like at this time and don't want to ask you to do that kind of major feature development to get a port you want. |
I have packaged qwt(-qt6) for both Homebrew and MINGW and both have a way to mark packages conflicting. I don't see adding a package to ci-baseline as a mechanism to declare conflict, a user will end up trying to install both. |
Our goals with vcpkg are slightly different from those systems; whereas Homebrew and MINGW both have the ultimate goal of providing applications (and libraries are a means to those ends), vcpkg's ultimate goal is to provide a coherent set of libraries for development (and applications are a means to those ends). At the end of the day, vcpkg is a C/C++ library management tool, not a Linux(-ish) system package manager even though we share a lot of common themes. Our eventual goal is what @BillyONeal mentioned at the end:
Users should be able to easily decide whether they want to use qt5 or qt6, and then just install |
Describe the pull request
What does your PR fix?
Fixes [qwt] provides qt6 version (won't fix) #20836
Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>
Does your PR follow the maintainer guide?
Your answer
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/