unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: "Céline Acary-Robert" <celine.acary-robert@univ-grenoble-alpes.fr>
Cc: help-guix@gnu.org
Subject: Re: Problem with uilding a package for intel onepi fortran compiler.
Date: Thu, 14 Apr 2022 01:06:29 -0300	[thread overview]
Message-ID: <87k0bsti9o.fsf@kolabnow.com> (raw)
In-Reply-To: <562304655.1100938.1649831919604.JavaMail.zimbra@univ-grenoble-alpes.fr>


Hello Céline,

Céline Acary-Robert <celine.acary-robert@univ-grenoble-alpes.fr> writes:

> We are trying to build a package for intel onepi fortran compiler. The
> sources are installed through a script "install" (/bin/sh) which calls
> a binary bootstrapper which allows to download the files and install
> them

I don’t know about the “no such file or directory” error that you are
seeing, but I can tell that if  you’re able to fix it, then you’ll run
into the problem that the binary bootstrapper won’t be able to download
the files.

Guix’s build environment doesn’t allow access to the network. A
package needs to be able to be built with the declared inputs and
native-inputs and nothing more. This is required for security, integrity
and build reproducibility of the resulting package.

Is it possible to download the files in advance and provide them as
inputs to the package?

> starting phase `install' 
> ./install.sh: line 34:

What's in line 34 of install.sh?

> /tmp/guix-build-intel_oneapi-2022.0.1.70.drv-0/l_fortran-compiler_p_2022.0.1.70_offline/bootstrapper:
> No such file or directory

If you run guix build with the “--keep-failed” argument, do you see a
“bootstraper” file in the directory above? If so, and if it is an ELF
binary, does running ‘ldd’ on it show that it has all the libraries that
it needs?

-- 
Thanks
Thiago


  reply	other threads:[~2022-04-14  4:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13  6:38 Problem with uilding a package for intel onepi fortran compiler Céline Acary-Robert
2022-04-14  4:06 ` Thiago Jung Bauermann [this message]
2022-09-02 16:46 ` zimoun
2022-09-02 16:59   ` Céline Acary
2022-09-09 17:24     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0bsti9o.fsf@kolabnow.com \
    --to=bauermann@kolabnow.com \
    --cc=celine.acary-robert@univ-grenoble-alpes.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).