Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396333 - /usr/lib64/portage/pym/portage/package/ebuild/config.py:353: UserWarning: 'cache.metadata_overlay.database' is deprecated: /etc/portage/modules (user_auxdbmodule, modules_file))
Summary: /usr/lib64/portage/pym/portage/package/ebuild/config.py:353: UserWarning: 'ca...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-28 16:22 UTC by Jason Mours
Modified: 2020-02-01 22:54 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mours 2011-12-28 16:22:07 UTC
I just started cooking down a new dragonegg gentoo from a stage3. It's a bit over a month old. I get this error launching portage:
/usr/lib64/portage/pym/portage/package/ebuild/config.py:353: UserWarning: 'cache.metadata_overlay.database' is deprecated: /etc/portage/modules
  (user_auxdbmodule, modules_file))

Current portage is 2.1.10.43, but I saw the bug staring back @ me while posting output for another bug. I tried re-compiling python:2.7 & 3.2 while alternating my eselect python set. Then defaulting back to 2.7 running python-updater and re-emerging portage. New versions of portage still contain the errata. There is a line# reference, so do you need any other output? I took the dragonegg.so out of my make.conf/CFLAGS$ and tried portage (not python) rebuild and the errata is still present. 

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-12-28 18:55:35 UTC
The deprecation warning is valid:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=dac6b249202ce69cd21a07cfd908ef31c9f595b9

Support for metadata_overlay needs to be removed from catalyst, since it hasn't been useful for years. Until it's removed, the release team can fix the stage builds by removing metadata_overlay from their catalyst.conf options.

Users who encounter this warning should simply remove the line from /etc/portage/modules which triggers the warning. The whole file can be removed if it doesn't contain any other settings.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-12-29 05:26:20 UTC
I've already dropped the support from catalyst[1]. I do need to create a new release, though.
I've also dropped metadata_overlay from poseidon's catalyst configuration.

 [1] - http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=9cb9cb0bbdc0fe1ae4a9f41a985c96f54fd08dc0
Comment 3 Zac Medico gentoo-dev 2020-02-01 22:54:45 UTC
Fixed in catalyst-2.0.8.