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

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

            Bug ID: 263939
           Summary: math/py-numpy -- error on build
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: bz@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

As part of a build with yesterday's src and ports tree.

blas_mkl_info:
customize UnixCCompiler
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 513, in <module>
    setup_package()
  File "setup.py", line 505, in setup_package
    setup(**metadata)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/core.py",
line 135, in setup
    config =3D configuration()
  File "setup.py", line 173, in configuration
    config.add_subpackage('numpy')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/misc_util.py",
line 1019, 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.20.3/nump=
y/distutils/misc_util.py",
line 985, 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.20.3/nump=
y/distutils/misc_util.py",
line 927, in _get_configuration_from_setup_py
    config =3D setup_module.configuration(*args)
  File "numpy/setup.py", line 8, in configuration
    config.add_subpackage('core')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/misc_util.py",
line 1019, 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.20.3/nump=
y/distutils/misc_util.py",
line 985, 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.20.3/nump=
y/distutils/misc_util.py",
line 927, in _get_configuration_from_setup_py
    config =3D setup_module.configuration(*args)
  File "numpy/core/setup.py", line 757, in configuration
    blas_info =3D get_info('blas_opt', 0)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 586, in get_info
    return cl().get_info(notfound_action)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 846, in get_info
    self.calc_info()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 1991, in calc_info
    if self._calc_info(blas):
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 1983, in _calc_info
    return getattr(self, '_calc_info_{}'.format(name))()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 1920, in _calc_info_mkl
    info =3D get_info('blas_mkl')
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 586, in get_info
    return cl().get_info(notfound_action)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 846, in get_info
    self.calc_info()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 1300, in calc_info
    info =3D self.check_libs2(lib_dirs, mkl_libs)
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 1002, in check_libs2
    exts =3D self.library_extensions()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 961, in library_extensions
    c =3D customized_ccompiler()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/system_info.py",
line 203, in customized_ccompiler
    global_compiler =3D _customized_ccompiler()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.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.20.3/nump=
y/distutils/ccompiler.py",
line 90, 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.20.3/nump=
y/distutils/ccompiler.py",
line 529, in CCompiler_customize
    self.compile([fn], output_dir=3Dtmpdir,
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/ccompiler.py",
line 90, 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.20.3/nump=
y/distutils/ccompiler.py",
line 268, in CCompiler_compile
    jobs =3D get_num_build_jobs()
  File
"/var/tmp/work-20220224/usr/ports/math/py-numpy/work-py38/numpy-1.20.3/nump=
y/distutils/misc_util.py",
line 96, 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>