[Mesa-dev] [Bug 89328] python required to build Mesa release tarballs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 27 00:20:43 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89328

--- Comment #3 from Samuel Iglesias <siglesias at igalia.com> ---
Created attachment 113857
  --> https://bugs.freedesktop.org/attachment.cgi?id=113857&action=edit
remove mako check when python is not installed

> The distribution tarballs (should) provide all the auto-generated files, 
> similar to any other autotools project. As such one should not need any of 
> python/mako/lex/etc but a plain compiler toolchain.
> 
> Imho we should fix these in a way that, when the files are generated, all the 
> non-compiler requirements are non-fatal.
> 

I wrote a patch (attached) that removes the python mako module check when
python is not installed in the system. If it needs to do something with python,
it is going to fail anyway.

I tested this patch in a virtual machine without python installed to check if I
can compile mesa from a tarball created by 'make dist' command. At least now,
mako doesn't block the configuration step. The build fails at a later time due
to some python files but unrelated to autogenerated format_pack.c and
format_unpack.c files because the latter ones were already generated by make
dist.

If you think this patch is interesting to have in master, just say so and I
will send this patch to the mailing list.

> Although I cannot find a way to do that of the top of my head.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150227/59f3838b/attachment.html>


More information about the mesa-dev mailing list