regenworld fails to locate the world file. Do regenworld --help to perform a dry-run and see the displayed wrong path to the world file. I have attached a working patch, but it's (highly) probable that it is not the correct way to fix this. As I understand it, the problem is that regenworld tries to concatenate portage.const.EPREFIX and portage.WORLD_FILE to build the path to the world file, but the later already contains the full prefixed path, except for the leading slash. As sys-app/portage is kinda heavy, I only provide a patch for the $EPREFIX/usr/sbin/regenworld file, not the ebuild, you do it ;)
Created attachment 233855 [details, diff] $EPREFIX/usr/sbin/regenworld patch Works fine on my prefix, but probably not the right way to do it. Yet, it still highlight the lines creating the issue.
%% regenworld --help This script regenerates the portage world file by checking the portage logfile for all actions that you've done in the past. It ignores any arguments except --help. It is recommended that you make a backup of your existing world file (/home/jolexa/portage/linux-64/home/jolexa/portage/linux-64/var/lib/portage/world) before using this tool. What am I looking at?
I'm not sure I understand your question correctly, it's pretty obvious that your world file isn't located at /home/jolexa/portage/linux-64/home/jolexa/portage/linux-64/var/lib/portage/world (see the two /home/jolexa/portage/... ? One come from portage.const.EPREFIX and the other from portage.WORLD_FILE. Regenworld concatenate them, see my "patch").
ah, yes.
this bug seems to have been fixed already.