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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4A2F91382C5 for ; Tue, 23 Jun 2020 18:00:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DE7CE0899; Tue, 23 Jun 2020 18:00:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 666F7E0899 for ; Tue, 23 Jun 2020 18:00:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24EBC34F20E for ; Tue, 23 Jun 2020 18:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A6BA9C for ; Tue, 23 Jun 2020 18:00:35 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1592935224.0418f10fdfc25c27d0b15ebca52a0bbe8119b55b.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: lib/_emerge/EbuildPhase.py X-VCS-Directories: lib/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0418f10fdfc25c27d0b15ebca52a0bbe8119b55b X-VCS-Branch: master Date: Tue, 23 Jun 2020 18:00:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 229294b2-fb0a-4cff-94be-88adeaee2d0d X-Archives-Hash: cd815a90a4016e060944c749e6514f80 commit: 0418f10fdfc25c27d0b15ebca52a0bbe8119b55b Author: Zac Medico gentoo org> AuthorDate: Tue Jun 23 17:55:53 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Jun 23 18:00:24 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0418f10f EbuildPhase._elog: _set_nonblocking(build_logger.stdin.fileno()) Fixes: dd69ce742c62 ("Support PORTAGE_LOG_FILTER_FILE_CMD (bug 709746)") Signed-off-by: Zac Medico gentoo.org> lib/_emerge/EbuildPhase.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py index ddb3dc719..92335b6c0 100644 --- a/lib/_emerge/EbuildPhase.py +++ b/lib/_emerge/EbuildPhase.py @@ -47,7 +47,8 @@ portage.proxy.lazyimport.lazyimport(globals(), '_post_src_install_soname_symlinks,' + \ '_post_src_install_uid_fix,_postinst_bsdflags,' + \ '_post_src_install_write_metadata,' + \ - '_preinst_bsdflags' + '_preinst_bsdflags', + 'portage.util.futures.unix_events:_set_nonblocking', ) from portage import os from portage import _encodings @@ -433,6 +434,7 @@ class EbuildPhase(CompositeTask): log_filter_file=self.settings.get('PORTAGE_LOG_FILTER_FILE_CMD'), scheduler=self.scheduler) build_logger.start() + _set_nonblocking(build_logger.stdin.fileno()) log_file = build_logger.stdin yield self.scheduler.async_output(msg, log_file=log_file,