GentooThis forum is for the discussion of Gentoo Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Check your /etc/make.conf file. If you can see "debug" in between your USE flags, remove it or modify it with a minus in front of it so it's "-debug".
Then do "emerge -auDvN world" to synchronize your installation with the change. nano, and probably many others should be shown in the list of package to emerge. If that's the case, answer "yes". If not, then we will need to look into something else.
As nano is next to useless with the debug flag on, first you must build it with debugging off.
USE="-debug" emerge -1 nano
Using USE flags on the command line like this is a VeryBadThing(tm) normally but you don't have a lot of choice.
With nano fixed, you can now hunt down where USE="debug" is set and turn it off. Lastly,
emerge -uDNav world
to fix all the other packages made with debug enabled.