hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07245
Re: [Bug 1829309] [NEW] Building current default in Fedora 30 fails due to Python plugins
Yes, `/usr/bin/env python` really doesn't work on a system with both
versions of python installed, so the fedora build system refuses to
proceed.
The fedora rpm replaces this with `/usr/bin/python3` before the build to
force python3 (since the hsi stuff is linked to python3, nothing else
makes sense).
Hugin should drop support for python2.
On 16 May 2019 00:33:36 BST, tduell wrote:
>*** ERROR: ambiguous python shebang in
>/usr/share/hugin/data/plugins/shooting_pattern.py: #!/usr/bin/env
>python. Change it to python3 (or python2) explicitly.
>**CT/dual_use.py: #!/usr/bin/env
>python. Change it to python3 (or python2) explicitly.
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1829309
Title:
Building current default in Fedora 30 fails due to Python plugins
Status in Hugin:
New
Bug description:
Building current hugin default 8203 01e87b730bb3 in Fedora 30, fails
with the following message...
Bytecompiling .py files below /home/terry/rpmbuild/BUILDROOT/hugin-2019.1.0-0.1.20190516hg.fc30.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7
Bytecompiling .py files below /home/terry/rpmbuild/BUILDROOT/hugin-2019.1.0-0.1.20190516hg.fc30.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins/shooting_pattern.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins/top_five.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins/crop_cp.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins/woa.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins-templates/plugin_skeleton.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/share/hugin/data/plugins-templates/dual_use.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in /usr/lib64/python2.7/site-packages/hpi.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
error: Bad exit status from /var/tmp/rpm-tmp.eEpDLf (%install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1829309/+subscriptions
References