[pkgcore] #237: atoms with version in profile package.use.mask not working

7 views
Skip to first unread message

pkgcore

unread,
Aug 10, 2010, 4:18:18 AM8/10/10
to pkgco...@googlegroups.com
#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

pkgcore

unread,
Aug 19, 2010, 4:07:13 AM8/19/10
to pkgco...@googlegroups.com
#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
Resolution: | Keywords:
-------------------------+--------------------------------------------------

Comment (by ferringb):

Confirmed- intendant on fixing this in 0.5.11.9; an initial branch for it
is available (or will be) at
bzr://bzr.pkgcore.org/~ferringb/pkgcore-0.5.11.9.

Pretty damn busy with python crap atm, but hoping to have this out this
weekend or so.

--
Ticket URL: <http://www.pkgcore.org/trac/pkgcore/ticket/237#comment:1>

pkgcore

unread,
Apr 24, 2011, 5:41:03 PM4/24/11
to pkgco...@googlegroups.com
#237: atoms with version in profile package.use.mask not working
-------------------------+----------------------
Reporter: clement.cc | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 0.6
Component: pkgcore | Version: 0.5.11.8
Resolution: fixed | Keywords:
-------------------------+----------------------
Changes (by ferringb):

* status: new => closed
* resolution: => fixed


Comment:

Fixed/released in pkgcore 0.6 (out in the nest few hours)... yes I've been
busy ;)

--
Ticket URL: <http://www.pkgcore.org/trac/pkgcore/ticket/237#comment:2>

Reply all
Reply to author
Forward
0 new messages