Hi Bradley, *,

On Thu, Jul 9, 2009 at 7:02 PM, Bradley Bolen<[email protected]> wrote:
>
> I get the following build problem in sysui on a Fedora 9 system with RPM 
> version 4.4.2.3.  I found one email chain that looked similar (discussing RPM 
> version 4.6) that suggested prepending "LD_PRELOAD=/lib/libnss3.so" to the 
> rpmbuild command, however I still get the same error.

Another stupid (IMHO of course) change Fedora did to its default configuration.
They now require that python stuff is precompiled everytime. But they
didn't make that configurable.

Neither the python interpreter to run is configurable (although the
actual script that is invoked would handle it as first parameter), nor
can you disable it by some variable like you can for other
os_post_install actions. And the one that is the most stupid about it:
It doesn't even bother to check whether there is python files to
compile in the first place.

I did run into the same problem on the fedora tinderbox. My solution
is to filter out the complete pyhon one from the  _:os_install_post
macro (involves a little trickery because of the mult-line nature of
the property), but more simple is to just disable it completely.
There's nothing to strip, etc. in the desktop-integratoin rpms anyway.
(--define "__os_install_post /bin/true" or similar)

The tinderbox is offline at the moment (due to vacation), so I cannot
post the exact patch. But can do so in about a week

ciao
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to