Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 670482

Summary: FEATURES=getbinpkg from make.conf overrides emerge command-line argument (--getbinpkg=n)
Product: Portage Development Reporter: Martin Kletzander <mkletzan>
Component: Binary packages supportAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Kletzander 2018-11-06 11:59:16 UTC
When having FEATURES=getbinpkg in /etc/portage/make.conf using --getbinpkg=n in the command line for emerge doesn't change anything.

Reproducible: Always

Steps to Reproduce:
1. Have a bin package
2. Set FEATURES=getbinpkg in /etc/portage/make.conf
3. Try rebuilding the package with 'emerge --getbinpkg=n'
Actual Results:  
Installs the old bin package.

Expected Results:  
Rebuilds the package.

My guess is that getbinpkg needs similar treatment as buildpkg here:

https://github.com/gentoo/portage/blob/2e87bfaabd0550f0b34556470b28906d30bd5e48/lib/_emerge/actions.py#L2284