We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I am trying to build a package for Fedora 30, I get the following errors:
*** ERROR: ambiguous python shebang in /usr/bin/ardmk-init: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /usr/bin/robotis-loader: #!/usr/bin/python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /usr/bin/ard-reset-arduino: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
To overcome this, I had to:
tar xfz arduino-mk-1.6.0.tar.gz in the SOURCES directory
cd arduino-mk-1.6.0/bin
vim *
replace all /usr/bin/env python with /usr/bin/env python2
cd ../..
tar cfz arduino-mk-1.6.0.tar.gz arduino-mk-1.6.0
cd ../SPECS
Then I could do the rpmbuild -ba arduino-mk.spec
The text was updated successfully, but these errors were encountered:
Have a look at my python3 issue, it includes rpm fixes #542
Sorry, something went wrong.
fixed in e6881e2
Successfully merging a pull request may close this issue.
When I am trying to build a package for Fedora 30, I get the following errors:
*** ERROR: ambiguous python shebang in /usr/bin/ardmk-init: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /usr/bin/robotis-loader: #!/usr/bin/python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /usr/bin/ard-reset-arduino: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
To overcome this, I had to:
tar xfz arduino-mk-1.6.0.tar.gz in the SOURCES directory
cd arduino-mk-1.6.0/bin
vim *
replace all /usr/bin/env python with /usr/bin/env python2
cd ../..
tar cfz arduino-mk-1.6.0.tar.gz arduino-mk-1.6.0
cd ../SPECS
Then I could do the rpmbuild -ba arduino-mk.spec
The text was updated successfully, but these errors were encountered: