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
perlPackages.GlibObjectIntrospection: needs cairo to build test libs #68115
perlPackages.GlibObjectIntrospection: needs cairo to build test libs #68115
Conversation
9a6be8c
to
b450554
Compare
Nope, not at all. That somehow appeared after I rebased on latest master. I rebased on latest master again and now it's gone, so I think we're good. Sorry about that. |
@GrahamcOfBorg build perldevelPackages.GlibObjectIntrospection perlPackages.GlibObjectIntrospection |
@livnev looks like some issues still:
|
@aanderse I am aware that the tests fail, my PR is adding a dependency which is necessary for the tests to run. I am suspecting that the package is broken but this was previously undetected since the tests were being skipped, due to the lack of |
I have a suspicion that the tests fail due to the sandbox or something in yours / hydra's environment. @livnev could you try and play with this with If the tests fail only with the sandbox, perhaps @aanderse we can disable the tests only if sandbox is enabled? Something like:
|
b450554
to
8d2b2dd
Compare
@doronbehar disabling sandboxing didn't fix it. For the record, all of the test failures look like this:
I've now added |
According to
|
Thanks for the hint. However, adding |
I'd try to debug this inside a |
@doronbehar unfortunately since I'm not a perl person I think I would struggle to fix this. I stumbled upon this when trying to get another package to build which depends on this one. This means I may have to abandon the PR, or it can be merged so that at least the breakage is visible. |
I was mainly trying to add visibility to the fact that the package is broken. Would you advise removing |
I think this PR makes sense. @livnev I'd have also add a comment to the derivation with a link to this PR and a quote of the error:
While writing down as well that adding |
@doronbehar sorry for the delay, done. |
Wait, now that I see #68116 , I can see you wrote there:
Meaning that the failure of the tests correctly indicates the package is broken. I'd remove
And put that nice comment you added before |
Agreed, I was trying to say that the tests failing was a good thing because the package actually appears to be broken. I've now reverted the |
99a3e00
to
0256aa0
Compare
Hello, I'm a bot and I thank you in the name of the community for your contributions. Nixpkgs is a busy repository, and unfortunately sometimes PRs get left behind for too long. Nevertheless, we'd like to help committers reach the PRs that are still important. This PR has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. If this is still important to you and you'd like to remove the stale label, we ask that you leave a comment. Your comment can be as simple as "still important to me". But there's a bit more you can do: If you received an approval by an unprivileged maintainer and you are just waiting for a merge, you can @ mention someone with merge permissions and ask them to help. You might be able to find someone relevant by using Git blame on the relevant files, or via GitHub's web interface. You can see if someone's a member of the nixpkgs-committers team, by hovering with the mouse over their username on the web interface, or by searching them directly on the list. If your PR wasn't reviewed at all, it might help to find someone who's perhaps a user of the package or module you are changing, or alternatively, ask once more for a review by the maintainer of the package/module this is about. If you don't know any, you can use Git blame on the relevant files, or GitHub's web interface to find someone who touched the relevant files in the past. If your PR has had reviews and nevertheless got stale, make sure you've responded to all of the reviewer's requests / questions. Usually when PR authors show responsibility and dedication, reviewers (privileged or not) show dedication as well. If you've pushed a change, it's possible the reviewer wasn't notified about your push via email, so you can always officially request them for a review, or just @ mention them and say you've addressed their comments. Lastly, you can always ask for help at our Discourse Forum, or more specifically, at this thread or at #nixos' IRC channel. |
The patched GIR path was referring to the not-yet built package. Note that the package was working fine and that only the tests were failing due to some GIR path issues. It shouldn't have been marked as broken in the first place. GitHub: follows NixOS#68115 GitHub: closes NixOS#68116
Motivation for this change
Without
cairo
, the build output has:and tests are skipped. Adding
cairo
tobuildInputs
makes the tests run, and fail! At least we know that this package is broken, with some issue related to library paths...Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @