From patchwork Fri Oct 11 20:58:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aginwala aginwala X-Patchwork-Id: 1175568 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CL6+/Nc1"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46qgWf4jH2z9sNx for ; Sat, 12 Oct 2019 08:07:26 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 540511791; Fri, 11 Oct 2019 21:06:23 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id DE8FC1483 for ; Fri, 11 Oct 2019 20:58:46 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DB79A14D for ; Fri, 11 Oct 2019 20:58:45 +0000 (UTC) Received: by mail-pf1-f173.google.com with SMTP id q5so6747724pfg.13 for ; Fri, 11 Oct 2019 13:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V3KsdiuuzWtpBGrjNhjOm6e5yiSTrnfGOVK/vVBV9+o=; b=CL6+/Nc1p8OVako3KfnmN+HtvHrP8OIR5wGzzZq0qWR5dIASFaYbJ+Pt0Jy62z80Hx U0YHAji3sB/A1L1FosYX8xJ8BJYujklwvyDeeOJ60AeyZ5Z/YguAFt+3wHI7+sTTRL1X PwrjP1HBJvmOmgYJZF8nc+4Rvms1l2JmtCVe+mNj5KOIWmmIheUmrZlST1C732iGGtRL 3sQ0g5AFrlV9TxrLnYM24PUiJdZWID9xqS9ar620SiRNYGJst/e2iIOClS6zd2TbB8Eg 28zM3Au85c4GBnrnVX3XRkT74KO7FlaV5BhgvcHyuDFgJxtU/vfmMANsd2bj2z59OF2j T50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V3KsdiuuzWtpBGrjNhjOm6e5yiSTrnfGOVK/vVBV9+o=; b=iX9YZciXS4uNgbRve9sElR4SaISq4iaJGUJ9rUEQwrT96LGGoP4jBbA0dFCRAD1q6c 0t9IpeGQLVQeR5bll4U01yfesVERDR1mjEFTlOuYVR0+G3xM9UcCd8YzFd0mYVWk6M/6 AYzk/4f4BRmBtyUJCfM2AeT5Kz80e9OX0kmfn2ObNIN9HpvfNutJzcnmWzJAZvWJU9Hp kJuyIa3NFDkgvQSQGpuqX1zXaGcP6m38nQy2IHoDdaNYOryR5yHQVkh8KcxBcD4b2FHW VeIHmtAf9eoLyfZYhK75HGNmDzRm38kOuNBo4suzVbhZXIpNx5JZ4d06W04nMq9AY4q0 TAXw== X-Gm-Message-State: APjAAAXiY32/wHXKbP3ZGEwdhdFVzzwaRj/S5Iz+N3e72Mg839xwILYr HVGI2R7xYmoc+waHJyAhlcEZkKFE X-Google-Smtp-Source: APXvYqztTPwLlKDeGgSUNstekrvKEDWTh0JfybbpFuDL1yH59omEsGiYrLbQExUHDimcm3P+NZSVAw== X-Received: by 2002:a65:5cca:: with SMTP id b10mr2105521pgt.258.1570827525031; Fri, 11 Oct 2019 13:58:45 -0700 (PDT) Received: from LM-SJC-11015761.corp.ebay.com ([216.113.160.77]) by smtp.gmail.com with ESMTPSA id q36sm9750938pgb.34.2019.10.11.13.58.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Oct 2019 13:58:44 -0700 (PDT) From: amginwal@gmail.com To: dev@openvswitch.org Date: Fri, 11 Oct 2019 13:58:25 -0700 Message-Id: <20191011205825.71888-1-amginwal@gmail.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) MIME-Version: 1.0 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Aliasgar Ginwala Subject: [ovs-dev] [PATCH v1] ovs container build.sh requires python3 X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org From: Aliasgar Ginwala building ovn/ovs container breaks while configure: checking for Python 3 (version 3.4 or later)... no configure: error: Python 3.4 or later is required but not found in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, please install it or set to point to it As per commit 1ca0323e7c29dc7ef5a615c265df0460208f92de Require Python 3 and remove support for Python 2. Signed-off-by: Aliasgar Ginwala Acked-by: hzhou@ovn.org --- utilities/docker/debian/build-kernel-modules.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/docker/debian/build-kernel-modules.sh b/utilities/docker/debian/build-kernel-modules.sh index 1b12720b9..18ac35764 100755 --- a/utilities/docker/debian/build-kernel-modules.sh +++ b/utilities/docker/debian/build-kernel-modules.sh @@ -18,8 +18,8 @@ GITHUB_SRC=$3 # Install deps linux="linux-image-$KERNEL_VERSION linux-headers-$KERNEL_VERSION" -build_deps="apt-utils libelf-dev build-essential libssl-dev python \ -python-six wget gdb autoconf libtool git automake bzip2 debhelper \ +build_deps="apt-utils libelf-dev build-essential libssl-dev python3 \ +python3-six wget gdb autoconf libtool git automake bzip2 debhelper \ dh-autoreconf openssl" apt-get update