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

Bug 613122

Summary: dev-php/*: multiple packages access WORKDIR in pkg_postinst()
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 613110    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-18 15:34:49 UTC
./dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0.ebuild
./dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
./dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.2.ebuild
./dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
./dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2.ebuild
./dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4.ebuild
./dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4.ebuild
./dev-php/PEAR-Text_CAPTCHA/PEAR-Text_CAPTCHA-1.0.2.ebuild


All those ebuilds access ${WORKDIR} in pkg_postinst(). This is wrong, breaks binary packages and isn't even guaranteed to work when installing from source (the PM can remove WORKDIR early).
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-03-19 14:55:57 UTC
All packages listed have been bumped to remove this functionality with the new php-pear-r2 eclass