Created attachment 470288 [details, diff] Patch to not delete gn in case of error I had a hard time debugging a problem within gn: A tool needed to bild chromium. The problem is that it gets builded to /var/tmp/portage/www-client/chromium-[VERSION]/work/temp/ and deleted by the chromium buildscripts in any case. This makes it hard to impossible to debug gn (in case it sigsegfaults it gets deleted, for example). A patch changing this is attached. This patch will bulild gn at /var/tmp/portage/www-client/chromium-[VERSION]/work/chromium-[VERSION]/out_bootstrap/ which will not get deleted. Some more information (why this was a problem for me and how the solution was found) at https://forums.gentoo.org/viewtopic-t-1062310-start-0-postdays-0-postorder-asc-highlight-.html
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569031d808ea3e936f71a9fcc4c6c33aa05aa493 commit 569031d808ea3e936f71a9fcc4c6c33aa05aa493 Author: Mike Gilbert <floppym@gentoo.org> Date: Thu Apr 20 13:20:31 2017 -0400 www-client/chromium: pass --no-clean to GN bootstrap script This may aid in debugging if the built gn fails to run. Bug: https://bugs.gentoo.org/615902 Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 www-client/chromium/chromium-58.0.3029.81.ebuild | 2 +- www-client/chromium/chromium-59.0.3067.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)