Bug 1541057
| Summary: | redhat-rpm-config unexpected error from brp-mangle-shebangs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jun Aruga <jaruga> |
| Component: | redhat-rpm-config | Assignee: | Florian Festi <ffesti> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ajax, dzickus, ffesti, fweimer, ignatenko, john.j5live, jonathan, pmatilai, praiskup, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-01 16:33:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1541318 | ||
| Bug Blocks: | |||
|
Description
Jun Aruga
2018-02-01 15:39:15 UTC
The file should not have executable bit. https://src.fedoraproject.org/rpms/rubygem-bundler/c/774469dcf8fe0b5c839880bbf5aa3f6b17652b24?branch=master Just to elaborate a bit, although I worry about templates, this case does not qualify IMO. OK. But the message "ERROR: ./Executable has shebang which doesn't start with '/' is not correct. Because actually the line starts with '/'. I still think the message can be improved. Actually, thx for pointing this out, because looking into the code, it seems the error message is correct, but the code is wrong. Created PR fixing this: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/16 Unfortunately, I am not happy with the outcome, since if the code was correct, Bundler would be building with modified template without notice ... So the error should be gone: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/51f1c667482c3852a61087df24fbc72a4ae45ed6 Although now the shebang would be mangled, which is not what we want. The discussion should continue in bug 1541318. |