Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question about emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Fri May 14, 2004 9:43 am    Post subject: question about emerge Reply with quote

hi everyone!

when im doing a emerge -u world im ususally not sitting next to my computer waiting for 2 hours till everything has emerged and reading all the notices that show up while emerging. but somethimes those messages that show up during an emerge can be important (eg when i did the gtk+-2.4 upgrade there was a message saying one should recompile gtk-themes for the old themes to work again). is there a way of reading those messages all together when the emerge is finished. are they saved to a file or maybe can they be piped to a file?

moo
Back to top
View user's profile Send private message
infamousmrsatan
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 201
Location: California

PostPosted: Fri May 14, 2004 11:37 am    Post subject: Reply with quote

piping to a file is a great idea -- have you tried it? does it work?

I also feel the same about this, but haven't tried anything for it. emerge.log is definitely insufficient.
_________________
Registered Linux User 344425
Join the adopt an unanswered post initiative today!
Por favor, corrija mi espanol!
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Fri May 14, 2004 11:44 am    Post subject: Reply with quote

n havent tried it yet, since when piping you dont see the screen output and i wanna see that :-) (dont ask for a reason, i have none). i wonder if those messages maybe are written on the rror console, so they can be caught by using 2> to redirect that stream to a file. dones anyone know anything about that? dev ... how about you?
Back to top
View user's profile Send private message
caffeine_junkie
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 133
Location: Vienna, Austria

PostPosted: Fri May 14, 2004 11:54 am    Post subject: Reply with quote

you could pipe it to more. then you should be able to see the screen output during and after emerge
Back to top
View user's profile Send private message
cjc
n00b
n00b


Joined: 16 Mar 2004
Posts: 63
Location: Birmingham, United Kingdom

PostPosted: Fri May 14, 2004 12:10 pm    Post subject: Reply with quote

You could also pipe to tee (which writes it's stdin to stdout and a list of files you name).
Back to top
View user's profile Send private message
mooerito
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 187
Location: Zurich/Switzerland

PostPosted: Fri May 14, 2004 12:58 pm    Post subject: Reply with quote

cjc wrote:
You could also pipe to tee (which writes it's stdin to stdout and a list of files you name).


sounds good so far, ill do it like that next time.
i just wonder if there is any non-hack way to do this, some way to log the * marked lines of the emerge process.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri May 14, 2004 1:38 pm    Post subject: Reply with quote

First, turn on portage logging in /etc/make.conf.

Then d/l TGL's portlog-info: http://tdegreni.free.fr/gentoo/portlog-info (and on these forums).

Use:
emerge foo
portlog-info -s 1d
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
jftuga
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2004
Posts: 139
Location: Athens, GA

PostPosted: Fri May 14, 2004 2:42 pm    Post subject: Re: question about emerge Reply with quote

mooerito wrote:
hi everyone!

when im doing a emerge -u world im ususally not sitting next to my computer waiting for 2 hours till everything has emerged and reading all the notices that show up while emerging. but somethimes those messages that show up during an emerge can be important (eg when i did the gtk+-2.4 upgrade there was a message saying one should recompile gtk-themes for the old themes to work again). is there a way of reading those messages all together when the emerge is finished. are they saved to a file or maybe can they be piped to a file?

moo


Instead of piping or teeing to a file, you can also do this:
script
emerge world ; exit

Then you will have a file called typescript that will contain everything that shows up on the screen. I guess this is similar to tee.

-John
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Fri Nov 12, 2004 8:53 am    Post subject: Reply with quote

Moved from Portage & Programming in favour of https://forums.gentoo.org/viewtopic.php?t=131795
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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