Opened 12 years ago

Closed 12 years ago

#2978 closed task (worksforme)

Use silent make for packages that produce a log too big to be readable

Reported by: Gilles Espinasse Owned by: lfs-book@…
Priority: normal Milestone: 7.1
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Particulary for glibc compilation and testsuite, using make -s (or --silent if using long option) produce a much nicer log when you want to read only the essential. This could remove 'grep Error' need for the testsuite. Size decrease from 11 MB to 100kB for the compilation log and from 3MB to 100kB (on glibc-2.11)

For the test suite, I tested too using --no-print-directory and find log easier to read with that option. The line with make -C already show on which directory the work is done, so 'Entering directory' and 'Leaving directory' lines only overload the log.

To give credit, where I saw glibc compiled and tested silently is in Fedora spec file.

Change History (2)

comment:1 by Matthew Burgess, 12 years ago

I'm really not sure of the value of this. I normally prefer to have too many logs, and filter using 'grep' or similar, than not have enough to figure out what's going on and have to rebuild with more debugging turned on. I'm inclined to mark this as WONTFIX, but will wait for others to chime in.

comment:2 by bdubbs@…, 12 years ago

Resolution: worksforme
Status: newclosed

That was my reaction too. The users are told remove the build directory after each package, so the space used is not an issue. Besides 10M is trivial any more.

Note that for things like this, I have custom scripts that are useful for me, but don't make it into the book. I think this fits into that category.

Note: See TracTickets for help on using tickets.