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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CCC7158042 for ; Wed, 23 Oct 2024 16:35:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B04B7E0978; Wed, 23 Oct 2024 16:35:45 +0000 (UTC) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 728F7E0957 for ; Wed, 23 Oct 2024 16:35:45 +0000 (UTC) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4314a26002bso77205045e9.0 for ; Wed, 23 Oct 2024 09:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729701344; x=1730306144; darn=lists.gentoo.org; h=subject:in-reply-to:to:date:from:message-id:from:to:cc:subject:date :message-id:reply-to; bh=WV0tURP2elqW+fgnZsdPjzb3jbxIUVSVtVjJOorKDmI=; b=GXI+sHkvBkbm8VOieVd5pX3KF4AJ6IAZ6LlVE4nTLZxRofA+z6rnpD5jaGGNHruaPM 6mXBX42FdDZMTwupuud0pkdYaMhk6F70K57FzwrTj8dvmizQEuO2iru6XhvUhcYIZ18d FPW4BCsI/86sWvBJkCMXWSAgdVyvl16olb1cKMYVnhbmikjLNXYXKvQkkehcY9wx+2We r7R1wGHEIQ8aiGb5I9cJy+Z8hWTjzPKRg2bgY5qrds8kQ4eAqxLv/OjrzFHszyQcM5+z bQFem7Xb/4dCyfeCCtcjQ1J1h9ruLMf1Panba5/1ARaTEy7mpiQso1FpYyja2iaXJ6IW j2FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729701344; x=1730306144; h=subject:in-reply-to:to:date:from:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=WV0tURP2elqW+fgnZsdPjzb3jbxIUVSVtVjJOorKDmI=; b=E+rWal5ccb86dyWPu8qoIggOWPp2kkH+2LLfcD0xynKs4DRyXu+/K6YDeNyBj15OYT GUi6aM54oabgncEwZj7Ae3EgiwS6hc0PoZmh5HNA4btsonVYzOOY74wPuN/SJQdBOjPC QxlthjSaDeUno2YJeon0KATEN3TDT0/c9ZDs16iM/3vyp1cX+56sonTAAiFKz9HBHM5t DLDRDjqZvcXL1WU0ksfULUlGKQN5ULNWhKkpyvuITJw32FpBgrFlXknixB83AZDh3izA rFTZwrV4yJA6MmbW6LYZjK025Mbsln1xyahC0mGYgEbARZrAu0foDkGouUCaiYCN48jG DNBw== X-Gm-Message-State: AOJu0YxqZIreI0MMy0XjEKCKePPQUg6OIK4QiBxWBvmfahNXogK+meF0 qq91cUVIQaoRBgmzxUUvMBQuYuU15RrzmIQG+NoWEO8tT7+fD6LyddPiew== X-Google-Smtp-Source: AGHT+IGUoIKebGQWOBX42PML0mgtc3N+7TGspa8F6oPkZMPgUpru2v9oqS2TPe7L8VD/LVOmBOKr8A== X-Received: by 2002:a05:6000:ce:b0:37d:52d0:a59d with SMTP id ffacd0b85a97d-37efcf04fd0mr2115522f8f.10.1729701343889; Wed, 23 Oct 2024 09:35:43 -0700 (PDT) Received: from tux (p200300df070507774360476923b969f2.dip0.t-ipconnect.de. [2003:df:705:777:4360:4769:23b9:69f2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43186bd684asm20744745e9.5.2024.10.23.09.35.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 09:35:43 -0700 (PDT) Message-ID: <671925df.050a0220.25be0a.87f8@mx.google.com> From: Dr Rainer Woitok X-Google-Original-From: Dr Rainer Woitok Received: by tux (sSMTP sendmail emulation); Wed, 23 Oct 2024 18:35:41 +0200 Date: Wed, 23 Oct 2024 18:35:41 +0200 To: Gentoo-User@Lists.Gentoo.Org In-Reply-To: (message from Dr Rainer Woitok on Wed, 09 Oct 2024 17:25:13 +0200) Subject: [gentoo-user] Re: Suppressing some "emerge" output 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 X-Archives-Salt: 8249835a-3208-48de-b2fe-0d85698bf577 X-Archives-Hash: ec2f9f51bace96de0020d8bacae94906 On Wed, 09 Oct 2024 17:25:13 +0200 I myself wrote: > ... > after a recent KDE upgrade among other new packages "emerge" also in- > stalled "dev-qt/qtwebengine" as a new dependency. Since on my five year > old laptop this package requires about 6 hours 20 minutes to build, I > decided to slightly redesign my package managing script and to use bina- > ry packages for long bilding dependencies I build with default USE flags > anyway. > > It works, but is there a way (short of using "|grep -v ...") to prevent > "emerge" from spitting plenty of noisy but rather irrelevant progress > messages to standard output (which it also logs to "/var/log/emerge- > fetch.log")? I meanwhile learned two things: 1. Running "emerge --ask ... | grep -v ..." does't work nicely, because after "emerge" has produced its output it doesn't immediately close its output stream, while "grep" waits for more input to fill its in- ternal buffer. So the pipe stalls without asking whether or not to continue and one has to blindly type "y" or "n". 2. By accidentally running an unrelated "wget" command without option "--quiet" I realized that these noisy progress messages most probably originate from a call to "wget" issued by "emerge" directly. So I appended the line "quiet = on" to file "/etc/wgetrc" and that real- ly suppressed all these progress messages. The only question remaining now is whether "emerge" calling "wget" without "--quiet" option is a bug or a feature. Opinions? Sincerely, Rainer