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 B42DD13997D for ; Tue, 12 Nov 2019 22:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09D5CE086B; Tue, 12 Nov 2019 22:25:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 D6340E086B for ; Tue, 12 Nov 2019 22:25:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B4ADC34CBE6 for ; Tue, 12 Nov 2019 22:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB8E58AB for ; Tue, 12 Nov 2019 22:25:38 +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: <1573597471.07f5c5330d4508990ad52e66af4e18f1f860b2eb.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/__init__.py X-VCS-Directories: lib/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 07f5c5330d4508990ad52e66af4e18f1f860b2eb X-VCS-Branch: master Date: Tue, 12 Nov 2019 22:25:38 +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: e53ede07-981b-47fe-9738-cedea7c8a5b8 X-Archives-Hash: 5d44606d84628a272046466b17fedae0 commit: 07f5c5330d4508990ad52e66af4e18f1f860b2eb Author: Ed Baker intel com> AuthorDate: Fri Nov 8 22:12:27 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Nov 12 22:24:31 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=07f5c533 Keep https_proxy populated for curl downloads When building Chromium OS behind a proxy, https_proxy needs to be set for curl. Additional discussion can be found at [1]. Chromium configures the chroot FETCHCOMMAND at [2]. Example fetch command: curl --ipv4 -f -y 30 --retry 9 -L \ --output /var/cache/chromeos-cache/distfiles/host/zlib-1.2.11.tar.gz \ https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/zlib-1.2.11.tar.gz Example error message: >>> 13:49:14 === Start output for job zlib-1.2.11 === zlib-1.2.11: >>> Downloading 'https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/zlib-1.2.11.tar.gz' zlib-1.2.11: % Total % Received % Xferd Average Speed Time Time Time Current zlib-1.2.11: Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0 zlib-1.2.11: curl: (7) Failed to connect to commondatastorage.googleapis.com port 443: Connection timed out zlib-1.2.11: >>> Downloading 'https://commondatastorage.googleapis.com/chromeos-mirror/gentoo/distfiles/zlib-1.2.11.tar.gz' zlib-1.2.11: % Total % Received % Xferd Average Speed Time Time Time Current zlib-1.2.11: Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:02:11 --:--:-- 0 zlib-1.2.11: curl: (7) Failed to connect to commondatastorage.googleapis.com port 443: Connection timed out zlib-1.2.11: !!! Couldn't download 'zlib-1.2.11.tar.gz'. Aborting. zlib-1.2.11: * Fetch failed for sys-libs/zlib-1.2.11, Log file: zlib-1.2.11: * /var/log/portage/sys-libs:zlib-1.2.11:20191108-204452.log [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1021751 [2] https://chromium.googlesource.com/chromiumos/platform/crosutils/+/master/sdk_lib/make_conf_util.sh Closes: https://github.com/gentoo/portage/pull/478 Signed-off-by: Edward Baker intel.com> Signed-off-by: Zac Medico gentoo.org> lib/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/__init__.py b/lib/portage/__init__.py index 7bb2b1aa0..71cbdad2e 100644 --- a/lib/portage/__init__.py +++ b/lib/portage/__init__.py @@ -563,7 +563,7 @@ def create_trees(config_root=None, target_root=None, trees=None, env=None, clean_env = {} for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_REPOSITORIES', 'PORTAGE_USERNAME', 'PYTHONPATH', 'SSH_AGENT_PID', 'SSH_AUTH_SOCK', 'TERM', - 'ftp_proxy', 'http_proxy', 'no_proxy', + 'ftp_proxy', 'http_proxy', 'https_proxy', 'no_proxy', '__PORTAGE_TEST_HARDLINK_LOCKS'): v = settings.get(k) if v is not None: