Summary: | app-portage/layman-1.4.1 uses global "test", but per file not wanted | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steffen Bergner <steffen.bergner> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | hwoarang |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Steffen Bergner
2011-09-08 12:14:24 UTC
This is not the correct way to mask the 'test' use flag. Try echo "app-portage/layman test" >> /etc/portage/profile/package.use.mask have a look on 'man portage' If this does not work for you, reopen this bug Thanks for the quick response and the help, but won't work... always test is used. linux01 ~ # echo "app-portage/layman -test" >> /etc/portage/profile/package.use.mask linux01 ~ # cat /etc/portage/profile/package.use.mask app-portage/layman -test linux01 ~ # emerge -vp layman These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/apr-util-1.3.11 USE="-berkdb -doc -freetds -gdbm -ldap -mysql -odbc -postgres -sqlite -sqlite3" 594 kB [ebuild N ] dev-db/sqlite-3.7.7.1 USE="extensions fts3 readline test threadsafe -debug -doc -icu -secure-delete -soundex -tcl -unlock-notify" 4,456 kB [ebuild N ] virtual/perl-MIME-Base64-3.08 0 kB [ebuild N ] dev-perl/URI-1.55 79 kB [ebuild N ] dev-vcs/subversion-1.6.17 USE="dso nls perl python test -apache2 -bash-completion -berkdb -ctypes-python -debug -doc -emacs -extras -gnome-keyring -java -kde -ruby -sasl -vim-syntax -webdav-neon -webdav-serf" 5,376 kB [ebuild N ] app-portage/layman-1.4.1 USE="test -bazaar -cvs -darcs -git -mercurial -subversion" 59 kB Total: 6 packages (6 new), Size of downloads: 10,561 kB linux01 ~ # You don't pay attention on what I write I said echo "app-portage/layman test" NOT echo "app-portage/layman -test" Sorry, got the logic "mask" -> reverse "test" = -test. It does the trick. Thank you very much Markos. Ticket RESOLVED. No bug. package.use.mask is for masking use flags ( make this useflag unavailable ) if you need to unmask a use flag then it is the same file but you use '-test' instead of 'test' Unavailable ("blocked") use flag, when in this file, ok. Thanks. :) |