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

Bug 88674

Summary: cascaded profiles seem to be sourced in wrong sequence by ufed
Product: Gentoo Linux Reporter: Christoph Diesch <christoph.diesch>
Component: Current packagesAssignee: Harald van Dijk (RETIRED) <truedfx>
Status: RESOLVED FIXED    
Severity: normal CC: m.debruijne, tools-portage
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christoph Diesch 2005-04-10 21:59:46 UTC
I'm afraid, that the fix for bug 70345 does not resolve the problem, as the parent profiles has to applied in opposite direction (from general to specialiced) in contrast to how it is applied now.
From my understanding, to solve the problem,
1. a list of all applicable profiles (from specialiced till general) has to be determined , e.g.
    /usr/portage/profiles/default-linux/x86/2005.0
    /usr/portage/profiles/default-linux/x86
    /usr/portage/profiles/default-linux
    /usr/portage/profiles/base
2. the relevant files from these profiles have to sourced consecutive from general to specialiced, e.g.
    /usr/portage/profiles/base
    /usr/portage/profiles/default-linux
    /usr/portage/profiles/default-linux/x86
    /usr/portage/profiles/default-linux/x86/2005.0


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2005-04-11 11:26:38 UTC
It's true that the specialised profiles are read before the general profiles, but when ufed then reads the general profiles, it sticks whatever flags (in make.defaults or use.mask) it finds there before the flags from the specialised profiles, so that the specialised profiles' flags still override them. This should get everything right. If it does not, can you give a specific example of where it goes wrong?
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2005-04-11 11:40:46 UTC
Oh, and just to make sure, you are talking about 0.36, right? 0.35-r2 and -r3 do indeed have bugs, which 0.36 is supposed to fix.
Comment 3 Christoph Diesch 2005-04-19 23:11:40 UTC
This bug has been reported against ufed 0.35-r2. After update to ufed 0.36, the evaluation of cascaded profiles seems to be corrected.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2005-04-19 23:40:51 UTC
Okay, this can be closed, then. Thanks for the report.