You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue conan-installing doxygen binaries. I think I understand what is happening, but I don't know how to solve this.
The problem seems to come from the fact that doxygen has revision hashes in its dependencies versions, and forces a rebuild while it should in theory just download the binary from conan-center.
When running conan install --tool-requires=doxygen/1.12.0@ using a fresh new conan home leads to:
So my question is: how can we make the expected behaviour (i.e. conan install --tool-requires=doxygen/1.12.0@ completes properly straight away)?
Is the fact that the doxygen recipe references dependency revisions in its requirements while conan ignores them and always installs the latest revision? In that case shouldn't these dependency revisions be removed from the doxygen recipe dependencies? If yes, how can we do that? I don't see anything in the recipe that would explain why the revisions are part of the dependency versions and all the other recipes I have looked at do not have them ...
tkhyn
changed the title
[package] <LIBRARY-NAME>/<LIBRARY-VERSION>: SHORT DESCRIPTION
[package] doxygen/*: cannot install directly because of revision hashes in dependency versions
Jan 30, 2025
Description
Hi,
I have an issue conan-installing doxygen binaries. I think I understand what is happening, but I don't know how to solve this.
The problem seems to come from the fact that doxygen has revision hashes in its dependencies versions, and forces a rebuild while it should in theory just download the binary from conan-center.
When running
conan install --tool-requires=doxygen/1.12.0@
using a fresh new conan home leads to:conan graph explain --tool-requires=doxygen/1.12.0@
gives:Whereas, if I clean up the conan home and I manually run:
Then everything works.
So my question is: how can we make the expected behaviour (i.e.
conan install --tool-requires=doxygen/1.12.0@
completes properly straight away)?Is the fact that the doxygen recipe references dependency revisions in its requirements while conan ignores them and always installs the latest revision? In that case shouldn't these dependency revisions be removed from the doxygen recipe dependencies? If yes, how can we do that? I don't see anything in the recipe that would explain why the revisions are part of the dependency versions and all the other recipes I have looked at do not have them ...
Package and Environment Details
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.version=194
compiler.runtime=dynamic
compiler.cppstd=23
os=Windows
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
conan install --tool-requires=doxygen/1.12.0@
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: