problem: /etc/make.conf uses -> FEATURES="test" <- app-portage/layman-1.4.1 shall be installed without "test" file /etc/portage/env/app-portage/layman-1.4.1 created with content: FEATURES="-test" "emerge -vp layman" still wants to install anything for tests (subversion...) workaround: FEATURES="-test" emerge -vp layman but when doing an "emerge -evp world" or layman requires an emerge again (update), it will do the test-feature all over again (subversion and all that) question: Why does the package "app-portage/layman" doesn't use per file Feature requirement? The global make.conf test feature is necessary for all other packages, so to say. Thanks. I just want to emerge the "bleachbit" package for tests and I need an overlay...
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. :)