Emerging nvclock fails on a system without X and with USE="-gtk -qt3". It happens because nvclock is configured with --enable-nvcontrol (the default), which requires x11. Reproducible: Always Steps to Reproduce: 1. Try to emerge nvclock on a system without X and with USE="-gtk -qt3" 2. Configure fails Actual Results: [...] checking for getopt.h... yes checking for pkg-config... /usr/bin/pkg-config checking for x11... configure: error: "X11 required for nvcontrol support" Expected Results: Package should install successfully. The problem would be solved by adding a USE flag to the ebuild (named 'nvcontrol'), and making sure it depends on x11.
Created attachment 188014 [details, diff] Proposed patch
I'd say the more appropriate USE flag for this would be "X" and not "nvcontrol".
Created attachment 188023 [details, diff] Proposed patch
(In reply to comment #2) > I'd say the more appropriate USE flag for this would be "X" and not > "nvcontrol". > Yes, that makes more sense now that I think about it. Patch updated accordingly.
Comment on attachment 188023 [details, diff] Proposed patch We don't need another USE flag, or else what would happen when USE="X -gtk -qt3"? - It would still fail. Rather, we need to make sure that when neither USE=qt3 or USE=gtk is set, we set --disable-nvcontrol. Also, depending on x11-base/xorg-x11 is overkill.
Fixed in -r4. Please test and reopen this bug report if the fix is not satisfactory.