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. Reproducible: Always Steps to Reproduce: 1. USE="prefix-chaining" emerge -1 portage
Created attachment 376054 [details, diff] corrected patch 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] portage-2.2.14-prefix-chaining 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: https://archives.gentoo.org/gentoo-dev/message/e97ece6bbf80afc8355544178076d3e3