Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20088 - [php] compile fails during package_php-pear
Attached to Project:
Arch Linux
Opened by Jonathan Serafini (delerious010) - Monday, 05 July 2010, 22:04 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 06 July 2010, 09:00 GMT
Opened by Jonathan Serafini (delerious010) - Monday, 05 July 2010, 22:04 GMT
Last edited by Pierre Schmitz (Pierre) - Tuesday, 06 July 2010, 09:00 GMT
|
DetailsDescription: Compiling of PHP 5.3.2.6 is failing while attempting to clean up files during package_php-pear.
Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: 1. Download PKGBUILD for PHP ( PKGBUILD 75713 2010-04-02 19:47:03Z pierre ) 2. Perform makepkg .. wait .. Specifically, makepkg is failing due to the non-zero exit status returned by the exist check in the following segment. In my particular case, since the find is returning the containing folder of the subsequent file first, the exist check returns non-zero and the makepkg craps out. for i in $(find ${pkgdir}/ -name '.*'); do [ -e $i ] && rm -rf $i done This should technically be changed to the following if you just want a drop-in replacement : for i in $(find ${pkgdir}/ -name '.*'); do [ ! -e $i ] || rm -rf $i done Though I'd recommend not trusting that the files contain sane names, out of stupid paranoia : local i; while read i; do [ ! -e $i ] || rm -rf $i done < <(find ${pkgdir}/ -name '.*') |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Tuesday, 06 July 2010, 09:00 GMT
Reason for closing: Fixed
Additional comments about closing: in svn
Tuesday, 06 July 2010, 09:00 GMT
Reason for closing: Fixed
Additional comments about closing: in svn
Comment by Pierre Schmitz (Pierre) -
Tuesday, 06 July 2010, 09:00 GMT
Thanks for the hint