eclass/php5_2-sapi.eclass use "find" like this: "$(find -name '*.m4')" But this is not work with FreeBSD "find". We cannot omit the directory to search. This bug make "emerge php" not to finish nor abort. Emerge output so many "y". It might fulfil the whole disk space. Reproducible: Always Steps to Reproduce: 1.emerge >=sys-devel/autoconf-2.64 2.emerge =php-5.2.12 Actual Results: emerge not finish nor abort.
Created attachment 220271 [details] php-5.2.12 build.log There were much more "y"s at the bottom of the file.
What's the correct usage then? find . -name '*.m4'?
(In reply to comment #2) > What's the correct usage then? > find . -name '*.m4'? yes, replacing the command with "find . -name '*.m4'", I was able to emerge php.
Created attachment 222759 [details, diff] patch for the eclass file. Since I applied this patch, php has properly been emerge'd on both Linux and FreeBSD. Please apply this patch.
IMHO, omitting search directories on calling find is a common stupid mistake. FYI, eclass/toolchain-binutils.eclass does t3h job.