-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Update install-sh #78946
Comments
The install-sh file that python uses for autotools is horribly outdated. Last update was 16 years ago and it's being copied from automake's source code. Updating it to modern standards could potentially fix issues for systems that use autotools, but it has the downside of having some backwards incompatible changes e.g. [0][1] (or you can search at their NEWS file [2]) which could break some previous applied workarounds. As things stand, there is no bug at the moment and autotools just work so would a PR for updating install-sh to a newer version be considered? [0] http://git.savannah.gnu.org/cgit/automake.git/commit/lib/install-sh?id=84a98180dd37a32891800fb9aafdf685bab74252 |
If there's no actual bug, it certainly does not need to be done on maintenance branches. |
Thanks Charalampos Stratakis for the change!
I concur. Since install-sh has been updated in the master branch, I close the issue. |
Adding to this, the reason I initially caught up with that, was due to a coverity scan. More explicitly: Error: SHELLCHECK_WARNING: [#def1] Error: SHELLCHECK_WARNING: [#def2] So the transform_arg is unused, but I'm not well versed with autotools so I don't know the implications of that. |
Generic reference on the issue: |
Alright the static scanner warns in the case of a typo being made where the variable is actually used, but since the variable is indeed not used, that doesn't not make it a bug. |
This is closed, however, since this was merged the AIX buildbots have failed. This is because the file mode bits lack the -x root@x066:[/data/prj/python/git/cpython-master]find . -name install-sh -ls Can this be fixed as part of this issue, or do I need to open a new one? Currently both AIX build-bots fail in the build phase with: renaming build/scripts-3.8/pydoc3 to build/scripts-3.8/pydoc3.8 |
FYI: On my manual build server I have coreutils "install" installed, and it seems install-sh is not called in that case (which is why I never saw with manual builds) FYI: There is also an issue (I hope side-effect) that pyexpat is not building while install-sh is not executing. I see the new PR - thx for the quick response! |
I made install-sh executable again. |
The AIX build-bots thank you. Back to "failed-test" status. 1721 ... failed test (failure) 1720 ... failed compile (failure) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: