https://bugzilla.redhat.com/show_bug.cgi?id=1695139



--- Comment #4 from Miro HronĨok <[email protected]> ---
(In reply to Carmen Bianca Bakker from comment #3)
> ...
> Note the `--executable` flag. This becomes `/usr/bin/python3 -s`. xonsh
> takes this and rewrites the shebangs in its script files (e.g.,
> /usr/bin/xonsh) using this executable. This becomes:
> 
> #!/usr/bin/python3 -s -u
> 
> Which, when executed, fails.  I could alter %{py3_shbang_opts}, but frankly
> I don't know how to do that.

Oh, so this is basically bz1335203.

I recommend doing this: use %py3_build and run this after:

pathfix.py -pni "%{__python3} %{py3_shbang_opts}u" %{buildroot}%{_bindir}/*

That way you get a manual workaround but you also make sure that both flags (u
and s) are applied. You should probably add a comment with link to bz1335203.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to