[Paraview] Superbuild RPM error (python bytecode compile)
Deij-van Rijswijk, Menno
M.Deij at marin.nl
Wed Apr 6 04:23:20 EDT 2016
Hi all,
I’m trying to build ParaView using the super build. Everything works, except the creation of an RPM.
When I say everything works, I mean:
* I am able to install ParaView to a location in my user directory (~Programs/) and run ParaView from there.
* I can package a tar.gz using cpack -G TGZ - this gives me the .tar.gz file as expected.
I would like, however, to get an RPM, and that is not successful. Looking at the rpmbuild.out and .err (attached), I see that it stops when byte-compiling Python. It seems to choke on the py3_test_grammar.py
The problem seems very similar to this https://github.com/nmilford/rpm-python27/issues/6
and the solution they suggest is to add
%global _python_bytecompile_errors_terminate_build 0
On top of the RPM SPEC file. The problem is, however, that the SPEC file is generated by CPack, so I'm at a loss how to fix this.
Any suggestions are welcome!
Thanks and best wishes,
Menno Deij - van Rijswijk
dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | Maritime Simulation & Software Group
MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl
MARIN news: http://www.marin.nl/web/News/News-items/Software-Seminar-in-Houston-October-4.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpmbuild.err
Type: application/octet-stream
Size: 1849 bytes
Desc: rpmbuild.err
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160406/11ef645f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpmbuild.out
Type: application/octet-stream
Size: 4598 bytes
Desc: rpmbuild.out
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160406/11ef645f/attachment-0001.obj>
More information about the ParaView
mailing list