From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GOUJOpXKYGWzPQAAauVa8A:P1 (envelope-from ) for ; Fri, 24 Nov 2023 17:08:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GOUJOpXKYGWzPQAAauVa8A (envelope-from ) for ; Fri, 24 Nov 2023 17:08:54 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8BF3F55762 for ; Fri, 24 Nov 2023 17:08:53 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=A0dTu1UP; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700842133; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=zPR8C5iKJFFv7a/TPbO5B+qYA0Hy+9JIYY1iqv83r2A=; b=p846ebdtTU+Q06KVZeR+HY12nYLWRwEXJcgPjwS3bDT+o7G5w15x4WX4A54QwmZk9j9/OF 1bnWrgqUkA+lQdkAay9+44WZyTmpvUAYub0TE9R55OHDwJJuLvSZKWs6U/vFCecMH0yUa1 VdBfngspJtR4RB4jY35bieT2XYt4cCkPb4kj7M4g2DS0Lo9E2MLet1mWOKYyKpEfaC/K5V ZV2pre6JQSR2xLgsdfwEtJtY/7sxO9ogdeNN+u0TKLrMA2SOf56Jx+HxjU3XBYszkTpOik uOjTzN8EbeXJ8617G40dswBfOWeXcGYGEuyYE32cFBUGp1oz0I9EL14WC9gkyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=A0dTu1UP; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700842133; a=rsa-sha256; cv=none; b=DcBfdCVsPPnJXVrKb7Q0gRrklQrnRyvUMzYfQo2cOKWswDbTn5Kmkl9S82vcOE6JLtT2DY cg/pqcPqyst0F5gCUv3FKbow6Y+wZY8NRpmYkD7eAXYuPKI8bymocRETcLbbBCCGpVEucA 09XRJlahr5gtlMoNblwJcRQn0Lo7AR+f+oX70aKNXHYRquX7pFe6Guo1qb86Y3LraM0xGZ yfdHNZO4t5rTPf6eQ0owcAuoYpKjnOBKMvKnJIbX4M/zIfsAWYOWOdAxbsTOT3Co9tRAg9 bTQU4iD025OnaYqbHpd2+Dw0K/rWttxG/rOiz9g/jlMTfMfGP7bTtGApGptZ7g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6YjS-000512-NL; Fri, 24 Nov 2023 11:08:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6Hjr-0006kt-4l for bug-guix@gnu.org; Thu, 23 Nov 2023 17:00:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6Hjq-0007qB-OD for bug-guix@gnu.org; Thu, 23 Nov 2023 16:59:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6Hju-0001qu-Av for bug-guix@gnu.org; Thu, 23 Nov 2023 17:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67416: Error when installing package, CMAKE_Fortran_COMPILER could be found Resent-From: Pierre Clouzet Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Nov 2023 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67416 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67416@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17007767877049 (code B ref -1); Thu, 23 Nov 2023 22:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2023 21:59:47 +0000 Received: from localhost ([127.0.0.1]:35276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Hjd-0001pa-Q9 for submit@debbugs.gnu.org; Thu, 23 Nov 2023 16:59:47 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6CSP-0004Mu-KB for submit@debbugs.gnu.org; Thu, 23 Nov 2023 11:21:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6CSF-00070u-6B for bug-guix@gnu.org; Thu, 23 Nov 2023 11:21:27 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6CSC-0002ow-91 for bug-guix@gnu.org; Thu, 23 Nov 2023 11:21:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:message-id:subject:mime-version; bh=zPR8C5iKJFFv7a/TPbO5B+qYA0Hy+9JIYY1iqv83r2A=; b=A0dTu1UPRqKmtNOukWsrcBuX4pFMLljYSZ5KQnBrb7ZcBgqkSZNzdayG 5xxfV7ODSUTJ4XKE0p6g42m7FkGAHDENGasCv5cvcYfV923vzj4Or5dtF fSYVx9ToYVpzkQIJNY3kSV/xaCUh0yd8ojjYjVctSspI47O/fv5G74hNv g=; Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of pierre.clouzet@inria.fr designates 128.93.142.30 as permitted sender) identity=mailfrom; client-ip=128.93.142.30; receiver=mail2-relais-roc.national.inria.fr; envelope-from="pierre.clouzet@inria.fr"; x-sender="pierre.clouzet@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@zcs-store3.inria.fr) identity=helo; client-ip=128.93.142.30; receiver=mail2-relais-roc.national.inria.fr; envelope-from="pierre.clouzet@inria.fr"; x-sender="postmaster@zcs-store3.inria.fr"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.04,222,1695679200"; d="scan'208,217";a="138173917" X-MGA-submission: MDEGteKDXmzTrpS6JWaOfyFILhoqRM8BTGapR5hQd4Y9XZMYT+Antvmug73aKscdaDIY8E1tKPRY5fyVdEDBMGfs9hCATC/BBFnLKX6tsj6CM/VVGdMPt10zLahBKTYRKN+w4fabpbjIW0p1HpV+xeMAhTJQCrZ70xqqTLhzah0xCg== Received: from zcs-store3.inria.fr ([128.93.142.30]) by mail2-relais-roc.national.inria.fr with ESMTP; 23 Nov 2023 17:21:20 +0100 Date: Thu, 23 Nov 2023 17:21:19 +0100 (CET) From: Pierre Clouzet Message-ID: <441964777.14793216.1700756479745.JavaMail.zimbra@inria.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_8273ed69-76b1-49ea-9ab5-e421508892c0" X-Originating-IP: [193.50.110.89] X-Mailer: Zimbra 8.8.15_GA_4562 (ZimbraWebClient - FF118 (Linux)/8.8.15_GA_4570) Thread-Index: GE8ktmKp56D2++9feozrw/ItNGOjlQ== Thread-Topic: Error when installing package, CMAKE_Fortran_COMPILER could be found Received-SPF: pass client-ip=192.134.164.83; envelope-from=pierre.clouzet@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 23 Nov 2023 16:59:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 24 Nov 2023 11:08:40 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.68 X-Spam-Score: 2.68 X-Migadu-Queue-Id: 8BF3F55762 X-Migadu-Scanner: mx13.migadu.com X-TUID: AWaOR5o6x5eJ --=_8273ed69-76b1-49ea-9ab5-e421508892c0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I'm trying to install a package with the command: guix package --install-from-file=gmsh-try.scm the gmsh-try.csm looks like this: (use-modules (guix packages) (guix download) (guix licenses) (guix build-system cmake)) (package (name "mygmsh") (version "3.0.6") (source (origin (method url-fetch) (uri (string-append "https://gmsh.info/src/gmsh-3.0.6-source.tgz")) (sha256 (base32 "0ywqhr0zmdhn8dvi6l8z1vkfycyv67fdrz6b95mb39np832bq04p")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DENABLE_BUILD_LIB=1" "-DCMAKE_INSTALL_PREFIX=/opt/nextsim_gnu/gmsh-3.0.6" "-DENABLE_MMG3D=FALSE"))) (synopsis "3D finite element grid generator") (description "Gmsh is a 3D finite element grid generator with a built-in CAD engine and post-processor. Its design goal is to provide a fast, light and user-friendly meshing tool with parametric input and advanced visualization capabilities. Gmsh is built around four modules: geometry, mesh, solver and post-processing. The specification of any input to these modules is done either interactively using the graphical user interface or in ASCII text files using Gmsh's own scripting language.") (home-page "http://gmsh.info//") (license gpl2+)) When at some point, cmake tests things, this is what I get: -- The CXX compiler identification is GNU 11.3.0 -- The C compiler identification is GNU 11.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- Found 64Bit -- Performing Test STDCXX11 -- Performing Test STDCXX11 - Success -- Found C++11 -- The Fortran compiler identification is unknown CMake Error at CMakeLists.txt:421 (enable_language): No CMAKE_Fortran_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. -- Configuring incomplete, errors occurred! See also "/tmp/guix-build-mygmsh-3.0.6.drv-0/build/CMakeFiles/CMakeOutput.log". See also "/tmp/guix-build-mygmsh-3.0.6.drv-0/build/CMakeFiles/CMakeError.log". error: in phase 'configure': uncaught exception: %exception #<&invoke-error program: "cmake" arguments: ("../gmsh-3.0.6-source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_BUILD_LIB=1" "-DCMAKE_INSTALL_PREFIX=/opt/nextsim_gnu/gmsh-3.0.6" "-DENABLE_MMG3D=FALSE") exit-status: 1 term-signal: #f stop-signal: #f> phase `configure' failed after 0.8 seconds command "cmake" "../gmsh-3.0.6-source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_BUILD_LIB=1" "-DCMAKE_INSTALL_PREFIX=/opt/nextsim_gnu/gmsh-3.0.6" "-DENABLE_MMG3D=FALSE" failed with status 1 It looks like cmake cant find fortran compiler. I'm very new to guix universe so I may have missed a step. Thanks in advance, Pierre --=_8273ed69-76b1-49ea-9ab5-e421508892c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,
= I'm trying to install a package with the command:
<= /div>

