Skip to content

Installation issue: llvm on AppleClang #16246

@ax3l

Description

@ax3l

This bug report is part of getting the scientific python stack compiled on macOS with system tools (AppleClang). See #16215

Steps to reproduce the issue

$ spack install py-jupyter

fails on building llvm:

Snippet:

lib/lib
2020-04-22T19:21:18.6768820Z               LLVMDemangle.a -lz -ltinfo -lm
2020-04-22T19:21:18.6769120Z   >> 25661    Undefined symbols for architecture x86_64:
2020-04-22T19:21:18.6769270Z      25662      "_libintl_bind_textdomain_codeset", referenced from:
2020-04-22T19:21:18.6769370Z      25663          _PyIntl_bind_textdomain_codeset in libpython3.7m.a(_localem
2020-04-22T19:21:18.6769460Z               odule.o)
2020-04-22T19:21:18.6769530Z      25664      "_libintl_bindtextdomain", referenced from:
2020-04-22T19:21:18.6769660Z      25665          _PyIntl_bindtextdomain in libpython3.7m.a(_localemodule.o)
2020-04-22T19:21:18.6769760Z      25666      "_libintl_textdomain", referenced from:
2020-04-22T19:21:18.6769850Z      25667          _PyIntl_textdomain in libpython3.7m.a(_localemodule.o)
2020-04-22T19:21:18.6769900Z 
2020-04-22T19:21:18.6769970Z      ...
2020-04-22T19:21:18.6770010Z 
2020-04-22T19:21:18.6770100Z      25672          _PyLocale_localeconv in libpython3.7m.a(_localemodule.o)
2020-04-22T19:21:18.6770180Z      25673      "_libintl_dgettext", referenced from:
2020-04-22T19:21:18.6770510Z      25674          _PyIntl_dgettext in libpython3.7m.a(_localemodule.o)
2020-04-22T19:21:18.6770620Z      25675      "_libintl_gettext", referenced from:
2020-04-22T19:21:18.6770720Z      25676          _PyIntl_gettext in libpython3.7m.a(_localemodule.o)
2020-04-22T19:21:18.6770810Z      25677    ld: symbol(s) not found for architecture x86_64
2020-04-22T19:21:18.6771310Z   >> 25678    clang: error: linker command failed with exit code 1 (use -v to s
2020-04-22T19:21:18.6771410Z               ee invocation)
2020-04-22T19:21:18.6771480Z   >> 25679    make[2]: *** [lib/liblldb.10.0.0.dylib] Error 1
2020-04-22T19:21:18.6771570Z   >> 25680    make[1]: *** [tools/lldb/source/API/CMakeFiles/liblldb.dir/all] E
2020-04-22T19:21:18.6771660Z               rror 2
2020-04-22T19:21:18.6771740Z   >> 25681    make: *** [all] Error 2

Information on your system

  • GitHub Action macOS 10.15
  • AppleClang clang-11.0.0-apple
  • vanilla Spack from develop as of 46e9069

Additional information

cc package maintainers @trws @naromero77

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