NetBSD Problem Report #55739

From  Tue Oct 20 18:25:37 2020
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id B61081A9217
	for <>; Tue, 20 Oct 2020 18:25:37 +0000 (UTC)
Message-Id: <>
Date: Tue, 20 Oct 2020 21:25:32 +0300 (EEST)
From: (Andreas Gustafsson)
Reply-To: (Andreas Gustafsson)
Subject: py-numpy fails on macOS
X-Send-Pr-Version: 3.95

>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
System: macOS Catalina 10.15.7
Architecture: x86_64
Machine: MacBook Pro Retina late 2012

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/", 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 looks related.



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.