From patchwork Mon Jul 15 12:22:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre PAYEN X-Patchwork-Id: 1131957 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="wTRLarxU"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45nN2S0ScCz9sND for ; Mon, 15 Jul 2019 22:22:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 404D485D4C; Mon, 15 Jul 2019 12:22:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id azAGNpifrDMz; Mon, 15 Jul 2019 12:22:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9DFFF85478; Mon, 15 Jul 2019 12:22:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 692381BF3DF for ; Mon, 15 Jul 2019 12:22:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 660C985478 for ; Mon, 15 Jul 2019 12:22:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPPvDubOTmXr for ; Mon, 15 Jul 2019 12:22:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id EDA8A841C9 for ; Mon, 15 Jul 2019 12:22:17 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id h19so14192782wme.0 for ; Mon, 15 Jul 2019 05:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3ZZhC4tiaRfqWntu+GhyUe4k2LPJsLdaqKHoEGuO51A=; b=wTRLarxUWJtKfpvPiRLEKBogSNgE0PuxgSVhzgkuq0BMTVUpvf9RmdY6by4Lkr9Awt qiHw47tg33/Rasm2o3Cg8MU0HwKkiU/eoXvowUU51r/kUNZwo25bYLLJGzFRb1pxc5aY aCUn6sU2bC5VCW8+mAzP4ClM5BDhEOH6oKhNAJyybQ4whi4c2r2Mt829AH2ci5DxNK9W npcKXg4/huYSbn3fz1tN+peD1ND9gxh+rQbeZVim4mVKhV5YPo26sQxbumieEOYarWrp BjC9YK+oqH3/HLFem1cY9zme325cMrK894YPPjsZg+gRy57WwR/3jKKZ70j7iCsDM/ki wE0g== 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=3ZZhC4tiaRfqWntu+GhyUe4k2LPJsLdaqKHoEGuO51A=; b=cHJvb0NYVX9kuBJxFLuSTGQ746pP2vc9bySpW+AdKyZEVCP9hd2E5tvJeDzr+rZf2V 4re1KercbERoOheVeG1yV+XdamjVLj1BhotDlrQQAbtEDqDIzS7V83CZ9MN1boreM9zz SPdlJhBiu4FYKpeFyHSIkShy2VGu5bQOCGaNrlJ2g9bw5eaE9PJmPwoTGPSrQH/8ukKh ihvfvVc97GTjjaPJ91pQJ5sJ2X2CEmpi9dcfQu0OlZop+mAPhecuZK+OvNw4cpE7yM71 FisSJ9CbpLDOS8mh0pFrHDMgNna/hFHWTaQ9toI/7sFbe8iyCguE8yvMYQkn/aDEmEU5 pMEQ== X-Gm-Message-State: APjAAAX9UjcXNK2uEB7cR4dNdN8nbi02BsrC8r5no24i3o9R931b/hVS 2MSg5Ns/eATGqhQpNlIWI+nIz2FJ+kw= X-Google-Smtp-Source: APXvYqxVlr984WRZvXAYV10/R2JRqjmuZ5AUP+a7GK6MrrmBvzxpSuFvxDIrPvVflNY84CK9LhAoUg== X-Received: by 2002:a05:600c:20ca:: with SMTP id y10mr23755430wmm.72.1563193336387; Mon, 15 Jul 2019 05:22:16 -0700 (PDT) Received: from P-NAN-GEORGETOWN.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b15sm27515775wrt.77.2019.07.15.05.22.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 05:22:15 -0700 (PDT) From: Aalx To: buildroot@buildroot.org Date: Mon, 15 Jul 2019 14:22:13 +0200 Message-Id: <20190715122213.17034-1-alexandre.payen@smile.fr> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCHv5 1/3] package/python-numpy: fix occasional build and run-time failure with lapack X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre PAYEN , romain.naour@smile.fr Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Alexandre PAYEN python-numpy fail at run-time because `cblas` reference is missing in BR2_PYTHON_NUMPY_SITE_CFG_LIBS. So : - add cblas reference in BR2_PYTHON_NUMPY_SITE_CFG_LIBS when BR2_PACKAGE_CLAPACK = y Fixes: http://autobuild.buildroot.net/results/50f/50f7f09a9f830cd7b94f8fc83c09fc3d39297d3d/ http://lists.busybox.net/pipermail/buildroot/2019-June/252380.html Initial patch from Giulio Benetti : [v1] http://patchwork.ozlabs.org/patch/1100100/ [v2] http://patchwork.ozlabs.org/patch/1100208/ Signed-off-by: Giulio Benetti Signed-off-by: Alexandre PAYEN --- package/python-numpy/python-numpy.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-numpy/python-numpy.mk b/package/python-numpy/python-numpy.mk index 5d2fbfc7ad..b90ff7d70f 100644 --- a/package/python-numpy/python-numpy.mk +++ b/package/python-numpy/python-numpy.mk @@ -17,7 +17,7 @@ PYTHON_NUMPY_SETUP_TYPE = setuptools ifeq ($(BR2_PACKAGE_CLAPACK),y) PYTHON_NUMPY_DEPENDENCIES += clapack -PYTHON_NUMPY_SITE_CFG_LIBS += blas lapack +PYTHON_NUMPY_SITE_CFG_LIBS += cblas clapack else PYTHON_NUMPY_ENV += BLAS=None LAPACK=None endif