Skip to content

Installation issue: llvm  #15410

@LDAmorim

Description

@LDAmorim

Hi all,
Sorry for this probably very basic issue/question, but when trying to install py-jupyter package I get a sort of an error in the sub-package llvm.
In the cmake phase it breaks and asks for a password (my computer login one doesn't work).
I tried to look at the corresponding llvm package.py file, but I can't understand which part is calling for sudo/password.
Below is the end of the output related to this issue.
Do you know what password it is requesting or have any suggestion on how I can fix this issue?

Spack version

$ spack --version
0.14.0-124-1757ec9ea

Steps to reproduce the issue

$ spack install llvm
...
==> 69923: Installing llvm
==> Warning: microarchitecture specific optimizations are not supported yet on mixed compiler toolchains [check clang@11.0.0-apple for further details]
==> Using cached archive: /Users/LDianaAmorim/Documents/opt/spack/var/spack/cache/_source-cache/archive/be/be7b034641a5fda51ffca7f5d840b1a768737779f75f7c4fd18fe2d37820289a.tar.gz
==> Staging archive: /var/folders/5p/x7ftfty12yndrs3p6ntlk1jc0000gp/T/LDianaAmorim/spack-stage/spack-stage-llvm-9.0.1-uyfmfxzkm7btiwyyqpcjd77zizuoajz3/llvmorg-9.0.1.tar.gz
==> Created stage in /var/folders/5p/x7ftfty12yndrs3p6ntlk1jc0000gp/T/LDianaAmorim/spack-stage/spack-stage-llvm-9.0.1-uyfmfxzkm7btiwyyqpcjd77zizuoajz3
missing header for unified diff at line 3 of patch
==> Applied patch /Users/LDianaAmorim/Documents/opt/spack/var/spack/repos/builtin/packages/llvm/constexpr_longdouble_9.0.patch
==> 69923: llvm: Building llvm [CMakePackage]
==> 69923: llvm: Executing phase: 'cmake'
Password:

Platform and user environment

$ uname -a 
Darwin LDianaAmorim-M30.dhcp.lbnl.us 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64

and, if relevant, post or attach:

  • packages.yaml
packages:
  all:
    providers:
      mpi: [mpich, openmpi]
  • compilers.yaml
compilers:
- compiler:
    spec: clang@11.0.0-apple
    paths:
      cc: /usr/bin/clang
      cxx: /usr/bin/clang++
      f77: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
      fc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
    flags: {}
    operating_system: catalina
    target: x86_64
    modules: []
    environment:
      unset: []
    extra_rpaths: []
- compiler:
    spec: gcc@9.2.0
    paths:
      cc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gcc
      cxx: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/g++
      f77: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
      fc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
    flags: {}
    operating_system: catalina
    target: x86_64
    modules: []
    environment: {}
    extra_rpaths: []

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions