Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Too many levels of symbolic links at share/terminfo/N/NCR260VT300WPP #1799

Closed
wants to merge 2 commits into from

Conversation

oxidase
Copy link
Contributor

@oxidase oxidase commented Mar 12, 2024

With 3f40e98 the new python runtime 3.12.2 contains terminfo data with a symbolic link which leads to Too many levels of symbolic links on a case-insensitive file system:

wget -q https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-aarch64-unknown-linux-gnu-install_only.tar.gz -O - | tar tv | grep share/terminfo/N/NCR260VT300WPP
lrwxrwxrwx  0 root   root        0 Jan  1 01:00 python/share/terminfo/N/NCR260VT300WPP -> ../n/ncr260vt300wpp

The previous version 3.12.1 has no share/terminfo directory

wget -q https://github.com/indygreg/python-build-standalone/releases/download/20240107/cpython-3.12.1+20240107-aarch64-unknown-linux-gnu-install_only.tar.gz -O - | tar tv | grep share/terminfo

The fix filters out share/terminfo/N/NCR260VT300WPP symbolic link

/cc @trentontrees

@oxidase
Copy link
Contributor Author

oxidase commented Mar 12, 2024

The issue triggered by the line https://github.com/bazelbuild/rules_python/blob/5ab3e9cc/python/repositories.bzl#L256 and can not be fixed without either limiting glob scope or repacking the runtime

#1800

@oxidase oxidase closed this Mar 12, 2024
@oxidase oxidase deleted the fix/terminfo_symlink branch March 12, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant