Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 509136

Summary: sys-apps/portage-2.2.8: prefix-chaining patch not working
Product: Gentoo/Alt Reporter: Mario Ackerl <mario.ackerl>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal CC: haubi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: corrected patch
portage-2.2.14-prefix-chaining

Description Mario Ackerl 2014-04-30 07:54:49 UTC
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
Comment 1 Mario Ackerl 2014-04-30 07:59:51 UTC
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.
Comment 2 Fabian Groffen gentoo-dev 2016-04-17 15:37:53 UTC
Hmmm, how about portage 2.2.28, does it work for that?
Comment 3 Mario Ackerl 2016-04-18 05:19:09 UTC
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.
Comment 4 Benda Xu gentoo-dev 2018-06-12 10:19:10 UTC
It seems that we need a revised implementation of prefix-chaining.
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2018-06-12 10:50:45 UTC
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