Skip to content

[C++] "File name too long" when installing arrow-cpp from conda-forge #36635

Open
@ialxn

Description

@ialxn

Describe the bug, including details regarding any error messages, version, and platform.

Trying to install arrow-cpp by
conda install arrow-cpp
or
conda install -c conda-forge arrow-cpp
I get

Downloading and Extracting Packages

InvalidArchiveError("Error with archive /home/alxneit/share/miniconda3/pkgs/arrow-cpp-11.0.0-h374c478_1.conda.
You probably need to delete and re-download or re-create this file.
Message was:\n\nfailed with error: [Errno 36] File name too long: '/home/alxneit/share/miniconda3/pkgs/arrow-cpp-11.0.0-h374c478_1/share/gdb/auto-load/croot/arrow-cpp_1686080352370/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho'")

conda info reports
active environment : 4DSTEM
active env location : /home/alxneit/share/miniconda3/envs/4DSTEM
shell level : 1
user config file : /home/alxneit/.condarc
populated config files : /home/alxneit/.condarc
conda version : 23.5.0
conda-build version : not installed
python version : 3.11.4.final.0
virtual packages : __archspec=1=x86_64
__glibc=2.31=0
__linux=5.4.0=0
__unix=0=0
base environment : /home/alxneit/share/miniconda3 (writable)
conda av data dir : /home/alxneit/share/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/alxneit/share/miniconda3/pkgs
/home/alxneit/.conda/pkgs
envs directories : /home/alxneit/share/miniconda3/envs
/home/alxneit/.conda/envs
platform : linux-64
user-agent : conda/23.5.0 requests/2.29.0 CPython/3.11.4 Linux/5.4.0-152-generic ubuntu/20.04.6 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False

Yes, I removed and re-downloaded the offending file several times but the issue persists.

Component(s)

Other

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions