I think that the brp-mangle-shebangs script should be more careful with
the shebangs. If the shebang contains slashes or some other weird
characters, it should fail the build rather then breaking the package.
Vít
Dne 3.2.2018 v 14:23 Richard Shaw napsal(a):
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
Use /usr/bin/python3 or /usr/bin/python2
/usr/bin/python will be removed or switched to Python 3 in the future.
If you cannot make the switch now, please follow instructions at
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#...
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
Use /usr/bin/python3 or /usr/bin/python2
/usr/bin/python will be removed or switched to Python 3 in the future.
If you cannot make the switch now, please follow instructions at
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#...
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: mangling shebang in ./usr/bin/g-ir-scanner from
#!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This
will become an ERROR, fix it manually!
*** WARNING: mangling shebang in ./usr/bin/g-ir-annotation-tool from
#!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This
will become an ERROR, fix it manually!
*** WARNING: mangling shebang in ./usr/bin/g-ir-doc-tool from
#!/usr/bin/env /usr/bin/python to #!/usr/bin//usr/bin/python2. This
will become an ERROR, fix it manually!
Processing files: gobject-introspection-1.54.1-3.fc28.x86_64
Looks like brp-mangle-shebangs incorrectly updated the python
invocation. Since this requirement cannot be met it's breaking any
package from building that depends on it.
Thanks,
Richard
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org