guix package --install-from-f= ile=3Dgmsh-try.scm

the gmsh-try.csm = looks like this:

(use-modules (guix packages)
     =         (guix download)
  &= nbsp;          (guix licenses)=
            = ; (guix build-system cmake))
(package
  (name "mygmsh")
 = ; (version "3.0.6")
  (source (origin
    &n= bsp;       (method url-fetch)
  =           (uri (string-append = "https://gmsh.info/src/gmsh-3.0.6-source.tgz"))
    =         (sha256
   &nb= sp;         (base32
  =             "0ywqhr0= zmdhn8dvi6l8z1vkfycyv67fdrz6b95mb39np832bq04p"))))
  (build-system = cmake-build-system)
  (arguments
    `(#:configur= e-flags '("-DENABLE_BUILD_LIB=3D1"
      &= nbsp;           &nbs= p;       "-DCMAKE_INSTALL_PREFIX=3D/opt/nexts= im_gnu/gmsh-3.0.6"
         = ;            &n= bsp;    "-DENABLE_MMG3D=3DFALSE")))
  (synopsis "3D = finite element grid generator")
  (description "Gmsh is a 3D finite= element grid generator with a built-in
CAD engine and post-processor.&n= bsp; Its design goal is to provide a fast, light
and user-friendly meshi= ng tool with parametric input and advanced
visualization capabilities.&n= bsp; Gmsh is built around four modules: geometry,
mesh, solver and post-= processing.  The specification of any input to these
modules is don= e either interactively using the graphical user interface or in
ASCII te= xt files using Gmsh's own scripting language.")
  (home-page "http:= //gmsh.info//")
  (license gpl2+))

When at some point, cmake tests thin= gs, this is what I get:

-- The CXX compiler identification is GNU 11.3.0
-- = The C compiler identification is GNU 11.3.0
-- Detecting CXX compiler AB= I info
-- Detecting CXX compiler ABI info - done
-- Check for working= CXX compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c= ++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compi= le features - done
-- Detecting C compiler ABI info
-- Detecting C co= mpiler ABI info - done
-- Check for working C compiler: /gnu/store/5lqhc= v91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc - skipped
-- Detecting C = compile features
-- Detecting C compile features - done
-- Looking fo= r sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdin= t.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Loo= king for stddef.h - found
-- Check size of void*
-- Check size of voi= d* - done
-- Found 64Bit
-- Performing Test STDCXX11
-- Performing= Test STDCXX11 - Success
-- Found C++11
-- The Fortran compiler ident= ification is unknown
CMake Error at CMakeLists.txt:421 (enable_language)= :
  No CMAKE_Fortran_COMPILER could be found.

  Tell CM= ake where to find the compiler by setting either the environment
  = variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full  path to the compiler, or to the compiler name if it is in the PATH= .


-- Configuring incomplete, errors occurred!
See also "/tmp/= guix-build-mygmsh-3.0.6.drv-0/build/CMakeFiles/CMakeOutput.log".
See als= o "/tmp/guix-build-mygmsh-3.0.6.drv-0/build/CMakeFiles/CMakeError.log".
= error: in phase 'configure': uncaught exception:
%exception #<&in= voke-error program: "cmake" arguments: ("../gmsh-3.0.6-source" "-DCMAKE_BUI= LD_TYPE=3DRelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/kvx8rfsa457x= z9723zsyk8x41zscs63l-mygmsh-3.0.6" "-DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_= INSTALL_RPATH_USE_LINK_PATH=3DTRUE" "-DCMAKE_INSTALL_RPATH=3D/gnu/store/kvx= 8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6/lib" "-DCMAKE_VERBOSE_MAKEFILE= =3DON" "-DENABLE_BUILD_LIB=3D1" "-DCMAKE_INSTALL_PREFIX=3D/opt/nextsim_gnu/= gmsh-3.0.6" "-DENABLE_MMG3D=3DFALSE") exit-status: 1 term-signal: #f stop-s= ignal: #f>
phase `configure' failed after 0.8 seconds
command "cma= ke" "../gmsh-3.0.6-source" "-DCMAKE_BUILD_TYPE=3DRelWithDebInfo" "-DCMAKE_I= NSTALL_PREFIX=3D/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh-3.0.6" "= -DCMAKE_INSTALL_LIBDIR=3Dlib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=3DTRUE" = "-DCMAKE_INSTALL_RPATH=3D/gnu/store/kvx8rfsa457xz9723zsyk8x41zscs63l-mygmsh= -3.0.6/lib" "-DCMAKE_VERBOSE_MAKEFILE=3DON" "-DENABLE_BUILD_LIB=3D1" "-DCMA= KE_INSTALL_PREFIX=3D/opt/nextsim_gnu/gmsh-3.0.6" "-DENABLE_MMG3D=3DFALSE" f= ailed with status 1

It looks like cm= ake cant find fortran compiler. I'm very new to guix universe so I may have= missed a step.

Thanks in adv= ance,
Pierre
--=_8273ed69-76b1-49ea-9ab5-e421508892c0--