This does not result in a debug build of openssh: USE=debug FEATURES="nostrip" emerge openssh Reproducible: Always Steps to Reproduce: 1. USE=debug FEATURES="nostrip" emerge openssh 2. file /usr/sbin/sshd Actual Results: The file is stripped. Look at the build log and observe that -g was not passed to the compiler invocations. Expected Results: /usr/sbin/sshd should not be stripped and should have debugging symbols.
Created attachment 56131 [details, diff] Make openssh build honor USE=debug This patch works for me.
fixed in cvs