#237: atoms with version in profile package.use.mask not working
------------------------+---------------------------------------------------
Reporter: clement.cc | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 0.6
Component: pkgcore | Version: 0.5.11.8
Keywords: |
------------------------+---------------------------------------------------
nsplugin is masked by default in
/usr/portage/profiles/base/package.use.mask:
{{{
dev-java/sun-jdk nsplugin
}}}
But enabled in amd64 if newer than a certain version in
/usr/portage/profiles/arch/amd64/package.use.mask:
{{{
# Vlastimil Babka <
cas...@gentoo.org> (12 Dec 2008)
# finally a 64bit java plugin
>=dev-java/sun-jdk-1.6.0.12_beta2 -nsplugin
}}}
Pkgcore processed the mask correctly but ignored the unmask with version
requirement in its atom. So nsplugin remains masked even though the
current sun-jdk is newer than required:
{{{
pmerge -pv sun-jdk
* Resolving...
[ebuild R ] dev-java/sun-jdk-1.6.0.21 USE="X alsa jce -derby -doc
-examples (-nsplugin) -odbc" [1]
Total: 1 packages (0 new, 0 upgrades, 0 downgrades, 0 in new slots)
[1] gentoo (/usr/portage)
* resolver plan required 16 ops
}}}
Both portage and paludis processed this unmask correctly:
{{{
emerge -pv sun-jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-java/sun-jdk-1.6.0.21 USE="X alsa jce nsplugin*
-derby -doc -examples -odbc" 81,977 kB [?=>0]
Total: 1 package (1 reinstall), Size of downloads: 81,977 kB
Portage tree and overlays:
[0] /usr/portage
[?] indicates that the source repository could not be determined
paludis -pi sun-jdk
Building target list... paludis@1281427903: [WARNING
e.vdb.provides.no_package] In thread ID '21516':
... In program paludis (--dl-upgrade as-needed --dl-new-slots as-needed
--dl-reinstall-targets always --with-unused-dependencies --multitask
--log-level warning) -pi sun-jdk:
... When performing install action from command line:
... When adding install target 'sun-jdk':
... When parsing user package dep spec 'sun-jdk':
... When parsing generic package dep spec 'sun-jdk':
... When disambiguating package name 'sun-jdk':
... When finding all versions in some arbitrary order from packages
matching */sun-jdk with filter all matches filtered through supports
action install filtered through packages matching */*:
... When finding category names containing package 'sun-jdk':
... When loading names for virtuals repository:
... When finding provided packages for 'installed':
... No package available for 'sys-apps/paludis 0.48.3'
Building dependency list: ... 230 steps
These packages will be installed:
* dev-java/sun-jdk :1.6 [R 1.6.0.21] <target>
X alsa -derby -doc -examples jce nsplugin* -odbc build_options:
-optional_tests -trace -preserve_work
80.05 MBytes to download
Total: 1 package (1 rebuild), 80.05 MBytes to download
USE:
* nsplugin: Build plugin for browsers supporting the Netscape
plugin architecture (that is almost any modern browser)
Checking for possible errors......
* No unread news items found
}}}
--
Ticket URL: <http://www.pkgcore.org/trac/pkgcore/ticket/237>
pkgcore <http://www.pkgcore.org/trac/pkgcore>
pkgcore package manager