Re: gobject-introspection broken requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had different case with weird shebang in template:

https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/16

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#Quick_Opt-Out
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#Quick_Opt-Out
+ /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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux