Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3585 - Log buiding output; allow selective buidling messages in the interactive process
Summary: Log buiding output; allow selective buidling messages in the interactive process
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2834 3602
  Show dependency tree
 
Reported: 2002-06-10 13:09 UTC by Rufiao Valhacouto
Modified: 2011-10-30 22:38 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rufiao Valhacouto 2002-06-10 13:09:51 UTC
Add the full build output for each package automatically to a file in the
/var/db/pkg tree to allow users check what has happened in the building process.
Also, add a flag to emerge/ebuild to selectively show building messages (eg.
show nothing but the final result, show only errors/warnings, show everything).
Comment 1 Wout Mertens (RETIRED) gentoo-dev 2002-06-10 18:18:03 UTC
Also cool would be an option to show the building output (colorized of course) in a separate xterm (when you're running under X of course), and only the general emerge output in the window you're running emerge in. 
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2002-06-11 02:35:29 UTC
Make this proposition optional, as I just redirect the output to a log file in
/tmp that gets deleted automatically  after a while. I don't think it is
necessary to keep al those files for a long time.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-06-12 07:43:50 UTC
I'm actually almost done with this one. I have it as part of my threading 
addition to portage... I'm working on change to the spawn code so that the 
output is redirected to the current sys.std*'s so that I can actually log 
everything. It also keeps a file with status(fetching, compiling, merging) and 
error messages along with outputting a running activity log to the screen. 
output based on -vvvv and -qqqq options.

(mostly relates to eprint() at the top of the emerge code)
Early-ish code is http://gentoo.twobit.net/scripts/portage/
Patched against drobbin's db speedup code.
Comment 4 SpanKY gentoo-dev 2002-08-05 17:31:47 UTC
that URL is dead :/
Comment 5 Aaron Peterson 2003-08-08 19:54:10 UTC
This is actually very important..

I do emerge worlds... and there are tons of files that fly by with... Oh, you need to change the permission on this file or blah will crash ....
This is rediculous...

We need a curses wrapper for this, colorized, etc...
with a menu/gui... keyboard or x... whatever... 

with split screens..
possible screens:  view log file, view compiler output, status bar (oodles of possiblities here), browse the portage tree, have a shell (ala screen)...

Also it could have a better etc-update editor in it...
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2004-06-02 21:54:39 UTC
Build log is implemented with PORT_LOGDIR, the selective output is covered by a myriad of other bugs, so I'm closing this.
Comment 7 Aaron Peterson 2004-06-08 11:05:00 UTC
it's just not resolved FIXED