The net-misc/putty-0.60 ebuild reports a 'false positive' when it builds. It does not fail gracefully or correctly. I tried to build putty on my netbook, which I have lightened slightly by eliminating most system header files with INSTALL_MASK, and the ebuild finished properly, although there were no binaries generated. The ebuild did not fail when the build failed, nor did it fail when it attempted 'dobin' on a non-existent file. * QA Notice: file does not exist: * * dobin: pterm does not exist * dobin: putty does not exist * dobin: puttytel does not exist * dobin: puttygen does not exist * dobin: plink does not exist * dobin: pscp does not exist * dobin: psftp does not exist Please see the patch for a fix. Reproducible: Always Steps to Reproduce: 1.emerge putty 2. 3. Actual Results: * QA Notice: file does not exist: * * dobin: pterm does not exist * dobin: putty does not exist * dobin: puttytel does not exist * dobin: puttygen does not exist * dobin: plink does not exist * dobin: pscp does not exist * dobin: psftp does not exist Expected Results: failure (this would be the correct result) failed
Created attachment 201132 [details, diff] putty-0.60-ebuild-fail-properly.patch
Thanks for the heads up, btw || die should not be called in a subshell because it simply won't work