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
Cyclic dependency: perl-HTML-Parser <-> perl-HTTP-Message #32468
Comments
I think the correct path forward would be disabling tests for |
On the contrary, I think cycles due to checkdepends are better than not testing package at all. In case like here, one can first build package(s) locally without tests, than rebuild with tests enabled. |
I also had to deal with the same issue here #32229 |
i think not testing is better because if tests are not cyclic, they can be properly automated (we could even have the builders run them eventually) while if you allow cycles they can't (and tests on stuff like this are mostly meaningless either way, i see no reason to let a few rare cases break it) |
also i think checkdepends are in general a poor idea because it means that your build environment differs if you're running tests vs if you're not while ideally the build environment should only ever be affected by build options |
Then, shall we treat checkdepends just as (host)makedepends, regardless of whether we are permorming tests or not? |
perl-HTTP-Message
is a check dependency ofperl-HTML-Parser
,perl-HTML-Parser
is a runtime and build dependency ofperl-HTTP-Message
.When updating both packages (https://github.com/4ricci/void-packages/pull/31),
./xbps-src -Q pkg perl-HTTP-Message
returns the error:./xbps-src -Q pkg perl-HTML-Parser
returns the error:The text was updated successfully, but these errors were encountered: