Hi folks,

How can I follow Portage's compressed build logs in real time as they
are generated?

I keep build logs and use FEATURES=compress-build-logs so that they
don't get too large.  I can peek at how a build is going with zless on
build.log.gz, which doesn't update (understandably), but I would
really like to be able to watch a log with some "tail -f" equivalent.
I get streaming output with

    tail -c +1 -f build.log.gz | od -t x1

but the following hangs with no output:

    tail -c +1 -f build.log.gz | gunzip

even with a build log that is 72KB compressed (2.4MB uncompressed),
which should be larger than any pipe buffers...  Any idea why gunzip
can't handle this, or what I should I should be doing instead?

Thanks,
Bryan

Reply via email to