Re: 2.1.0 Build fails on RHEL7 and RHEL8
Kenneth Price via Roundup-users <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On 30 Mar 2022 15:11, John P. Rouillard wrote: > https://issues.roundup-tracker.org/issue2551169 > > The patch is at: > > https://sourceforge.net/p/roundup/code/ci/2e568d6f72a4 > > Let me know if this fixes it for you. > > Have a great day and sorry for the broken code. > > -- > -- rouilj > John Rouillard The patch fixed the install on RHEL7/8 when installed from source tarball. Thanks! It also fixed the issue with building a RPM/SRPM on RHEL7. If anyone is building packages for Roundup, RHEL8+/Fedora30+ no longer likes unversioned python shebangs when building packages. Regardless of the use of ALTERNATIVES to point /usr/bin/python to the appropriate python2 or python3 executable, RHEL8+/Fedora30+ RPM builds fail when they see an ambiguous python shebang, such as #!/usr/bin/python or #!/usr/bin/env python https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shebang_lines The use of ALTERNATIVES and a modified SPEC file turning off brp_mangle_shebangs gets around this issue for now, or all "env python" shebangs need to be changed to "python3". _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users