From unknown Fri Sep 12 22:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38454] [PATCH] gnu: lapack: Update to 3.9.0. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2019 08:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38454@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15752740382491 (code B ref -1); Mon, 02 Dec 2019 08:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2019 08:07:18 +0000 Received: from localhost ([127.0.0.1]:37008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibgjm-0000e7-9F for submit@debbugs.gnu.org; Mon, 02 Dec 2019 03:07:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:35968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibgjk-0000dz-Uf for submit@debbugs.gnu.org; Mon, 02 Dec 2019 03:07:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42007) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibgjf-0003Sq-Jg for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibgje-0005rS-9q for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:11 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40621) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibgjd-0005mM-Sc for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:10 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3094522436; Mon, 2 Dec 2019 03:07:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 02 Dec 2019 03:07:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=KLHkHnbfIM4ralTZB540C+SN7DyWr4ZscZQVqL9Illw=; b=LZ3qn2Jd VihOZY09QhaeVvHZ+hCQaonAePvLGSsczVKpOZqM0c128W5Cl4bVuELtjiRG0S3i edsPk3SlQy2w9Omz3IL0Dw+TINi98DA2rlHu3IuYivhaW3afcdeoJCok8LOAU/pt P91hBfKd+Lc6FsLFC9mfaua4PYzkLjD+Ne2D7nG2ZOPAOUu5D9TceacpEqFj12Gl V4MQk0Cq3I1WQQAEs9CH2qp0t2oC5nPFnh49xyIlMQIZ9QNPkvpzKOPqaBGH0fnO PsiU9IAyvkHkE7evcQJQh72I5sLj6HIvghe3i0MiO/2HyCPgRWUICdjfWJnYvTsU uErJKjMaDaRUww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=KLHkHnbfIM4ralTZB540C+SN7DyWr 4ZscZQVqL9Illw=; b=ejd/Po97d7SFQCFYtxZCCyI/LLZxT+UIs6gFMVYvfWNmC hbQvhbhUpWoriul6HOmFlOUmTbDxqppG2tdDfYE4/p4LxHdFC/AtRLCxIxOhmv/5 RyCoP7e93Map8T++qTowsk4foVkhuz9gjiRVV49zilgj3wx7pK3yZo4H1tOtCJ2I Xevs+j/bxmIP8fDlVQSt6D5kPH9IPXmIQFb3U9DU/wqB3WNeKoB9iH0v6Q4GCsu8 MdbiGivoDRsXbYmE1MJ0FtpOKvtiXZcw1TZ+eoNDLixZcC4iXqdcbUbL/lrG/a4k Ikxb9xiUJNt/8TQZfcw9wkn2jMWSV7/rbAv8Bj1+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejgedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhs vghnsehfrghsthhmrghilhdrnhgvtheqnecuffhomhgrihhnpehnvghtlhhisgdrohhrgh enucfkphepledvrdduieelrdejrddutddunecurfgrrhgrmhepmhgrihhlfhhrohhmpehk ohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvthenucevlhhushhtvghruf hiiigvpedt X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-1-4320-101.w92-169.abo.wanadoo.fr [92.169.7.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E80780059; Mon, 2 Dec 2019 03:07:07 -0500 (EST) From: Konrad Hinsen Date: Thu, 28 Nov 2019 22:11:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/maths.scm (lapack): Update to 3.9.0. --- gnu/packages/maths.scm | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 16e070eeff..de45bdfed3 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -544,7 +544,7 @@ large scale eigenvalue problems.") (define-public lapack (package (name "lapack") - (version "3.7.1") + (version "3.9.0") (source (origin (method url-fetch) @@ -552,26 +552,18 @@ large scale eigenvalue problems.") version ".tgz")) (sha256 (base32 - "1j51r7n5w4k7r3lrvy7710xrpkg40wf4rqnmngfz6ck9ypckzign")))) + "1155qixp26c12yrxc76z9mlfw2h3xxymxxv5znpgzh5gaykpndgj")))) (build-system cmake-build-system) (home-page "http://www.netlib.org/lapack/") (inputs `(("fortran" ,gfortran) - ("python" ,python-2))) + ("python" ,python-wrapper))) (arguments `(#:configure-flags (list "-DBUILD_SHARED_LIBS:BOOL=YES" "-DLAPACKE=ON" - ;; Build the 'LAPACKE_clatms' functions. - "-DLAPACKE_WITH_TMG=ON") - #:phases - (modify-phases %standard-phases - (add-before 'check 'patch-python - (lambda* (#:key inputs #:allow-other-keys) - (let ((python (assoc-ref inputs "python"))) - (substitute* "lapack_testing.py" - (("/usr/bin/env python") python))) - #t))))) + "-DLAPACKE_WITH_TMG=ON" + "-DBUILD_TESTING=ON"))) (synopsis "Library for numerical linear algebra") (description "LAPACK is a Fortran 90 library for solving the most commonly occurring -- 2.24.0 From unknown Fri Sep 12 22:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38454] [PATCH] gnu: lapack: Update to 3.9.0. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2019 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Konrad Hinsen Cc: 38454@debbugs.gnu.org Received: via spool by 38454-submit@debbugs.gnu.org id=B38454.157591270410437 (code B ref 38454); Mon, 09 Dec 2019 17:32:01 +0000 Received: (at 38454) by debbugs.gnu.org; 9 Dec 2019 17:31:44 +0000 Received: from localhost ([127.0.0.1]:54397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieMsp-0002hh-RW for submit@debbugs.gnu.org; Mon, 09 Dec 2019 12:31:44 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:5823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieMsn-0002bL-8u for 38454@debbugs.gnu.org; Mon, 09 Dec 2019 12:31:41 -0500 X-IronPort-AV: E=Sophos;i="5.69,296,1571695200"; d="scan'208";a="332591691" Received: from unknown (HELO ribbon) ([193.50.110.232]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 09 Dec 2019 18:31:34 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 09 Dec 2019 18:31:34 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 28 Nov 2019 22:11:55 +0100") Message-ID: <87blshbe2x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Konrad, Konrad Hinsen skribis: > * gnu/packages/maths.scm (lapack): Update to 3.9.0. Unfortunately this fails to build on armhf-linux (tested via qemu-binfmt): --8<---------------cut here---------------start------------->8--- starting phase `configure' source directory: "/tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0" (relati= ve from build: "../lapack-3.9.0") build directory: "/tmp/guix-build-lapack-3.9.0.drv-0/build" running 'cmake' with arguments ("../lapack-3.9.0" "-DCMAKE_BUILD_TYPE=3DRel= WithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/ynakjwrsq06j7q75ysqfrmhp8= mhhdxrb-lapack-3.9.0" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH= _USE_LINK_PATH=3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/ynakjwrsq06j7q75= ysqfrmhp8mhhdxrb-lapack-3.9.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DBUILD= _SHARED_LIBS:BOOL=3DYES" "-DLAPACKE=3DON" "-DLAPACKE_WITH_TMG=3DON" "-DBUIL= D_TESTING=3DON") -- The Fortran compiler identification is unknown CMake Error at /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.= 15.1/share/cmake-3.15/Modules/CMakeCompilerIdDetection.cmake:26 (list): list sub-command REMOVE_ITEM requires two or more arguments. Call Stack (most recent call first): /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/cm= ake-3.15/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/cm= ake-3.15/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPIL= ER_ID_WRITE) /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/cm= ake-3.15/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILE= R_ID_BUILD) /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/cm= ake-3.15/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILE= R_ID) CMakeLists.txt:3 (project) [=E2=80=A6 repeated several times=E2=80=A6] -- The C compiler identification is unknown -- Check for working Fortran compiler: /gnu/store/91iyya22d6s055iwlwja3vvlp= c4i8sih-gfortran-7.4.0/bin/gfortran -- Check for working Fortran compiler: /gnu/store/91iyya22d6s055iwlwja3vvlp= c4i8sih-gfortran-7.4.0/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /gnu/store/91iyya22d6s055iwlwja3vvlpc4i8sih-gfortran-7.= 4.0/bin/gfortran supports Fortran 90 -- Checking whether /gnu/store/91iyya22d6s055iwlwja3vvlpc4i8sih-gfortran-7.= 4.0/bin/gfortran supports Fortran 90 -- yes -- Check for working C compiler: /gnu/store/pkx3kcvj1mbkkgzxi1w57c1vfvhwzxh= 7-gcc-7.4.0/bin/gcc -- Check for working C compiler: /gnu/store/pkx3kcvj1mbkkgzxi1w57c1vfvhwzxh= 7-gcc-7.4.0/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Checking if build type is 'Coverage' -- Checking if build type is 'Coverage': 0 -- Build tests: ON -- Looking for Python >=3D 2.7 needed for summary tests -- Looking for Python >=3D 2.7 needed for summary tests - found (3.7.4) -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing functio= n. -- Build deprecated routines: OFF -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Using supplied NETLIB BLAS implementation -- Using supplied NETLIB LAPACK implementation -- Running Summary -- LAPACKE enable -- Detecting Fortran/C Interface -- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling -- Verifying Fortran/C Compiler Compatibility -- Verifying Fortran/C Compiler Compatibility - Success -- Build LAPACKE single precision real: ON -- Build LAPACKE double precision real: ON -- Build LAPACKE single precision complex: ON -- Build LAPACKE double precision complex: ON -- Configuring incomplete, errors occurred! See also "/tmp/guix-build-lapack-3.9.0.drv-0/build/CMakeFiles/CMakeOutput.l= og". See also "/tmp/guix-build-lapack-3.9.0.drv-0/build/CMakeFiles/CMakeError.lo= g". command "cmake" "../lapack-3.9.0" "-DCMAKE_BUILD_TYPE=3DRelWithDebInfo" "-D= CMAKE_INSTALL_PREFIX=3D/gnu/store/ynakjwrsq06j7q75ysqfrmhp8mhhdxrb-lapack-3= .9.0" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH= =3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/ynakjwrsq06j7q75ysqfrmhp8mhhdx= rb-lapack-3.9.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DBUILD_SHARED_LIBS:B= OOL=3DYES" "-DLAPACKE=3DON" "-DLAPACKE_WITH_TMG=3DON" "-DBUILD_TESTING=3DON= " failed with status 1 builder for `/gnu/store/hib5k6rq3kdgd0gf6rnfpj9v9d31xfv7-lapack-3.9.0.drv' = failed with exit code 1 @ build-failed /gnu/store/hib5k6rq3kdgd0gf6rnfpj9v9d31xfv7-lapack-3.9.0.drv= - 1 builder for `/gnu/store/hib5k6rq3kdgd0gf6rnfpj9v9d31xfv7-lapack-3.9.0.= drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- Could you check if the intertubes have fixes for that? :-) Thanks! Ludo=E2=80=99. From unknown Fri Sep 12 22:55:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38454] [PATCH] gnu: lapack: Update to 3.9.0. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Dec 2019 17:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38454@debbugs.gnu.org Received: via spool by 38454-submit@debbugs.gnu.org id=B38454.15759972383409 (code B ref 38454); Tue, 10 Dec 2019 17:01:01 +0000 Received: (at 38454) by debbugs.gnu.org; 10 Dec 2019 17:00:38 +0000 Received: from localhost ([127.0.0.1]:56502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieisI-0000sv-0G for submit@debbugs.gnu.org; Tue, 10 Dec 2019 12:00:38 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieisG-0000si-EV for 38454@debbugs.gnu.org; Tue, 10 Dec 2019 12:00:37 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BBFB422270; Tue, 10 Dec 2019 12:00:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 10 Dec 2019 12:00:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=qqvPqW0m4ZM05Monn/D/gBV9Jn w47csaPtlQ4y9Kg6I=; b=jBOaADHKfrcqrP46gjXM5fLqBSLJI1zAoy9oqpF+8F Ke4VAGLbl5jdGfHdArHeozoUPCVi1J9CvpjX6V8v7i4HcJu6B6Y8xF43WUii4Mab PIu9Qp61VI9fZlAAsDPB6wcMd3QiNQif9RV/axfaH2dngtOMJNcKs0CfwASZNrDF NMuNOBCvsFw/RL/fzAU23wDHx91eIZG36/pceCv0Iwy0FL8SE4oQDJkB8FG9uGi9 jf+Na9yKNyYhUAa9vjmIPeVhllbh4KgIqnaJAwt32p+nEBellezSQnh4WaBKfpJT fwysjrfGWOTS+hAuDJTZBItr5mPKnW9V6XvozRibOvYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qqvPqW 0m4ZM05Monn/D/gBV9Jnw47csaPtlQ4y9Kg6I=; b=mKBlnZlVmFyNxTygiQ0akn bXh4OLRvXu0Yw4ANE/aGafQJieCze1kzYNuamZdEN6rXNQ4Gg9RNKhqwLcrp3Bt+ Fljvxs6ZQrK0G0GQKs7tebfaT8CVM1j3soaL5K8qebjiRxUvX/rS+dMYoe65gjiT xzWTulMYqhOA/IsVrPPbh4HQLQ8ySaFi5yuJI7fkdyqLrRxLfDHT3U1MMmWNAMnf DFbMOWFGK6ag+AkLE+Y3c0X5QCPKsxDe1uLvI77+edA9iwFjzTCrY9NWpEZjt35+ Mp4ZNX7gf01SvfgXk8osKxZWaXyIok+jjxwZRd3mhEW6p63jrMN21aVGw1SSU+4g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelfedgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrggu ucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth eqnecukfhppeekiedrvdegjedrudeigedrvdegheenucfrrghrrghmpehmrghilhhfrhho mhepkhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvghtnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-idf2-1-714-245.w86-247.abo.wanadoo.fr [86.247.164.245]) by mail.messagingengine.com (Postfix) with ESMTPA id B443B3060134; Tue, 10 Dec 2019 12:00:29 -0500 (EST) From: Konrad Hinsen In-Reply-To: <87blshbe2x.fsf@gnu.org> References: <87blshbe2x.fsf@gnu.org> Date: Tue, 10 Dec 2019 18:00:28 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Ludo, > Unfortunately this fails to build on armhf-linux (tested via > qemu-binfmt): ... > Could you check if the intertubes have fixes for that? :-) I didn't find anything. As far as I can tell from the error message, this bug is not related to LAPACK, but to the interplay of CMake and gfortran. More precisely, CMake cannot figure out that the Fortran compiler being used is gfortran, because some file required for doing the check is not in the right place. The best person to investigate this would be a CMake expert. What I don't understand is why the current version of LAPACK doesn't suffer from the same problem! Cheers, Konrad. From unknown Fri Sep 12 22:55:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Konrad Hinsen Subject: bug#38454: closed (Re: [bug#38454] [PATCH] gnu: lapack: Update to 3.9.0.) Message-ID: References: <871rsblg9v.fsf@gnu.org> X-Gnu-PR-Message: they-closed 38454 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38454@debbugs.gnu.org Date: Tue, 07 Jan 2020 10:21:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1578392463-23741-1" This is a multi-part message in MIME format... ------------=_1578392463-23741-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38454: [PATCH] gnu: lapack: Update to 3.9.0. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38454@debbugs.gnu.org. --=20 38454: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38454 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1578392463-23741-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38454-done) by debbugs.gnu.org; 7 Jan 2020 10:20:27 +0000 Received: from localhost ([127.0.0.1]:47314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iolyM-00068a-Tq for submit@debbugs.gnu.org; Tue, 07 Jan 2020 05:20:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iolyL-00068L-8F for 38454-done@debbugs.gnu.org; Tue, 07 Jan 2020 05:20:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iolyF-0002n4-L5; Tue, 07 Jan 2020 05:20:19 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48946 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iolyD-0007p4-7J; Tue, 07 Jan 2020 05:20:19 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Konrad Hinsen Subject: Re: [bug#38454] [PATCH] gnu: lapack: Update to 3.9.0. References: <87blshbe2x.fsf@gnu.org> Date: Tue, 07 Jan 2020 11:20:12 +0100 In-Reply-To: <87blshbe2x.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 09 Dec 2019 18:31:34 +0100") Message-ID: <871rsblg9v.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38454-done Cc: Danny Milosavljevic , Mathieu Othacehe , 38454-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Konrad, (Mathieu, Danny: see below for qemu-binfmt concerns. :-)) Ludovic Court=C3=A8s skribis: > Konrad Hinsen skribis: > >> * gnu/packages/maths.scm (lapack): Update to 3.9.0. > > Unfortunately this fails to build on armhf-linux (tested via > qemu-binfmt): > > starting phase `configure' > source directory: "/tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0" (rela= tive from build: "../lapack-3.9.0") > build directory: "/tmp/guix-build-lapack-3.9.0.drv-0/build" > running 'cmake' with arguments ("../lapack-3.9.0" "-DCMAKE_BUILD_TYPE=3DR= elWithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/ynakjwrsq06j7q75ysqfrmh= p8mhhdxrb-lapack-3.9.0" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPA= TH_USE_LINK_PATH=3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/ynakjwrsq06j7q= 75ysqfrmhp8mhhdxrb-lapack-3.9.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DBUI= LD_SHARED_LIBS:BOOL=3DYES" "-DLAPACKE=3DON" "-DLAPACKE_WITH_TMG=3DON" "-DBU= ILD_TESTING=3DON") > -- The Fortran compiler identification is unknown > CMake Error at /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-= 3.15.1/share/cmake-3.15/Modules/CMakeCompilerIdDetection.cmake:26 (list): > list sub-command REMOVE_ITEM requires two or more arguments. > Call Stack (most recent call first): > /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/= cmake-3.15/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detectio= n) > /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/= cmake-3.15/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMP= ILER_ID_WRITE) > /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/= cmake-3.15/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPI= LER_ID_BUILD) > /gnu/store/lxj8wisj7ylwc67x1rshiw24fb5digx5-cmake-minimal-3.15.1/share/= cmake-3.15/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPI= LER_ID) > CMakeLists.txt:3 (project) > > [=E2=80=A6 repeated several times=E2=80=A6] This turned out to be a side effect of building through qemu-binfmt; building on real hardware succeeds. So, patch committed, at last=E2=80=94s= orry for the delay! --8<---------------cut here---------------start------------->8--- starting phase `configure' source directory: "/tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0" (relati= ve from build: "../lapack-3.9.0") build directory: "/tmp/guix-build-lapack-3.9.0.drv-0/build" running 'cmake' with arguments ("../lapack-3.9.0" "-DCMAKE_BUILD_TYPE=3DRel= WithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/stor e/ynakjwrsq06j7q75ysqfrmhp8mhhdxrb-lapack-3.9.0" "-DCMAKE_INSTALL_LIBDIR=3D= lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=3DTRUE " "-DCMAKE_INSTALL_RPATH=3D/gnu/store/ynakjwrsq06j7q75ysqfrmhp8mhhdxrb-lapa= ck-3.9.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "- DBUILD_SHARED_LIBS:BOOL=3DYES" "-DLAPACKE=3DON" "-DLAPACKE_WITH_TMG=3DON" "= -DBUILD_TESTING=3DON") -- The Fortran compiler identification is GNU 7.4.0 -- The C compiler identification is GNU 7.4.0 -- Check for working Fortran compiler: /gnu/store/91iyya22d6s055iwlwja3vvlp= c4i8sih-gfortran-7.4.0/bin/gfortran -- Check for working Fortran compiler: /gnu/store/91iyya22d6s055iwlwja3vvlp= c4i8sih-gfortran-7.4.0/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /gnu/store/91iyya22d6s055iwlwja3vvlpc4i8sih-gfortran-7.= 4.0/bin/gfortran supports Fortran 90 -- Checking whether /gnu/store/91iyya22d6s055iwlwja3vvlpc4i8sih-gfortran-7.= 4.0/bin/gfortran supports Fortran 90 -- yes -- Check for working C compiler: /gnu/store/pkx3kcvj1mbkkgzxi1w57c1vfvhwzxh= 7-gcc-7.4.0/bin/gcc -- Check for working C compiler: /gnu/store/pkx3kcvj1mbkkgzxi1w57c1vfvhwzxh= 7-gcc-7.4.0/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done --8<---------------cut here---------------end--------------->8--- So, what=E2=80=99s going on under qemu-binfmt? When doing a qemu-binfmt build, =E2=80=98CMakeOutput.log=E2=80=99 contains = several instances of: --8<---------------cut here---------------start------------->8--- The system is: Linux - 5.4.8-gnu - armv7l Compiling the Fortran compiler identification source file "CMakeFortranComp= ilerId.F" succeeded. Compiler: /gnu/store/91iyya22d6s055iwlwja3vvlpc4i8sih-gfortran-7.4.0/bin/gf= ortran=20 Build flags:=20 Id flags: -v=20 --8<---------------cut here---------------end--------------->8--- Yet =E2=80=98CMakeError.log=E2=80=99 reads: --8<---------------cut here---------------start------------->8--- Compilation of the Fortran compiler identification source "CMakeFortranComp= ilerId.F" did not produce an executable in "/tmp/guix-build-lapack-3.9.0.dr= v-0/build/CMakeFiles/3.15.1/CompilerIdFortran". --8<---------------cut here---------------end--------------->8--- I do see an =E2=80=98a.out=E2=80=99 file in there, though. The code for that is in =E2=80=98CMakeDetermineCompilerId.cmake=E2=80=99: --8<---------------cut here---------------start------------->8--- # Find the executable produced by the compiler, try all files in the # binary dir. string(REGEX REPLACE "([][])" "[\\1]" _glob_id_dir "${CMAKE_${lang}_COM= PILER_ID_DIR}") file(GLOB files RELATIVE ${CMAKE_${lang}_COMPILER_ID_DIR} # normal case ${_glob_id_dir}/* # com.apple.package-type.bundle.unit-test ${_glob_id_dir}/*.xctest/* # com.apple.product-type.framework ${_glob_id_dir}/*.framework/* ) list(REMOVE_ITEM files "${src}") set(COMPILER_${lang}_PRODUCED_FILES "") foreach(file ${files}) if(NOT IS_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}/${file}) list(APPEND COMPILER_${lang}_PRODUCED_FILES ${file}) file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput= .log "Compilation of the ${lang} compiler identification source \"" "${src}\" produced \"${file}\"\n\n") endif() endforeach() if(NOT COMPILER_${lang}_PRODUCED_FILES) # No executable was found. file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log "Compilation of the ${lang} compiler identification source \"" "${src}\" did not produce an executable in \"" "${CMAKE_${lang}_COMPILER_ID_DIR}\".\n\n") endif() --8<---------------cut here---------------end--------------->8--- Why would that fail? Mystery=E2=80=A6 There=E2=80=99s some code in CMake that looks at /proc/cpuinfo, so that cou= ld somehow make the wrong decision, but I don=E2=80=99t see how. Also, why wo= uld it affect emulation of ARMv7 but not emulation of AArch64, as seems to be the case? Ideas, people? Thanks, Ludo=E2=80=99. ------------=_1578392463-23741-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Dec 2019 08:07:18 +0000 Received: from localhost ([127.0.0.1]:37008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibgjm-0000e7-9F for submit@debbugs.gnu.org; Mon, 02 Dec 2019 03:07:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:35968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibgjk-0000dz-Uf for submit@debbugs.gnu.org; Mon, 02 Dec 2019 03:07:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42007) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibgjf-0003Sq-Jg for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibgje-0005rS-9q for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:11 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40621) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibgjd-0005mM-Sc for guix-patches@gnu.org; Mon, 02 Dec 2019 03:07:10 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3094522436; Mon, 2 Dec 2019 03:07:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 02 Dec 2019 03:07:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=KLHkHnbfIM4ralTZB540C+SN7DyWr4ZscZQVqL9Illw=; b=LZ3qn2Jd VihOZY09QhaeVvHZ+hCQaonAePvLGSsczVKpOZqM0c128W5Cl4bVuELtjiRG0S3i edsPk3SlQy2w9Omz3IL0Dw+TINi98DA2rlHu3IuYivhaW3afcdeoJCok8LOAU/pt P91hBfKd+Lc6FsLFC9mfaua4PYzkLjD+Ne2D7nG2ZOPAOUu5D9TceacpEqFj12Gl V4MQk0Cq3I1WQQAEs9CH2qp0t2oC5nPFnh49xyIlMQIZ9QNPkvpzKOPqaBGH0fnO PsiU9IAyvkHkE7evcQJQh72I5sLj6HIvghe3i0MiO/2HyCPgRWUICdjfWJnYvTsU uErJKjMaDaRUww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=KLHkHnbfIM4ralTZB540C+SN7DyWr 4ZscZQVqL9Illw=; b=ejd/Po97d7SFQCFYtxZCCyI/LLZxT+UIs6gFMVYvfWNmC hbQvhbhUpWoriul6HOmFlOUmTbDxqppG2tdDfYE4/p4LxHdFC/AtRLCxIxOhmv/5 RyCoP7e93Map8T++qTowsk4foVkhuz9gjiRVV49zilgj3wx7pK3yZo4H1tOtCJ2I Xevs+j/bxmIP8fDlVQSt6D5kPH9IPXmIQFb3U9DU/wqB3WNeKoB9iH0v6Q4GCsu8 MdbiGivoDRsXbYmE1MJ0FtpOKvtiXZcw1TZ+eoNDLixZcC4iXqdcbUbL/lrG/a4k Ikxb9xiUJNt/8TQZfcw9wkn2jMWSV7/rbAv8Bj1+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejgedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhs vghnsehfrghsthhmrghilhdrnhgvtheqnecuffhomhgrihhnpehnvghtlhhisgdrohhrgh enucfkphepledvrdduieelrdejrddutddunecurfgrrhgrmhepmhgrihhlfhhrohhmpehk ohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvthenucevlhhushhtvghruf hiiigvpedt X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-1-4320-101.w92-169.abo.wanadoo.fr [92.169.7.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E80780059; Mon, 2 Dec 2019 03:07:07 -0500 (EST) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH] gnu: lapack: Update to 3.9.0. Date: Thu, 28 Nov 2019 22:11:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/maths.scm (lapack): Update to 3.9.0. --- gnu/packages/maths.scm | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 16e070eeff..de45bdfed3 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -544,7 +544,7 @@ large scale eigenvalue problems.") (define-public lapack (package (name "lapack") - (version "3.7.1") + (version "3.9.0") (source (origin (method url-fetch) @@ -552,26 +552,18 @@ large scale eigenvalue problems.") version ".tgz")) (sha256 (base32 - "1j51r7n5w4k7r3lrvy7710xrpkg40wf4rqnmngfz6ck9ypckzign")))) + "1155qixp26c12yrxc76z9mlfw2h3xxymxxv5znpgzh5gaykpndgj")))) (build-system cmake-build-system) (home-page "http://www.netlib.org/lapack/") (inputs `(("fortran" ,gfortran) - ("python" ,python-2))) + ("python" ,python-wrapper))) (arguments `(#:configure-flags (list "-DBUILD_SHARED_LIBS:BOOL=YES" "-DLAPACKE=ON" - ;; Build the 'LAPACKE_clatms' functions. - "-DLAPACKE_WITH_TMG=ON") - #:phases - (modify-phases %standard-phases - (add-before 'check 'patch-python - (lambda* (#:key inputs #:allow-other-keys) - (let ((python (assoc-ref inputs "python"))) - (substitute* "lapack_testing.py" - (("/usr/bin/env python") python))) - #t))))) + "-DLAPACKE_WITH_TMG=ON" + "-DBUILD_TESTING=ON"))) (synopsis "Library for numerical linear algebra") (description "LAPACK is a Fortran 90 library for solving the most commonly occurring -- 2.24.0 ------------=_1578392463-23741-1--