Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'ebuild' / chromium vs I_KNOW_WHAT_I_AM_DOING
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Mon Mar 27, 2017 11:53 am    Post subject: 'ebuild' / chromium vs I_KNOW_WHAT_I_AM_DOING Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3342
Location: Rasi, Finland

PostPosted: Tue Mar 28, 2017 9:25 am    Post subject: A wild guess Reply with quote

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
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Tue Mar 28, 2017 9:48 am    Post subject: Re: 'ebuild' / chromium vs I_KNOW_WHAT_I_AM_DOING Reply with quote

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
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Wed Mar 29, 2017 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Mar 30, 2017 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3342
Location: Rasi, Finland

PostPosted: Thu Mar 30, 2017 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum