On Sunday 14 November 2010, Dirk Müller wrote:
It's something called by rpmlint, as rpmlint is run correctly... Did you file a bugreport at https://bugzilla.novell.com?
debugging it, it is actually a fault in the rpm package. $ fgrep "%(" /usr/lib/rpm/macros | grep python %python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") running rpm.expandMacro() causes parsing of the global macros file, which causes a bunch of shell scripts being invoked, including one that tries to run /usr/bin/python,which does not exist. To me it looks quite stupid to invoke that many shell scripts or define macros for something that is optional. IMHO those paths should be hardcoded instead of runtime-defined, or the runtime-definition should be provided by /etc/rpm/macros.python But anyway, for now, I can workaround this issue by not invoking expandMacro() (it is only used for minor rpmlint checks which I just removed in our package). So the issue at hand is resolved, albeit with an ugly hack. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org