From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1BA915802F for ; Tue, 7 Mar 2023 04:36:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 827B6E0849; Tue, 7 Mar 2023 04:36:04 +0000 (UTC) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07E01E0825 for ; Tue, 7 Mar 2023 04:36:03 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id A009B32009F0 for ; Mon, 6 Mar 2023 23:36:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 06 Mar 2023 23:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1678163762; x=1678250162; bh=rpntvw06Zlt3k ZdI7UDx6CIaKk9SvELiBLP+wtPPV3g=; b=VVAtWXuDVxYlx2yCVRJIJdbX0u5KV eVHOy37mdCRqcCx2PnQ96j3UcR4drIKotkYQzh/FB0yKvBDgsUcu9HXsQxCViH/2 XWJJRpxoO+yfjQBrrlVjpaLf34XYWKKx1+ugmBC4ijIwoC/vVHGYznZFCbRJbpiW eQMt/VG+JW5KIES/AXniQ9qB7lFthwI7SgbKiB1Sdvk6NXs9+n+rJEx0Y05pRCIZ 5WgE/M3veZVWWuqWqZEGBldOV5JkkI26BcVs97A451Eu/PUTs/USbiJg3fNEYg9z nVYh5qSefYCIip9hI5LhES0JSnqiek/xIHZaZ/zzKN2nt5D4PjaE9zzVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtledgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtgfesthejredttd dtvdenucfhrhhomhepuehrhigrnhcuifgrrhguihhnvghruceosghogheskhhhuhhmsggr rdhnvghtqeenucggtffrrghtthgvrhhnpeeifefhvddtjedvvdelkeeifefffeekteethe elueekiefgfefhheeiueevvedvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpegsohhgsehkhhhumhgsrgdrnhgvth X-ME-Proxy: Feedback-ID: id1b14406:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 6 Mar 2023 23:36:01 -0500 (EST) Date: Mon, 6 Mar 2023 20:35:59 -0800 From: Bryan Gardiner To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Tailing compressed build logs Message-ID: <20230306203559.5e1d6e9d@khumba.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 30c25e71-369b-4399-b6e1-913069443979 X-Archives-Hash: f60cd09cf7bc8bb2db3ae261822492e6 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