Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615902 - www-client/chromium shouldn't use a self-deleting temp dir to bootstrap
Summary: www-client/chromium shouldn't use a self-deleting temp dir to bootstrap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-17 23:42 UTC by Thomas
Modified: 2017-04-20 17:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to not delete gn in case of error (chromium-gn-notmp.patch,618 bytes, patch)
2017-04-17 23:42 UTC, Thomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2017-04-17 23:42:16 UTC
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
Comment 1 Mike Gilbert gentoo-dev 2017-04-20 17:21:23 UTC
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(-)