Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613122 - dev-php/*: multiple packages access WORKDIR in pkg_postinst()
Summary: dev-php/*: multiple packages access WORKDIR in pkg_postinst()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 613110
  Show dependency tree
 
Reported: 2017-03-18 15:34 UTC by Michał Górny
Modified: 2017-03-19 14:55 UTC (History)
0 users

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 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