Re: Taskotron test failures (dist.rpmlint)

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

 



>>>>> "AP" == Alexander Ploumistos <alex.ploumistos@xxxxxxxxx> writes:

AP> /usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper':
AP> [Errno 2] No such file or directory

For the record, this happens because rpmlint does the equivalent of:

rpm -E %python_sitearch

by calling the expandMacro() function from the rpm python bindings.  If
you run that without rpm-build installed, rpm itself will produce that
message on stderr.  Basically any shell expansion in rpm (using %(...)
can produce stderr output and nothing seems to trap it.

I'm not sure what the best solution is; I did suggest some in the ticket
which was opened (https://bugzilla.redhat.com/show_bug.cgi?id=1577860).

 - J<
_______________________________________________
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 Users]     [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