From patchwork Fri Feb 7 18:47:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 106137 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2E3053857B94 for ; Fri, 7 Feb 2025 18:47:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E3053857B94 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=GYh+yPXX X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 778CB385801B for ; Fri, 7 Feb 2025 18:47:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 778CB385801B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 778CB385801B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738954034; cv=none; b=Dsldhv0LDf2ehmqILBtfBcptbKAXIBslbN/pNLXF3lbyd4Xf1E8PKXO0dYDjfQlpgty5s/Byemp3KxLXG9jaMPjzQ3yFmWVPyrRB9NTyzkOL8RXTDBD3XdFEFhMMM6ugOxXCvuSWhhLhF+qiyGz9lhfL6pPNvWHiPNj7j3S5Am8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738954034; c=relaxed/simple; bh=bsCQBfDQtYVeMJMcwIjy2QNqNPMr29S0idiWvBpEFPs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xMN1zKZ4/N/+XflPEKuVcXRmJWIug4W2zCmGQzZvoo646QepaDbCYZyaMw2dUg/Xl1zyQCwyNH2Usio/bBXcPwDo22xu3uHalmQ9osmGBbskjPzGm8AKNY69N5pLKa871v/frCYeDygDDyjFIuN6UxyFHGXjpQh2A+DNkbL9QR4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 778CB385801B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738954034; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=2ZGp2tBfvdp5jngO2R/elxX1Gwr4RYsCBIA8WegFZ4s=; b=GYh+yPXX9Q6IWzmCu2erg2IA3pLVxpB16b+6EJta1Lyr02LZHsKMBoDpxGHRlybEheXJ0j RmBnRo9VyvdQyqS+bkcIGoYfjfvgMV1eJQuCQc7/KKxnUbt3P9g5wMjCjKsp9nLugjjsr3 hhYj3/Rojm7/L2RhtpYcHfefM1+tHNo= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-373-ypLoiKbMPR6ZWmjKUeXxDg-1; Fri, 07 Feb 2025 13:47:13 -0500 X-MC-Unique: ypLoiKbMPR6ZWmjKUeXxDg-1 X-Mimecast-MFC-AGG-ID: ypLoiKbMPR6ZWmjKUeXxDg Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-436289a570eso20752025e9.0 for ; Fri, 07 Feb 2025 10:47:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738954031; x=1739558831; h=mime-version:user-agent:message-id:date:organization:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2ZGp2tBfvdp5jngO2R/elxX1Gwr4RYsCBIA8WegFZ4s=; b=on74SEh+zt/nAdmzZz9+XJqYQz8sKerwCAIKDEW8pQ6ttGZneKEp2h2cYKx6Z4ARug jYWyVSwNLjd8irZHQV5biIba6ZpVy8w2XkCf7H6OgJAv7R0dVZYvV9YDGizy4pEl2DAs aD7JNMxGbI0h+DKvORenMQSdaJJHkbEzz72WxTGWf4f5EjSN0nDuM+HO9DFH3JXpNkHR /Tod4obgfCfM+XVrIE3P8FcDhT7PyRj5jkQyuSdmX4LUJMTyRHIFhJeaBKBtKwIM2SSr eZgHmzS4K40v2K7wL+Gx8krA4V3FCIySaKfmkFubexp3zFiHU4R00fXM7kE+/tK1O7bb hKsQ== X-Gm-Message-State: AOJu0YwPn3Fy2rLU144VNMkT93w13XJapkfJY2Ho7Bte1qfDamC4yCsH NhGzYvv9b5NAWObUZN+ywjWm3AqhSyUSQoBY7qbhwxBz4Sx6SLFPKjLpK2C8mLZjJrFLohd71Sm HWRZnJXdLthoXRbkEnQ24HYjudlP6oNiwpri1EiocQsr/OKfoLDuxHsh0oobMPcChsJNj42dojQ FKmkgfdomNMozq1J7eySxmYN6YxhEiR8umBltuXA== X-Gm-Gg: ASbGncs6HDHv36HMGuu9mQcfAkgNpy28p9b7GbjAK2UsLE80+cYOGaZCKdsVUfGlThM s2RD3FdfJqFXLqqpOZXIDl7H2t9wfeGstc5Sa6bqp5+wVM63DXL4TxRwFxtANeCXOGXn/JpxNDz amNdyUYckKUFntP/dDMOW4lW+p53jq2OOXvD4dY56eGtOyRFOnfQc+02ewIzvxA8DT16UGuCGFR PWA2Q829X78av0dCwKWyMbZq5Yef83nzsBAhpgmZhgjfQGN64EEb/psiAAh9OTJc3AW5gXhCqPb 11NAvOOFLmQxmaSbYscDPkdUpaE= X-Received: by 2002:a05:600c:218f:b0:434:fec5:4ed1 with SMTP id 5b1f17b1804b1-43924acc826mr41113905e9.26.1738954031464; Fri, 07 Feb 2025 10:47:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IH65R0PwWoHgD1L5+V8lB2eLSjgNVDoRP3p73GTczY+hTAkvhQ3yWwVM3l2cKik3kwUfdwOoA== X-Received: by 2002:a05:600c:218f:b0:434:fec5:4ed1 with SMTP id 5b1f17b1804b1-43924acc826mr41113665e9.26.1738954030831; Fri, 07 Feb 2025 10:47:10 -0800 (PST) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4391dfc8881sm62133215e9.28.2025.02.07.10.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2025 10:47:10 -0800 (PST) Received: by localhost (Postfix, from userid 1000) id 5AD6C5077C4C; Fri, 7 Feb 2025 19:47:09 +0100 (CET) From: Dodji Seketeli To: libabigail@sourceware.org Subject: [PATCH applied] configure: Disable abidb on python version < 3.9 Organization: Red Hat / France X-Operating-System: AlmaLinux 9.5 X-URL: http://www.redhat.com Date: Fri, 07 Feb 2025 19:47:09 +0100 Message-ID: <878qqhiocy.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: O9wpQ2GT-Eg0jqQMqqlAGgLhv0P4kC1w8GC4PrIt9l8_1738954032 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org Hello, When running on EL8, I am seeing a number of issues in the abidb-related tests. As I haven't tested abidb on EL8, I am disabling it on those systems for now. * configure.ac: Disable abidb on systems that have python version less than 3.9. Signed-off-by: Dodji Seketeli Applied to the mainline --- configure.ac | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fdc4884e..ce18ab63 100644 --- a/configure.ac +++ b/configure.ac @@ -890,7 +890,18 @@ if test x$PYTHON3_INTERPRETER != xno -a x$ENABLE_ABIDB != xno; then [FOUND_ALL_PYTHON_MODULES=yes], [FOUND_ALL_PYTHON_MODULES=no]) - if test x$FOUND_ALL_PYTHON_MODULES = xno; then + $PYTHON3_INTERPRETER -c "import sys; sys.exit(0 if sys.version_info >= (3, 9) else 1)" + if test $? -ne 0; then + AC_MSG_NOTICE([Python 3 version 3.9 or higher is required for abidb]) + AC_MSG_WARN([disabling abidb as a result]) + ENABLE_ABIDB=no + else + AC_MSG_NOTICE([Found Python 3 version at 3.9 or higher. Great for abidb!]) + fi + + if test x$ENABLE_ABIDB = xno; then + pass + elif test x$ENABLE_ABIDB != xno -a x$FOUND_ALL_PYTHON_MODULES = xno; then AC_MSG_NOTICE([missing python modules: $MISSING_PYTHON_MODULES]) AC_MSG_WARN([disabling abidb as a result]) ENABLE_ABIDB=no