Hello, gentoolkit-0.3.0.4-r4 installs /etc/ and /usr/man/ files with extra /usr prefix: $ qlist gentoolkit ... /usr/etc/env.d/99gentoolkit-env /usr/etc/revdep-rebuild/99revdep-rebuild /usr/etc/eclean/distfiles.exclude /usr/etc/eclean/packages.exclude /usr/usr/share/man/man1/eclean.1.bz2 /usr/usr/share/man/man1/glsa-check.1.bz2 /usr/usr/share/man/man1/epkginfo.1.bz2 /usr/usr/share/man/man1/eshowkw.1.bz2 /usr/usr/share/man/man1/revdep-rebuild.1.bz2 /usr/usr/share/man/man1/eread.1.bz2 /usr/usr/share/man/man1/euse.1.bz2 /usr/usr/share/man/man1/enalyze.1.bz2 /usr/usr/share/man/man1/equery.1.bz2 ... have no idea why, I do not use prefix setup.
Created attachment 296013 [details] qlist.gentoolkit $ qlist gentoolkit
Created attachment 296015 [details] emerge.info emerge --info
What does /var/db/pkg/app-portage/gentoolkit-0.3.0.4-r4/CONTENTS show? What version of portage-utils do you have installed?
The only way that I can reproduce this is if I have EPREFIX="/usr" set in my environment. Can you check your environment to see if that variable is set?
There is no EPREFIX set to my knowledge: # printenv | grep -i prefix # grep -i prefix /etc/make.conf # app-portage/portage-utils-0.7 is installed.
Created attachment 296113 [details] CONTENTS var/db/pkg/app-portage/gentoolkit-0.3.0.4-r4/CONTENTS
Also I checked my /usr, looks like gentoolkit is the only package with abnormal installation on this setup.
I am just finishing new Gentoo AMD64 hardened no-multilib install and have same situation here...
I believe the problem is due to setup.py pre-pending /usr to all data_files. I think the correct fix will be to create a setup.cfg file containing [install] install-data=/ which will override any other setting some users seem to have as a default.
Okay the issue is that newer versions of portage define EPREFIX. The issue is when it was undefined, the setup code set it to "/". The newer versions of portage set it to "", which breaks the code. I will get an updated gentoolkit into the tree and request early stabilization as soon as possible.
Fixed in gentoolkit-0.3.0.4-r5. Stable request is in Bug 395303.