-
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
libid3tag: migrate to Conan v2 #18987
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 111b2felibid3tag/0.15.1b
|
57dcc68
to
ca89866
Compare
I detected other pull requests that are modifying libid3tag/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
Restarted, this PR was also affected by the grpc outtage |
This comment has been minimized.
This comment has been minimized.
f8c2c7c
to
3945df2
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 2fd4dd0libid3tag/0.15.1b@#2d7856afb421fb59157a49585b9c658f
|
recipes/libid3tag/all/CMakeLists.txt
Outdated
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.
Reading the previous recipe, I see it used the MSBuild in Windows. Did you try the new https://docs.conan.io/2/reference/tools/microsoft/msbuild.html ?
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 did, but the real issue here was
self.run("devenv /Upgrade libid3tag.dsp")
The project ships only with an archaic .dsp file instead of .vcproj or .vcxproj and VS 2023 no longer supports the automatic upgrade from .dsp to .vcxproj like the previous versions do.
recipes/libid3tag/all/conanfile.py
Outdated
if self.settings.arch == "armv8" and self.options.shared: | ||
raise ConanInvalidConfiguration("shared library build is not supported for armv8") |
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.
if self.settings.arch == "armv8" and self.options.shared: | |
raise ConanInvalidConfiguration("shared library build is not supported for armv8") |
I suggest trying it again. I can build it in Mac M1 locally, but probably you had problems when cross-building from Mac Intel to Mac M1. However, we added Mac M1 to the build matrix, so it should work now.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 91310bclibid3tag/0.15.1b@#fab44d430950a5d00f32d9eb8fcdeb26
|
Co-authored-by: Uilian Ries <[email protected]>
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 15 (
Conan v2 pipeline ✔️
All green in build 14 (
|
Hooks produced the following warnings for commit bd9af61libid3tag/0.15.1b@#2363073a63c51d84dd31aa8dd8395f2d
|
* libid3tag: migrate to Conan v2 * libid3tag: use AutotoolsDeps * libid3tag: disable shared build on armv8 * libid3tag: zlib/[>=1.2.11 <2] * libid3tag: replace legacy VS project with CMakeLists.txt * libid3tag: fix autotools package() * libid3tag: make the armv8 check specific to cross-building * Update recipes/libid3tag/all/conanfile.py Co-authored-by: Uilian Ries <[email protected]> * libid3tag: add missing import --------- Co-authored-by: Uilian Ries <[email protected]>
if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"): | ||
self.build_requires("msys2/cci.latest") |
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 logic must not be removed because autotools require a shell, and msvc is not the only compiler on Windows, so you can go into autotools branch.
TODO:
-fno-finite-math-only
.