Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] keepwork: emerge ignores $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
chaoscommander
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2012
Posts: 110

PostPosted: Mon Jul 11, 2016 5:51 pm    Post subject: [SOLVED] keepwork: emerge ignores $I_KNOW_WHAT_I_AM_DOING Reply with quote

My Firefox rebuild is not getting past the size check on /var/tmp/portage. Reason is that the build failed after hours of compilation. I assume the failure to be a distcc hiccup and want the build to retry and continue where it left off. So I'm setting FEATURES="keepwork". But now FF won't build because /var/tmp/portage contains the unfinished stuff and has less than 8 GB of free space left. Which doesn't matter, because most of the stuff is already there and the threshold won't be reached anyway. So I switched on I_KNOW_WHAT_I_AM_DOING=1, but emerge still aborts after the pre-merge check. What am I missing?

[Moderator edit: amended post title per feng's report. Body unchanged. -Hu]


Last edited by chaoscommander on Mon Nov 07, 2016 8:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
324874
Apprentice
Apprentice


Joined: 26 Jul 2014
Posts: 168

PostPosted: Mon Jul 11, 2016 8:01 pm    Post subject: Please, choose another title for the thread ! Reply with quote

Hi chaoscommander !

The title is not informative and returns a bad image of the thread because it's in uppercase ! I have (and I suppose, others too) the impression you want to capture the attention by all means.
I sent a distress signal to moderators on the forum Gentoo Forums Feedback, (cf post) so this does not happen again. Please, read again the Gentoo Guidelines before posting.

My apologies if I misinterpreted the situation!

I would add that the presentation of a technical problem on a forum is not necessarily narative. In your case, this is counter productive. You go from one point to reach the same point.
I suggest you rephrase the context and the problem. You may not agree with me. If that's the case, I would be grateful to you if you ignore the last remark and you continue on your way.

Best regards, feng.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Mon Jul 11, 2016 8:04 pm    Post subject: Reply with quote

I_KNOW_WHAT_I_AM_DOING="yes"
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1221
Location: Massachusetts USA

PostPosted: Mon Jul 11, 2016 9:46 pm    Post subject: Reply with quote

Instead of using emerge use ebuild. "man ebuild" will tell you how to use it.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22925

PostPosted: Tue Jul 12, 2016 1:01 am    Post subject: Reply with quote

Buffoon wrote:
I_KNOW_WHAT_I_AM_DOING="yes"
Based on my reading of the eclasses in the Portage tree, any non-empty value is sufficient. Setting it to yes should have the same effect as setting it to 1.

I suspect that trying to resume a partial build has caused it to reuse the environment from that build. If so, OP needs to go back in time to when he started the first build and set it in that environment, not in the new one. Alternately, he could try hacking on the saved environment to make it look like he had gone back in time.
Back to top
View user's profile Send private message
chaoscommander
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2012
Posts: 110

PostPosted: Tue Jul 12, 2016 8:00 pm    Post subject: Re: Please, choose another title for the thread ! Reply with quote

feng wrote:

The title is not informative and returns a bad image of the thread because it's in uppercase ! I have (and I suppose, others too) the impression you want to capture the attention by all means.
[...]
I would add that the presentation of a technical problem on a forum is not necessarily narative. In your case, this is counter productive. You go from one point to reach the same point.
I suggest you rephrase the context and the problem. You may not agree with me. If that's the case, I would be grateful to you if you ignore the last remark and you continue on your way.


Hello feng (and others who might have been offended), this was not at all my intention with the title. It was the shortest description of the problem I could think of (and what can I do, the variable name is supposed to be all caps).
Criticism of my writing style acknowledged. If it's a valid defense, I was tired both of emerge and in general when I opened the thread. No time to rephrase it right now, though.

Thanks so far to the people who suggested solutions. Will look into ebuild and/or try to remember where I put my flux capacitor.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Jul 12, 2016 10:59 pm    Post subject: Reply with quote

Don't pay that one person too much attention. They seem to put far more effort into nitpicking the minutiae of other people's posts than ever actually helping.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22925

PostPosted: Wed Jul 13, 2016 12:34 am    Post subject: Re: Please, choose another title for the thread ! Reply with quote

chaoscommander wrote:
Hello feng (and others who might have been offended), this was not at all my intention with the title.
No need to apologize. I modified the title because I thought the new title would be more likely to draw attention from people who could help you, some of whom might not know the meaning of the variable you referenced, but who might recognize FEATURES=keepwork and the semantics it uses.
Back to top
View user's profile Send private message
324874
Apprentice
Apprentice


Joined: 26 Jul 2014
Posts: 168

PostPosted: Wed Jul 13, 2016 6:13 am    Post subject: Please, be respectful! Reply with quote

Ant P. wrote:
Don't pay that one person too much attention. They seem to put far more effort into nitpicking the minutiae of other people's posts than ever actually helping.

Please, avoid proclaim accusations baseless! I advise you to take one of the following actions (if you really want to move forward without causing trouble on your way):
  • contact the concerned persons by email, with or without moderators of the Gentoo Forums, remaining respectful and explaining properly;
  • open a new thread in Gentoo Forums Feedback and invite those concerned by the issue (or with whom you have to clear your opinion) to participate;
  • say nothing and keep your judgment for yourself.

Best regards, feng.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jul 13, 2016 6:07 pm    Post subject: Reply with quote

Hiding threats behind that kind of worthless obsequious verbosity does not impress me.

Stop harassing people if you don't want to get called out on it.
Back to top
View user's profile Send private message
chaoscommander
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2012
Posts: 110

PostPosted: Thu Jul 14, 2016 12:47 pm    Post subject: Reply with quote

Getting back to the problem.. with Linux, I found time really can be rewritten. :) I just added
Code:
declare -x I_KNOW_WHAT_I_AM_DOING="yes"

to /var/tmp/portage/www-client/firefox-47.0.1/temp/environment. Didn't know about that file before.

And indeed, now I can use my old temp data and the size error has turned into a warning.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22925

PostPosted: Fri Jul 15, 2016 1:24 am    Post subject: Reply with quote

Good to see. If you are satisfied with this resolution, please amend the title of the opening post to include a solved tag. Unfortunately, the current title uses up almost all of the allowed length, so some part of it will need to be dropped to make room for the tag.
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