Emerging nagios-core-3.1.0 checks whether media-libs/gd was built with the "jpeg" or "png" USE flags, but if they are not, a non-working command that should be used to re-merge gd is presented to the user. Reproducible: Always Steps to Reproduce: 1. Have your media-libs/gd built with USE="-jpeg -png". 2. Try to emerge net-analyzer/nagios-core-3.1.0. Actual Results: The following message appears: * Your gd has been compiled without jpeg and/or png support. * Please re-emerge gd: * # USE=jpeg png emerge gd Expected Results: In my opinion, the command should rather be something like # echo media-libs/gd jpeg png >> /etc/portage/package.use # emerge -1 media-libs/gd Specifying USE flags on the command line is discouraged. The next time the package is merged, they are not present anymore, and your Nagios breaks in interesting ways. emerge --oneshot should be used, so that gd, which is actually a dependency of Nagios, is not recorded in the world file and will be available for pruning once Nagios has been removed again.
(In reply to comment #0) > In my opinion, the command should rather be something like > > # echo media-libs/gd jpeg png >> /etc/portage/package.use > # emerge -1 media-libs/gd Thanks for reminding me, this one should be switched to a use-dependency ;)
Fixed in CVS. Thanks for reporting! :)