From patchwork Thu Apr 11 15:28:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Zhukov X-Patchwork-Id: 1922624 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=O1EdgOmN; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VFkB32SrZz1yYL for ; Fri, 12 Apr 2024 01:28:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9533A612D3; Thu, 11 Apr 2024 15:28:41 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DIdMtle7M1gi; Thu, 11 Apr 2024 15:28:40 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 4D3D660622 Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=O1EdgOmN Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 4D3D660622; Thu, 11 Apr 2024 15:28:40 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 215A8C007C; Thu, 11 Apr 2024 15:28:40 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6970FC0037 for ; Thu, 11 Apr 2024 15:28:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 498F08224F for ; Thu, 11 Apr 2024 15:28:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ng24k3ItlxqH for ; Thu, 11 Apr 2024 15:28:36 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.154.239.214; helo=forward103c.mail.yandex.net; envelope-from=fsb4000@yandex.ru; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 6FCA68224B Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=yandex.ru DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6FCA68224B Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=O1EdgOmN Received: from forward103c.mail.yandex.net (forward103c.mail.yandex.net [178.154.239.214]) by smtp1.osuosl.org (Postfix) with ESMTPS id 6FCA68224B for ; Thu, 11 Apr 2024 15:28:34 +0000 (UTC) Received: from mail-nwsmtp-mxback-production-main-399.sas.yp-c.yandex.net (mail-nwsmtp-mxback-production-main-399.sas.yp-c.yandex.net [IPv6:2a02:6b8:c10:2997:0:640:e2e0:0]) by forward103c.mail.yandex.net (Yandex) with ESMTPS id 3C2A7608EF for ; Thu, 11 Apr 2024 18:28:24 +0300 (MSK) Received: from mail.yandex.ru (2a02:6b8:c08:fd94:0:640:b849:0 [2a02:6b8:c08:fd94:0:640:b849:0]) by mail-nwsmtp-mxback-production-main-399.sas.yp-c.yandex.net (mxback/Yandex) with HTTP id LSdHnb9O9Gk0-ozoITRCb; Thu, 11 Apr 2024 18:28:23 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1712849303; bh=I3yPxxufj5If4nYTNQULlnV4j4jcNVtEPYKCjFyT4ZY=; h=Message-Id:Date:Subject:To:From; b=O1EdgOmNZuoVFMwKujHJxSQXFv23lo+qaSMpUdK17FLEneS7IHIKyB86OblXdjPvG pVS7iHWu34NUfcc8Wy+/qi2gMKb2BYRDM3qE1h/0fV5WDXzvEaMWiczxqNAZ6ZPaUK DlnS40UKJCq/7ztqteM5Cao0AxBbK/leizMN0DT4= Authentication-Results: mail-nwsmtp-mxback-production-main-399.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by oabjfzlxttdsu7rh.sas.yp-c.yandex.net with HTTP; Thu, 11 Apr 2024 18:28:23 +0300 From: Igor Zhukov Envelope-From: fsb4000@yandex.ru To: dev@openvswitch.org MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 11 Apr 2024 22:28:23 +0700 Message-Id: <1458201712849303@oabjfzlxttdsu7rh.sas.yp-c.yandex.net> Subject: [ovs-dev] [PATCH ovn] Add dh-python to debian/control. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" I tried to build OVN in a fresh Ubuntu 24.04 Docker container. I only installed the Build-Depends. I ran: $ dpkg-buildpackage -us -uc -ui -b And I received the following output: dpkg-buildpackage: info: source package ovn dpkg-buildpackage: info: source version 24.03.90-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by OVN team dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --with autoreconf,python3 --parallel dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh: error: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at (eval 12) line 1. BEGIN failed--compilation aborted at (eval 12) line 1. make: *** [debian/rules:25: clean] Error 255 dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2 debuild: fatal error at line 1184: dpkg-buildpackage -us -uc -ui -b failed After researching a solution, I discovered that we need to add dh-python to the Build-Depends in debian/control. Signed-off-by: Igor Zhukov --- debian/control | 1 + 1 file changed, 1 insertion(+) -- 2.43.0 diff --git a/debian/control b/debian/control index 6ee2192..d99b483 100644 --- a/debian/control +++ b/debian/control @@ -9,6 +9,7 @@ Build-Depends: graphviz, bzip2, debhelper (>= 8), dh-autoreconf, + dh-python, libssl-dev, libtool, openssl,