Anjuta fails to build: RPM help needed

Debarshi Ray debarshi.ray at gmail.com
Tue Feb 24 18:25:56 UTC 2009


The rpm-4.6.0-python-validate.patch introduced in rpm-4.6.0-6 and
described by the following commit is one of the reasons for the
problems in trying to build anjuta [1] in Rawhide.

* Fri Feb 20 2009 Panu Matilainen <pmatilai at redhat.com> - 4.6.0-6
- error out on uncompilable python code (Tim Waugh)

What happens is that Anjuta installs some code templates in
%{_datadir}/anjuta which get converted into proper C, C++ or Python
files once a project is created and some parameters like license,
author, etc. are specified by the user. So these templates are not
really valid Python files by themselves even though they have .py as a
suffix. So for obvious reasons, running brp-python-bytecompile causes
the build to fail.

Can any one suggest a solution? Should I just redefine
%__os_install_post to %{nil}?

Thanks,
Debarshi

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=1158121




More information about the fedora-devel-list mailing list