When emerging audacity-1.2.1, I get the following error message: * Audacity will not build if wxGTK was compiled * with unicode support. If you are using a version of * wxGTK <= 2.4.2, you must set USE=-gtk2. In newer versions, * you must set USE=-unicode. However, it will also work if wxGTK has been compiled with the +wxgtk1 useflag, even if the gtk2 and unicode useflags are set.
I, too, have run into this issue. Regardless of what USE flags I set for wxGTK (+/-unicode, +/-gtk2, +/-wxgtk1) or any combination thereof, audacity complains. I tried a timing hack - moving wx-config out of $PATH when the check is made, then moving it back in - but audacity failed compilation later on. I think it's a bug with wxGTK compiling in unicode support whether we want it or not.
If you are trying to install wxGTK-2.6.1, it's better to do from CVS. If you are talking about wxGTK-2.4.2, you could still try to build it from CVS
Added CC
You probably only reemerged the wxGTK-2.6 tree. If you have a look at the ebuild you see that audacity-1.2.1 depends on wxGTK-2.4*. Execute USE="-unicode" emerge -av =wxGTK-2.4.2-r3 and things should go well. Also please use the search next time. This bug is a duplicate of #101988. Unfortunately I have no rights to change the status.
*** This bug has been marked as a duplicate of 101988 ***