Skip to content

py-scipy does not build on Mac using apple-clang@15.0.0 #882

@srherbener

Description

@srherbener

Describe the bug

When building py-scipy, the build fails with this message:

meson.build:1:0: ERROR: Unable to detect linker for compiler `/Users/steveherbener/spack-stack/spack/lib/spack/env/clang/clang -Wl,--version`
stdout: 
stderr: ld: unknown options: --version 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The issue appears to be in the meson package and it looks like this issue was fixed, and will be available in the upcoming meson 1.3.0 release: mesonbuild/meson#12419. The fix is currently available in the release candidate: 1.3.0rc3 if we want to test now. (We are currently using meson version 1.1.0).

To Reproduce
Steps to reproduce the behavior:

Update command lines tools to latest version which installs apple-clang%15.0.0.
Build the unified-env

Expected behavior
Build succeeds

System:
mac0S 13.6 (Ventura)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

INFRAJEDI InfrastructurebugSomething is not working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions