biocom-uib / vpf-tools

Virus Protein Family tools
BSD 3-Clause "New" or "Revised" License
26 stars 7 forks source link

Stack build failed #10

Closed neptuneyt closed 2 years ago

neptuneyt commented 3 years ago
stack --version

Version 2.7.3, Git revision 7927a3aec32e2b2e5e4fb5be76d0d50eddcc197f x86_64 hpack-0.34.4


[yutao@headnode@vpf-tools]$ stack build
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Already downloaded.
Unpacking GHC into //home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/bin/ghc-pkg: /lib64/libtinfo.so.5: no version information available (required by /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/bin/ghc-pkg)
/home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/bin/ghc-pkg: /lib64/libtinfo.so.5: no version information available (required by /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/bin/../terminfo-0.4.1.4/libHSterminfo-0.4.1.4-ghc8.10.2.so)
ghc-pkg: Couldn't open database /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/package.conf.d for modification: {handle: /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/lib/ghc-8.10.2/package.conf.d/package.cache.lock}: hLock: invalid argument (Invalid argument)
gmake[1]: *** [install_packages] 错误 1
gmake: *** [install] 错误 2
Received ExitFailure 2 when running
Raw command: /usr/bin/gmake install
Run from: /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2.temp/ghc-8.10.2/

Error: Error encountered while installing GHC with
         gmake install
         run in /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2.temp/ghc-8.10.2/

       The following directories may now contain files, but won't be used by stack:
         - /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2.temp/
         - /home/yu/.stack/programs/x86_64-linux/ghc-8.10.2/

       For more information consider rerunning with --verbose flag
KennthShang commented 3 years ago

I got the same error when installing on the HPC. Looking forward to the answer.

neptuneyt commented 3 years ago

I have tested the installation method of the software on several linux machines with a root user, and without exception it failed at the stack buildstage. As a software article, the accessibility and ease of use of the software is the basis, otherwise how to repeat your results, strictly speaking, if you do not make a timely response, I will directly contact the editor to question the practicality and uthenticity of your software.

bielr commented 3 years ago

Calm yourself.

First, the issue you are reporting is not caused by our software but by stack itself. Read their documentation carefully (haskellstack.com) and report the issue on their tracker if you are still unable to install it.

Second, you should not be entitled to receive a response in 24 hours. People deserve holidays.