mdavezac / CondimentStation

Stab at a boxen-like salt config
MIT License
1 stars 2 forks source link

Fail to install spack modules #4

Open dpshelio opened 6 years ago

dpshelio commented 6 years ago

Some just fail in the install after the install phase (maybe updating spack database?)

==> Installing GreatCMakeCookoff
==> Using cached archive: /home/dvd/Stuff/build/spack/var/spack/cache/GreatCMakeCookoff/GreatCMakeCookoff-2.1.9.tar.gz
==> Already staged GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y in /home/dvd/Stuff/build/spack/var/spack/stage/GreatCMakeCookoff-2.1.9-jzrvdssgv3u7j3y4clwfihd26vhh5d3y
==> No patches needed for GreatCMakeCookoff
==> Building GreatCMakeCookoff [Package]
==> Executing phase: 'install'
==> Error: TypeError: can't pickle _yaml.Mark objects
TypeError: TypeError: can't pickle _yaml.Mark objects

/home/dvd/Stuff/build/spack/lib/spack/spack/package.py:1456, in build_process:
     60                        self.log()
     61    
     62                    # Run post install hooks before build stage is removed.
  >> 63                    spack.hooks.post_install(self.spec)
     64    
     65                # Stop timer.
     66                self._total_time = time.time() - start_time

whereas in other cases creates flags that spack doesn't know:

openmpi@3.0.0%gcc@7.2.1~cuda fabrics= ~java schedulers= ~sqlite3~thread_multiple~ucx+vt arch=linux-archrolling-x86_64
^hwloc@1.11.8%gcc@7.2.1~cuda+libxml2+pci+shared arch=linux-archrolling-x86_64
^libpciaccess@0.13.5%gcc@7.2.1 arch=linux-archrolling-x86_64
^libsigsegv@2.11%gcc@7.2.1 arch=linux-archrolling-x86_64
^libtool@2.4.6%gcc@7.2.1 arch=linux-archrolling-x86_64
^libxml2@2.9.4%gcc@7.2.1~python arch=linux-archrolling-x86_64
^m4@1.4.18%gcc@7.2.1 patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00
+sigsegv arch=linux-archrolling-x86_64 ^pkgconf@1.4.0%gcc@7.2.1 arch=linux-archrolling-x86_64 
^util-macros@1.19.1%gcc@7.2.1 arch=linux-archrolling-x86_64 
^xz@5.2.3%gcc@7.2.1 arch=linux-archrolling-x86_64
^zlib@1.2.11%gcc@7.2.1+optimize+pic+shared arch=linux-archrolling-x86_64

like fabrics= ~java and schedulers= ~sqlite3...