Skip to content

macOS builds randomly failing in pip release pipeline #438

@lorisercole

Description

@lorisercole

The arm8-a macOS wheel builds stochastically fail at the Build wheel step.

Example errors:

ld: symbol(s) not found for architecture x86_64

link to pipeline

Last 10 log lines:
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
  "_libintl_textdomain", referenced from:
      __locale_textdomain in _localemodule.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Image
segfault

link to pipeline

Last 10 log lines:
  File "/private/tmp/python-build.20260408002629.60913/Python-3.10.19/Lib/ensurepip/__init__.py", line 287, in _main
    return _bootstrap(
  File "/private/tmp/python-build.20260408002629.60913/Python-3.10.19/Lib/ensurepip/__init__.py", line 203, in _bootstrap
    return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
  File "/private/tmp/python-build.20260408002629.60913/Python-3.10.19/Lib/ensurepip/__init__.py", line 104, in _run_pip
    return subprocess.run(cmd, check=True).returncode
  File "/private/tmp/python-build.20260408002629.60913/Python-3.10.19/Lib/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/private/tmp/python-build.20260408002629.60913/Python-3.10.19/python.exe', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmp8ajl1neo/setuptools-79.0.1-py3-none-any.whl\', \'/tmp/tmp8ajl1neo/pip-23.0.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmp8ajl1neo\', \'--root\', \'/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' died with .
make: *** [install] Error 1
Image

The pipeline automatically retries this step but always fail because of this:

Downloading HDF5 1.13.0...
hdf5-1.13.0.tar.bz2: OK
mv: rename hdf5-1.13.0 to hdf5/hdf5-1.13.0: Directory not empty

Restarting the failing jobs normally resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions