-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
[Bug]: Tests are broken for some distros on new conky versions #2131
Comments
I'm seeing this on nixos as well when trying to upgrade to the latest version. |
Probable cause: #2114 I updated the file without applying any modifications to it. It's possible the file was modified when first added, but it's large and that's difficult to maintain. |
As noted by @Caellian, set |
The thing that's maybe not clear from our previous comments is that While (some) tests should probably work on nix and void, running them every update will just degrade your CPU and waste your time. Tests get executed by CI for every PR before it gets merged, so they're definitely passing, even though they could benefit from being more portable. To be clear, Nix file provided by the repo doesn't enable
|
Don't know about void, but for some reason they do enable maintainer mode in the Nix package: https://github.com/NixOS/nixpkgs/blob/d29ab98cd4a70a387b8ceea3e930b3340d41ac5a/pkgs/os-specific/linux/conky/default.nix#L176 I think this is probably due to some confusion about who the "maintainer" is. The intent here was that the flag is for Conky maintainers, not the downstream distro package maintainers. |
yes, maintainer mode is on for the void build as well |
confirmed turning off MAINTAINER_MODE and everything is fine. thanks edit: actually MAINTAINER_MODE off and BUILD_TESTS on still fails. so not sure what you want to do with this |
I'm repurposing this issue for tracking that problem for Void and Nix |
What happened?
In 1.22.0, void-linux started failing during
build
runningtest-conky
in a cross compile environment. This is becausecmake/CatchAddTests.cmake
was changed and is not only buildingtests/test-conky
but running it during build. Trying to configure with-DBUILD_TESTS=OFF
does not seem to fix the problem.1.21.9 was working.
Is it possible to not run if
BUILD_TESTS=OFF
? I did a hackyecho "" > cmake/CatchAddTests.cmake
but there's probably a better place to just skip that in the build somewhere.Version
1.22.0
Which OS/distro are you seeing the problem on?
Linux (other)
Conky config
No response
Stack trace
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: