I have a few G4 systems running Gentoo/Linux, and a common "misfeature" is this that qsearch (portage-utils) does not present its output correctly: minismurf ~ # qsearch tcsh app-shells/app-shells Enhanced version of the Berkeley C shell (csh) Expected output would be: halbrend ~ # qsearch tcsh app-shells/tcsh Enhanced version of the Berkeley C shell (csh) I have this issue only with my 32bit PowerPC systems, but I really have not had the chance to test on other exotics archs.
i can reproduce on a ppc system
should be fixed here: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=46aea99b4b973d29db4f717fa72bcf3e1cb80f22 we were calling dirname before basename. guess it just happens to work depending on the optimization/call details.