pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55739: py-numpy fails on macOS



>Number:         55739
>Category:       pkg
>Synopsis:       py-numpy fails on macOS
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 20 18:30:00 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        pkgsrc-current as of 2020-10-20
>Organization:
>Environment:
System: macOS Catalina 10.15.7
Architecture: x86_64
Machine: MacBook Pro Retina late 2012
>Description:

py37-numpy-1.19.2nb1 builds successfully on macOS, but importing it fails:

  $ python3.7 -c 'import numpy'
  python3.7(72995,0x111874dc0) malloc: can't allocate region
  :*** mach_vm_map(size=18446744071817588736, flags: 100) failed (error code=3)
  python3.7(72995,0x111874dc0) malloc: *** set a breakpoint in malloc_error_break to debug
  init_dgelsd failed init
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/Users/gson/pkg/lib/python3.7/site-packages/numpy/__init__.py", line 286, in <module>
      raise RuntimeError(msg)
  RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
  RankWarning: Polyfit may be poorly conditioned

https://github.com/numpy/numpy/issues/12230 looks related.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index