From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QNuxAOl8BWZUdwAAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Mar 2024 15:21:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QNuxAOl8BWZUdwAAe85BDQ (envelope-from ) for ; Thu, 28 Mar 2024 15:21:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=nomtVW0l; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711635688; a=rsa-sha256; cv=none; b=LLQWoG8HSrszW6Tt8QEIN+pgCGP1uht3ZJacwhS3iepWi94Ghpj6EqHD386inNntC+Q9UG +CkTJZJ6l6v0KmHqZmtiL41GCwA9Odw/RQVCuVVsR6fowgrPEuq7Bp9/z10DkABqoWGvK7 Afwieak4bjiCXY0elZP5r2ZUlI/aWWzucwDp/3sKo5IW9wWQ1qxEm6FHO+MtkOKXG4Syaz /xbUVT/rl8dnUt/Kwp4s/n20m3Rn7j3+c4lL7NmgcclPENjcmmVDJOhcAxGd8s6LOnFKo7 HI72sqHzPoRoaKrIwwFnNdQOehCO4MSejC21OX6V5+NA5JxDfHxz34iJ1BMbxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=nomtVW0l; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711635688; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MZ9Jo0Gl+rmJ72HTCtCfkYe3fxSnX8RlGjNSaddl7TI=; b=L6XNfu+BlVcBs+qfUzkrYk5V2Zndb0NxFEEY/gCxxlFzWtL7CMzXBdABkACR+zJjXZcZqU mgLVVBeRtKqGwYaTs5vDStTTWc5qFXlJIZVAGefTOpQ7m8h3gjBVqVjexLaO3zysqhXsJM 6XQhiEk/R7tpUI8Hy/ccwQZCiUBcLIa4rUIc+f0PQJM8N3K4mqpP0Wfx0/KgIZ2x2ESAk4 u0au8Dmi9/UQT+tA7LP79ZJv0yCf7P5SPPvsog1jx9Y9bP9DfIp6y4+iQQW4bca4gHI4gP O+HzWhGBs85PVS6gYaViYZUmae3A9wFs9Q2iebL4LizMMay+Lbl0WPPKwLwCaw== 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 5DF5715218 for ; Thu, 28 Mar 2024 15:21:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpqcq-0007Pq-MA; Thu, 28 Mar 2024 10:21:04 -0400 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 1rpqco-0007PN-Pg for guix-patches@gnu.org; Thu, 28 Mar 2024 10:21:02 -0400 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 1rpqco-0007ay-Gu for guix-patches@gnu.org; Thu, 28 Mar 2024 10:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpqco-0005B7-Qo for guix-patches@gnu.org; Thu, 28 Mar 2024 10:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70056] [RFC PATCH] draft: gnu: Add mfem. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70056@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171163562719719 (code B ref -1); Thu, 28 Mar 2024 14:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2024 14:20:27 +0000 Received: from localhost ([127.0.0.1]:40879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpqcE-00057u-JB for submit@debbugs.gnu.org; Thu, 28 Mar 2024 10:20:27 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpqcB-000578-P8 for submit@debbugs.gnu.org; Thu, 28 Mar 2024 10:20:25 -0400 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 1rpqc1-0007Ii-Aa for guix-patches@gnu.org; Thu, 28 Mar 2024 10:20:15 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpqbw-0007HK-Aw for guix-patches@gnu.org; Thu, 28 Mar 2024 10:20:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1711635597; x=1711894797; bh=MZ9Jo0Gl+rmJ72HTCtCfkYe3fxSnX8RlGjNSaddl7TI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=nomtVW0l10a4ZF0qPR/GiGqN7NGJk9wsCm5nBu5VjJLjh+FsjR0d4XAcj8XXg+7E3 lMnEivqKJ1nz+l2uhhgHyDkqPqvQMBi/kPtCX9HSOewRfS2gtS6Lgr71gLYLBJpG9y XVWPoNvrST8Ximncc1uhYX3RgqpJ3lYkwfsz6l9LG6oQvQs7gE11nmMjL3P792GIQB RdmGcnMBbZlgQZxP/esQqfshgC0kP8RbUHdiGJ7ecVgTsI7s6F1aZvT167YX+88v6k uCdLLGqiCa6Z5T2T5vwlXpxiKRWBV20agXkg+uWOxxQxOzBrG3Fu2Iae0Zhii0+U51 AFeQRXGPnWb/w== Date: Thu, 28 Mar 2024 14:17:39 +0000 From: "Paul A. Patience" Message-ID: Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=paul@apatience.com; helo=mail-4022.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -1.35 X-Migadu-Queue-Id: 5DF5715218 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.35 X-TUID: /6CSSZMUXqWk * gnu/packages/maths.scm (mfem): New variable. Change-Id: Ida81f2b081a016e91426b68437909653020976f5 --- Hi, I'm trying to package MFEM, but I get the following error while building: --8<---------------cut here---------------start------------->8--- The following derivations will be built: /gnu/store/ibv1qjm24b2z4qsfhsw7q4izalcbb7rd-mfem-4.6.drv /gnu/store/l0df6d28w16dhnnpcr1qg26xvpmyrkqa-mfem-4.6-checkout.drv building /gnu/store/l0df6d28w16dhnnpcr1qg26xvpmyrkqa-mfem-4.6-checkout.drv.= .. Initialized empty Git repository in /gnu/store/dc5fx7xfg67fsvl5brdxnbgkirir= qxd0-mfem-4.6-checkout/.git/ >From https://github.com/mfem/mfem * tag v4.6 -> FETCH_HEAD warning: unable to access '//.config/git/ignore': Permission denied warning: unable to access '//.config/git/attributes': Permission denied warning: unable to access '//.config/git/ignore': Permission denied Note: switching to 'FETCH_HEAD'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to fals= e HEAD is now at 69fbae7 Merge pull request #3841 from mfem/mfem-4.6-dev suspicious ownership or permission on `/gnu/store/dc5fx7xfg67fsvl5brdxnbgki= rirqxd0-mfem-4.6-checkout'; rejecting this build output build of /gnu/store/l0df6d28w16dhnnpcr1qg26xvpmyrkqa-mfem-4.6-checkout.drv = failed View build log at '/var/log/guix/drvs/l0/df6d28w16dhnnpcr1qg26xvpmyrkqa-mfe= m-4.6-checkout.drv.gz'. cannot build derivation `/gnu/store/ibv1qjm24b2z4qsfhsw7q4izalcbb7rd-mfem-4= .6.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/ibv1qjm24b2z4qsfhsw7q4izalcbb7rd-mf= em-4.6.drv' failed --8<---------------cut here---------------end--------------->8--- Basically it complains of suspicious ownership or permission. I looked at the permissions of the contents of the repository when cloning = it manually, and nothing seems to be world-writable, as nix/libstore/build.cc:2373 seems to be trying to protect against. Regarding the Git warning at the top, I looked in the repository for any references to Git attributes and ignore files, but did not find any. I suspect it is looking for the .config directory in $HOME, but the variabl= e is unset, of course. What's more, I tried with url-fetch, and it also results in suspicious ownership or permission. I'm at a loss as to what to do. Can someone give me a hand? Thanks, Paul gnu/packages/maths.scm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1b4d325649..5e81225947 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -151,6 +151,7 @@ (define-module (gnu packages maths) #:use-module (gnu packages xorg) #:use-module (gnu packages gl) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages libunwind) #:use-module (gnu packages m4) #:use-module (gnu packages mpi) #:use-module (gnu packages multiprecision) @@ -6890,6 +6891,53 @@ (define-public dealii-openmpi (delete 'unset-cpath))))) (synopsis "Finite element library (with MPI support)"))) =20 +(define-public mfem + (package + (name "mfem") + (version "4.6") + (source + (origin + ;; (method url-fetch) + ;; (uri (string-append "https://github.com/mfem/mfem/archive/refs/t= ags/v" + ;; version ".tar.gz")) + ;; (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mfem/mfem") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m57j5kd7glc8lfp5bdmmx4az4fs6lkqjwd970w4fx8gylxff3n9")))) + (build-system cmake-build-system) + (native-inputs + (list graphviz doxygen perl)) ; documentation + (inputs + (list gfortran + gnutls + lapack + libunwind + metis + mpfr + netcdf + suitesparse-amd + suitesparse-btf + suitesparse-camd + suitesparse-ccolamd + suitesparse-cholmod + suitesparse-colamd + suitesparse-config + suitesparse-klu + suitesparse-umfpack + sundials + zlib)) + (home-page "https://mfem.org/") + (synopsis "Finite element library") + (description "MFEM is a modular parallel C++ library for finite elemen= t +methods. Its goal is to enable high-performance scalable finite element +discretization research and application development on a wide variety of +platforms, ranging from laptops to supercomputers.") + (license license:bsd-3))) + (define-public flann (package (name "flann") base-commit: fb9549164520ad993c2fbbaedc899844d57baabc --=20 2.41.0