hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07284
[Bug 1829309] Re: Building current default in Fedora 30 fails due to Python plugins
Attempted a test build of the current default on Fedora 30 and ran into this python plugin build problem again!
I made local changes which build OK, but failed in my attempt to push those changes to the repo. Not sure if that was due to a problem at the repo end or I no longer have push privileges.
I have attached a patch, which can be used to overcome this issue until we finally get someone to maintain the python plugin code, or we decide to remove it.
Cheers,
Terry
** Patch added: "python_plugin.patch"
https://bugs.launchpad.net/hugin/+bug/1829309/+attachment/5276935/+files/python_plugin.patch
--
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