mercurial failed to build from source in Fedora rawhide/f30
For details on the mass rebuild see:
Please fix mercurial at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
mercurial will be orphaned. Before branching of Fedora 31,
mercurial will be retired, if it still fails to build.
For more details on the FTBFS policy, please visit:
Created attachment 1531191 [details]
file build.log too big, will only attach last 1024 bytes
Created attachment 1531192 [details]
file root.log too big, will only attach last 1024 bytes
Created attachment 1531193 [details]
Fix the shebangs:
> BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/hg-ssh: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
> mangling shebang in /usr/libexec/mercurial/hgk from /usr/bin/env wish to #!/usr/bin/wish
Fixed in mercurial-4.7-3