public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Tailing compressed build logs
@ 2023-03-07  4:35 Bryan Gardiner
  2023-03-07  7:52 ` Mickaël Bucas
  2023-03-08 13:13 ` Andreas Stiasny
  0 siblings, 2 replies; 12+ messages in thread
From: Bryan Gardiner @ 2023-03-07  4:35 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-10  4:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07  4:35 [gentoo-user] Tailing compressed build logs Bryan Gardiner
2023-03-07  7:52 ` Mickaël Bucas
2023-03-07  9:01   ` Michael
2023-03-09  7:43     ` Bryan Gardiner
2023-03-08 13:13 ` Andreas Stiasny
2023-03-09  7:46   ` Bryan Gardiner
2023-03-09 14:31     ` Andreas Stiasny
2023-03-09 15:49       ` Peter Humphrey
2023-03-09 15:57         ` Matt Connell
2023-03-09 16:01         ` Dale
2023-03-09 17:07           ` Peter Humphrey
2023-03-10  4:13           ` Bryan Gardiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox