The useflag prefix-chaining breaks the build, because the patch is for portage version 2.2.0. I need prefix-chaining for the build environment in our company.
Steps to Reproduce:
1. USE="prefix-chaining" emerge -1 portage
Created attachment 376054 [details, diff]
This patch corrects portage, so that useflag prefix-chaining is possible. Although I am still struggling with other problems to setup the chained-prefix. (prefix-chain setup .. libtool ...)
So the patch is not fully tested yet, but the test is in progress.
If someone also needs this functionality, fell free to use my overlay add github https://github.com/mackerl/prefix-overlay. I am going to continue with my work on this feature and whenever patches are necessary add them to my overlay.
Hmmm, how about portage 2.2.28, does it work for that?
Created attachment 431036 [details, diff]
I have not testetd it with 2.2.28 yet, but I have here an working version for portage-2.2.14.
It seems that we need a revised implementation of prefix-chaining.
Although I have updated the prefix-chaining patch for portage-2.3.40 to apply, I do believe that EAPI 7 is able to obsolete this patch as a whole now.
Related -dev discussion: