Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2022 11:49:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 263939] math/py-numpy -- error on build
Message-ID:  <bug-263939-21822-5WgCDcOZow@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263939-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263939-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263939

--- Comment #2 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
Trying to build the update to py38-numpy-1.22.3,1 runs into the same error:

...
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/mtrand.pyx
INFO: blas_opt_info:
INFO: blas_armpl_info:
INFO: customize UnixCCompiler
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 461, in <module>
    setup_package()
  File "setup.py", line 453, in setup_package
    setup(**metadata)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/core.py",
line 135, in setup
    config =3D configuration()
  File "setup.py", line 131, in configuration
    config.add_subpackage('numpy')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 1054, in add_subpackage
    config_list =3D self.get_subpackage(subpackage_name, subpackage_path,
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 1020, in get_subpackage
    config =3D self._get_configuration_from_setup_py(
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 962, in _get_configuration_from_setup_py
    config =3D setup_module.configuration(*args)
  File "numpy/setup.py", line 9, in configuration
    config.add_subpackage('core')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 1054, in add_subpackage
    config_list =3D self.get_subpackage(subpackage_name, subpackage_path,
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 1020, in get_subpackage
    config =3D self._get_configuration_from_setup_py(
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 962, in _get_configuration_from_setup_py
    config =3D setup_module.configuration(*args)
  File "numpy/core/setup.py", line 813, in configuration
    blas_info =3D get_info('blas_opt', 0)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 587, in get_info
    return cl().get_info(notfound_action)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 847, in get_info
    self.calc_info()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 2079, in calc_info
    if self._calc_info(blas):
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 2065, in _calc_info
    return getattr(self, '_calc_info_{}'.format(name))()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 1981, in _calc_info_armpl
    info =3D get_info('blas_armpl')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 587, in get_info
    return cl().get_info(notfound_action)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 847, in get_info
    self.calc_info()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 1339, in calc_info
    info =3D self.check_libs2(lib_dirs, armpl_libs)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 1003, in check_libs2
    exts =3D self.library_extensions()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 962, in library_extensions
    c =3D customized_ccompiler()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/system_info.py",
line 216, in customized_ccompiler
    global_compiler =3D _customized_ccompiler()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/__init__.py",
line 50, in customized_ccompiler
    c.customize('')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/ccompiler.py",
line 89, in <lambda>
    m =3D lambda self, *args, **kw: func(self, *args, **kw)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/ccompiler.py",
line 539, in CCompiler_customize
    self.compile([fn], output_dir=3Dtmpdir,
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/ccompiler.py",
line 89, in <lambda>
    m =3D lambda self, *args, **kw: func(self, *args, **kw)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/ccompiler.py",
line 272, in CCompiler_compile
    jobs =3D get_num_build_jobs()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.22.3/nump=
y/distutils/misc_util.py",
line 93, in get_num_build_jobs
    cpu_count =3D len(os.sched_getaffinity(0))
OSError: [Errno 0] Error
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/py-numpy

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263939-21822-5WgCDcOZow>