View previous topic :: View next topic |
Author |
Message |
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Mar 27, 2017 11:53 am Post subject: 'ebuild' / chromium vs I_KNOW_WHAT_I_AM_DOING |
|
|
I tried to compile chromium.
The build failed during compile due to lack of ram. I added some more swap.
Now 'ebuild chromium-57.0.*.ebuild compile' fails the checkreqs stage because there isnt sufficient free space (due to the remains of the incomplete chromium build in /var/tmp/).
However 'env I_KNOW_WHAT_I_AM_DOING=y ebuild chromium-57.0.*.ebuild compile' also fails during checkreqs due to reasons unknown to me.
Is there a way to complete the build without having to sit through 10+ hours of compile time again? (Also why is the I_KNOW_WHAT_I_AM_DOING var not respected?) |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3342 Location: Rasi, Finland
|
Posted: Tue Mar 28, 2017 9:25 am Post subject: A wild guess |
|
|
Since no one hasn't replied yet, I have a suggestion...
Dr.Willy wrote: | ...
However 'env I_KNOW_WHAT_I_AM_DOING=y ebuild chromium-57.0.*.ebuild compile' also fails during checkreqs due to reasons unknown to me.
... | Try without "env". I have not used env to pass variables to commands from command line. |
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Tue Mar 28, 2017 9:48 am Post subject: Re: 'ebuild' / chromium vs I_KNOW_WHAT_I_AM_DOING |
|
|
Dr.Willy wrote: | I tried to compile chromium.
The build failed during compile due to lack of ram. I added some more swap.
Now 'ebuild chromium-57.0.*.ebuild compile' fails the checkreqs stage because there isnt sufficient free space (due to the remains of the incomplete chromium build in /var/tmp/). |
Then delete the incomplete build from there?
If you run out of RAM, maybe try lower MAKEOPTS value for chromium (but I don't know what you had now). _________________ GNOME team lead; GStreamer; MIPS/ARM64 |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Wed Mar 29, 2017 10:00 am Post subject: |
|
|
Zucca wrote: | Since no one hasn't replied yet, I have a suggestion... |
Thanks for the idea, but env is needed because I don't use a sh-compatible shell.
…the problem has nothing to do with the shell though, I tried to run the build with export I_KNOW...=y from dash and got the same result. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Mar 30, 2017 12:13 am Post subject: |
|
|
You could try editing the ebuild to remove that disk space check. The next emerge --sync will wipe it out, but it won't matter for a one off hack like this. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3342 Location: Rasi, Finland
|
Posted: Thu Mar 30, 2017 9:01 am Post subject: |
|
|
Ant P. wrote: | You could try editing the ebuild to remove that disk space check. The next emerge --sync will wipe it out, but it won't matter for a one off hack like this. | I'm not sure but does portage allow patching ebuilds itself vies some file/directory in /etc/portage..? That would be maybe best solution... if possible. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|