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.d...@marin.nl | http://www.marin.nl

MARIN news: 
http://www.marin.nl/web/News/News-items/Software-Seminar-in-Houston-October-4.htm

Attachment: rpmbuild.err
Description: rpmbuild.err

Attachment: rpmbuild.out
Description: rpmbuild.out

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to