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

Bug 566528

Summary: dev-db/xtrabackup-bin: calls use in global scope
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 566518    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-22 22:33:09 UTC
if use amd64; then                                                               
    S="${WORKDIR}/${MY_P}-Linux-x86_64"                                          
elif use x86; then                                                               
    S="${WORKDIR}/${MY_P}-Linux-i686"                                            
fi

Most likely belongs in src_unpack() (or pkg_setup() but that's just lazy, not correct).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-06 21:55:58 UTC
Fixed through moving to src_unpack().

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917c688b69ccd109023d8f2c22dd76aad7e14841