Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88293 - emerge -pu world + deprecated profile message - getting it once would suffice
Summary: emerge -pu world + deprecated profile message - getting it once would suffice
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-07 14:08 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-07-14 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
portage-2.0.51.19-deprecated-now-fatal.patch (portage-2.0.51.19-deprecated-now-fatal.patch,602 bytes, patch)
2005-04-07 14:46 UTC, solar (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-04-07 14:08:08 UTC
Not that I could have missed the message...


>> Updating Portage cache:   94%QA Notice: sed in global scope: sys-kernel/gentoo-sources-2.4.20-r33
99%QA Notice: has_version() in global scope: eclass gtk-engines2

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


QA Notice: has_version() in global scope: eclass gtk-engines2

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


QA Notice: has_version() in global scope: eclass gtk-engines2

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


100%


!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


 * IMPORTANT: 6 config files in /usr/kde/3.3/share/config need updating.
 * Type emerge --help config to learn how to update config files.


!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml



These are the packages that I would merge, in order:
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-07 14:22:31 UTC
I missed to say that this is with Portage 2.0.51.19. etc-update prints three of these messages.
Comment 2 solar (RETIRED) gentoo-dev 2005-04-07 14:43:45 UTC
It should be painfuly clear now that you should update your profile.
adding checks like this adds more code (20 bytes or so) to the base of portage which makes the image that gets loaded into memory larger/slower over time.

looking at the code where there check comes from it looks like it it should only happen when the portage.py is first inherited.
Comment 3 solar (RETIRED) gentoo-dev 2005-04-07 14:46:38 UTC
Created attachment 55605 [details, diff]
portage-2.0.51.19-deprecated-now-fatal.patch

You could force the update with this patch.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2005-04-07 14:50:56 UTC
Hmm, you should have gotten it only once (or maybe twice, but definitely not four times). If you run emerge -upvD world again, how often does it show up?
solar: well, with that patch you won't be able to update portage first (if necessary).
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-07 15:36:14 UTC
>adding checks like this adds more code (20 bytes or so) to the base of portage which makes the image that gets loaded into memory larger/slower over time.

Well, I'm not familiar with the code, but I'd say it's more about placing the message somewhere else than about adding checks. Imho this message should be only shown when you (pretend to) build stuff and not e.g. when doing `emerge --info`,... It's of course not a big issue, but as annoying as a popup window.


Marius: Five messages. As I said, I had to update config files and calling etc-update by hand yields in three warning messages. My guess should't be too wild, that this relates.
Comment 6 SpanKY gentoo-dev 2005-04-07 15:40:16 UTC
i think the reason you saw it so often is because your cache was messed up and when portage regenerated the cache the hard way, you got all those warnings ...
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-07 16:20:32 UTC
Sure, it regenerates the cache when I call etc-update... I don't think so.
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-04-07 16:38:05 UTC
Mike was on the right track as was Ned. You get the notice each time portage.py is imported. That's once for running emerge and once for every call of portageq.

$ grep portageq /usr/sbin/etc-update
USERLAND="$(/usr/lib/portage/bin/portageq envvar USERLAND)"
CONFIG_PROTECT=$(/usr/lib/portage/bin/portageq config_protect)
CONFIG_PROTECT_MASK=$(/usr/lib/portage/bin/portageq config_protect_mask)

Three times...

Could just wrap the code with a PORTAGE_CALLER == emerge type hack.
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-04-11 07:32:32 UTC
Added the PORTAGE_CALLER hack.
Comment 10 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:39 UTC
Fixed on or before 2.0.51.22-r1 
Comment 11 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:27 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.