-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
qt 5.x: several fixes for conan v2 #17030
Conversation
- inject VirtualRunEnv in build scope since path to shared libs of requirements is required when executables built during qt build process are executed. - also remove some build requirements, they are requirements actually, but their shared libs must be visible as describe in previous point. - don't rely on is_msvc in package_id, it's forbidden in conan v2
🤖 Beep Boop! This pull request is making changes to 'recipes/qt//'. 👋 @ericLemanissier @jwillikers @MartinDelille you might be interested. 😉 |
I detected other pull requests that are modifying qt/5.x.x recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
Converted to draft, v2 pipeline still fails, but I can't see the log yet. |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 745523cqt/5.15.8
qt/5.15.7
qt/5.15.6
qt/5.15.5
qt/5.15.9
|
This comment has been minimized.
This comment has been minimized.
test_package folder still relies on legacy generators, so it can't work in v2 pipeline. |
This comment has been minimized.
This comment has been minimized.
I've opened #17035 |
It's not sufficient on macOS when dependencies are shared (SIP my love...), and the workaround with |
Is there a c3i maintenance? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 11 (
Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future. See details:Failure in build 10 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Hooks produced the following warnings for commit 706b4e8qt/5.15.8
qt/5.15.7
qt/5.15.6
qt/5.15.5
qt/5.15.9
|
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.
v2 test failed 😨 😩
With Visual Studio only, and I can't reproduce this issue locally. |
According to Google it's a "path too long" issue |
* fix for conan v2 - inject VirtualRunEnv in build scope since path to shared libs of requirements is required when executables built during qt build process are executed. - also remove some build requirements, they are requirements actually, but their shared libs must be visible as describe in previous point. - don't rely on is_msvc in package_id, it's forbidden in conan v2 * move package_id() (sort by order of execution) * add test package for new generators * lowercase system libs for Windows * fix build on macOS when dependencies are shared * bump dependencies and prefer openal-soft over deprecated openal recipe
VirtualRunEnv
inbuild
scope (in case of native build) since path to shared libs of several requirements must be visible when executables built during qt build process are executed (because these executables link to some requirements).DYLD_LIBRARY_PATH
workaround on macOS, it was broken (it's the same usage than previous point, but as usual SIP defeats everything, leading to this workaround).is_msvc()
inpackage_id()
method, it's forbidden in conan v2.uxtheme
instead ofUxTheme
)openal-soft
in requirements over deprecatedopenal
recipe