-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Hi all,
yesterday I did a fresh spack install on a virtual machine with a minimal OS installation (CentOS 7 with only few packages, including Python 2.7, git, curl and GCC 4.8.5) that still fulfills the minimal requirement for spack.
The first thing that I noticed is, that I need to build patch, but this already failed:
[sfux@develop02 ~]$ spack purge -a
[sfux@develop02 ~]$ spack find
==> 0 installed packages.
[sfux@develop02 ~]$ spack install patch
==> Installing patch
==> Fetching http://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz
######################################################################## 100.0%
==> Staging archive: /local/cluster/spack/var/spack/stage/patch-2.7.5-3jgpfxlxg35dn4l4duohkkoombxag4oo/patch-2.7.5.tar.xz
==> Created stage in /local/cluster/spack/var/spack/stage/patch-2.7.5-3jgpfxlxg35dn4l4duohkkoombxag4oo
==> Ran patch() for patch
==> Building patch [AutotoolsPackage]
==> Executing phase : 'autoreconf'
==> Executing phase : 'configure'
==> Executing phase : 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j8'
/local/cluster/spack/lib/spack/spack/build_systems/autotools.py:275, in build:
270 def build(self, spec, prefix):
271 """Makes the build targets specified by
272 :py:attr:``~.AutotoolsPackage.build_targets``
273 """
274 with working_dir(self.build_directory):
>> 275 inspect.getmodule(self).make(*self.build_targets)
See build log for details:
/local/scratch/sfux/spack-stage/spack-stage-DFYEr8/patch-2.7.5/spack-build.out
Looking at the error message:
make: GNUmakefile: Too many levels of symbolic links
make: stat: GNUmakefile: Too many levels of symbolic links
make: *** No rule to make target `GNUmakefile'. Stop.
==> Error: ProcessError: Command exited with status 2:
it seems that there is a symlink pointing to itself:
lrwxrwxrwx 1 sfux sfux-group 105 Mar 9 09:55 GNUmakefile -> /local/cluster/spack/var/spack/stage/patch-2.7.5-3jgpfxlxg35dn4l4duohkkoombxag4oo/patch-2.7.5/GNUmakefile
Any ideas ?
Please let me know what additional information I can provide to resolve this issue.
Best regards
Sam
Reactions are currently unavailable