-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
subunit: add version 1.4.4 #24773
base: master
Are you sure you want to change the base?
subunit: add version 1.4.4 #24773
Conversation
This comment has been minimized.
This comment has been minimized.
automake, libtool and pkgconfig are required to configure project successfully
This comment has been minimized.
This comment has been minimized.
Building 1.4.0 version under MacOSX armv8 fails probably because reconfiguration is done. Try to keep previous behavior to make build successful.
This comment has been minimized.
This comment has been minimized.
Not sure why build fails under MacOSX and cannot debug it without having access to the files on the build machine. Found some similar issue on StackOverflow https://stackoverflow.com/questions/14465667/errors-when-installing-a-perl-module-using-make-mac-osx-10-7. The answer says that XCode is probably configured incorrectly. |
Conan v1 pipeline ❌Failure in build 4 (
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. |
else: | ||
# version >=1.4.4 is kept on GitHub without configuration built | ||
self.tool_requires("libtool/2.4.7") | ||
self.tool_requires("pkgconf/2.2.0") |
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.
self.tool_requires("pkgconf/2.2.0") |
There is no PkgConfigDeps
generator used in the recipe. Is the pkgconf
tool dependency really being used?
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.
configure.ac
uses PKG_CHECK_...
which fails if pkgconf
is not installed: https://github.com/testing-cabal/subunit/blob/98aa1076f8aed666262022634ddccdf9e345b13f/configure.ac#L64-L66
I don't know autoconf
well to understand whether it can be fixed by another way.
I would make the recipe simpler and always run |
Yeah it was my first intention. I added this condition because code of the version |
Hm, it looks like in fact this commit fixes build for Conan 2.0 completely (see difference between #24773 (comment) and #24773 (comment)). Thus I think it is better to leave it as is. |
Summary
Changes to recipe: lib/1.4.4. Fixes: #24732
Motivation
Version 1.4.0 which is the current subunit version in Conan repo is not compatible with Python 3.12 (see subunit bug #2052948). Version 1.4.4 has compatibility issues fixed.
Details
Changes in PR:
ConanFile.env_info
(which is deprecated) byConanFile.runenv_info
37a10d4Changes are tested with both 1.4.0 and 1.4.4 version using both Conan 1 and 2.