Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318897 - FEATURES="-buildpkg" doesn't work in /etc/portage/env
Summary: FEATURES="-buildpkg" doesn't work in /etc/portage/env
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 320457
Blocks: 381649 409085
  Show dependency tree
 
Reported: 2010-05-07 17:22 UTC by Victor Mataré
Modified: 2012-03-21 06:50 UTC (History)
1 user (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 Victor Mataré 2010-05-07 17:22:39 UTC
The title says it all. I'm trying to exclude some pkgs from creating a tbz2 (things like gentoo-sources...), and I've put FEATURES="-buildpkg" in /etc/portage/env/sys-kernel/gentoo-sources. /etc/make.conf has FEATURES="buildpkg", of course. However emerge still creates a nice tbz2 for gentoo-sources. I do realize this is kind of an alpha feature, but I really need this (desperately ;-).

Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2010-05-07 18:08:35 UTC
For features that are implemented at least partially in python, including FEATURES=buildpkg, modifications to FEATURES in bashrc will never have any effect. What you need is something like bug #44796, comment #50.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-22 00:12:16 UTC
Ehm, Zac which option do we have about this? It _really_ would be nice to have (to avoid building packages for kernels, for instance, which is a _huge_ waste of time)....
Comment 3 Zac Medico gentoo-dev 2011-08-22 03:17:15 UTC
Now that we've got package.env support, it won't be too difficult to implement the handling of FEATURES=buildpkg. The class where this would go is in pym/_emerge/EbuildBuild.py, but we also need to make sure that --buildpkg maps to FEATURES=buildpkg correctly (I think the mapping is in the reverse direction now).
Comment 5 Zac Medico gentoo-dev 2011-09-03 06:32:14 UTC
This is fixed in 2.1.10.12 and 2.2.0_alpha52.