help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with uilding a package for intel onepi fortran compiler.


From: Céline Acary-Robert
Subject: Problem with uilding a package for intel onepi fortran compiler.
Date: Wed, 13 Apr 2022 08:38:39 +0200 (CEST)

Hello, 
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 
Fisrt, launching the script as a standard user is OK. 

Writing a scm file, we can run the install script but when calling the 
boostrapper binary ends with the following error message "no such file or 
directory". 
Adding a phase to chmod this binary is OK, so the file is in the supposed 
directory. We have tried to export HOME and USER environement variables but 
without any effect. 
Has anyone encountered this kind of error ? 

I join the package 

Thank you very much in advance for any help ... 
Best regards 
Céline 

-----------------------------------------------------------------------------------------
 
guix build -f oneapi.scm returns 


phase `set-paths' succeeded after 1.3 seconds 
starting phase `install-locale' 
using 'en_US.utf8' locale for category "LC_ALL" 
phase `install-locale' succeeded after 0.0 seconds 
starting phase `unpack' 
phase `unpack' succeeded after 0.9 seconds 
starting phase `bootstrap' 
no 'configure.ac' or anything like that, doing nothing 
phase `bootstrap' succeeded after 0.0 seconds 
starting phase `patch-usr-bin-file' 
phase `patch-usr-bin-file' succeeded after 0.0 seconds 
starting phase `patch-source-shebangs' 
patch-shebang: ./l_fortran-compiler_p_2022.0.1.70_offline.sh: changing 
`/bin/sh' to `/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/sh' 
phase `patch-source-shebangs' succeeded after 5.2 seconds 
starting phase `patch-generated-file-shebangs' 
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds 
starting phase `extract-package' 
Extracted to 
/tmp/guix-build-intel_oneapi-2022.0.1.70.drv-0/l_fortran-compiler_p_2022.0.1.70_offline
 
phase `extract-package' succeeded after 6.3 seconds 
starting phase `patch-more-shebangs' 
phase `patch-more-shebangs' succeeded after 0.0 seconds 
starting phase `install' 
./install.sh: line 34: 
/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 
error: in phase 'install': uncaught exception: 
%exception #<&invoke-error program: "sh" arguments: ("./install.sh" "--silent" 
"--eula accept") exit-status: 127 term-signal: #f stop-signal: #f> 
phase `install' failed after 0.0 seconds 
command "sh" "./install.sh" "--silent" "--eula accept" failed with status 127 

-- 
Céline Acary-Robert 
LJK[Scalde/AirSea]/GRICAD/MaiMoSiNE 
04 57 42 17 89 

Attachment: oneapi.scm
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]