-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Too many levels of symbolic links at share/terminfo/N/NCR260VT300WPP #231
Comments
It looks like the issue was addressed on 2000/11/11
For terminfo built on a case-sensitive FS glob fails on a case-insensitive FS with enabled symlinks. |
Ugh. This bug just shouldn't exist in the terminfo database :/ FWIW I enabled symlinks because by default hardlinks are created. And hardlinks and tar archives don't exactly play well together. It looks like by default the terminfo database has directories like terminfo does have a It appears the macOS terminfo database uses this We can add But, it appears that I added a copy of the terminfo database to the tar archives for convenience. I doubt most consumers will actually use the terminfo database from the archives directly because this requires setting up an environment variable to point ncurses at a non-default directory containing the database. Since the terminfo database isn't usable out of the box, I'm tempted to either delete it. Or if people think it could be useful, we could package it as a nested tar archive so downstream consumers could extract it. This will solve the problem of a case insensitive tar extractor not being able to extract the archive due to case conflicting symlinks. |
…hains This affects Linux toolchains that have the `terminfo` databases bundled with the toolchain. Our solution to this is to remove the `share/terminfo` altogether if we are downloading an affected `linux` toolchain. Workaround indygreg/python-build-standalone#231 Fixes bazelbuild#1800
…hains (#1898) This affects Linux toolchains that have the `terminfo` databases bundled with the toolchain. Our solution to this is to remove the `share/terminfo` altogether if we are downloading an affected `linux` toolchain. Tested with (on a Mac): ```console bazel build --platforms=//tests/support:linux_x86_64 @python_3_11//:files bazel build --platforms=//tests/support:windows_x86_64 @python_3_11//:files ``` Workaround indygreg/python-build-standalone#231 Fixes #1800
In 5246d4e
--enable-symlinks
creates a circular symlink in case-insensitive file systems like APFS.which leads to problems with globs in bazel.
The fix must be included into upstream and as an interim solution
--enable-symlinks
can be commented out.The text was updated successfully, but these errors were encountered: