Skip to content

BUILD: installation using wheels fails when using nix + uv2nix #61079

Open
@cpcloud

Description

@cpcloud

Installation check

Platform

Linux

Installation Method

Other

pandas Version

2.2.3

Python Version

3.10

Installation Logs

   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/offsets.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/strptime.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/nattype.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/period.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/tzconversion.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/period.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/base.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/ccalendar.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/parsing.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/conversion.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/tslibs/conversion.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-313-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-313t-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-312-aarch64-linux-musl.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/indexers.cpython-39-aarch64-linux-gnu.so
   > error: auto-patchelf could not satisfy dependency libc.musl-aarch64.so.1 wanted by /nix/store/qgqkgpa6blfksrimxna493n8pyy68n5h-pandas-2.2.3/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-313-aarch64-linux-musl.so
   > auto-patchelf failed to find all the required dependencies.
   > Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.

This only happens with python 3.10 + aarch64 + linux, and I noticed that those wheels contain the associated aarch64 shared object file for every python version supported by pandas at the time, and that wheel contains libgcc_s and libstdc++ while no other wheels have these libraries.

You can also see that the size of this particular wheel is much larger than similar wheels for the same version.

Image

This doesn't block me in any way, but I thought I'd report it upstream in case it's something y'all want to fix.

Metadata

Metadata

Assignees

Labels

BuildLibrary building on various platforms

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions