<div dir="ltr">It looks like a bug with superbuild/cmake/scripts/<a href="http://fixup_bundle.unix.py">fixup_bundle.unix.py</a> .  In particular, it should be using the superbuild's python.  We should be able to fix it by pushing the staging install/bin into the front of the path before executing the script.  In particular, some path manipulation in superbuild/cmake/scripts/fixup_python.unix.cmake around line 41<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Nov 28, 2016 at 2:48 PM, Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry guys, still digging out from a wonderful weekend.  Will get to this later this afternoon.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Cory Quammen [mailto:<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.<wbr>com</a>]<br>
Sent: Monday, November 28, 2016 12:48 PM<br>
To: Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><br>
Cc: Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>>; <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.<wbr>org</a><br>
Subject: [EXTERNAL] Re: [Paraview-developers] Superbuild failure<br>
<br>
Andy,<br>
<br>
Just FYI, I also followed up with Alan off list. My guess is that some Python script with the line<br>
<br>
"#! /usr/bin/env python2.7<br>
<br>
is being called, but Allen's system does not have a python2.7 binary installed. There is such a call in the twisted test_dist.py file under paraview/VTK/ThirdParty/<wbr>Twisted/twisted/python/test/<wbr>test_dist.py that could be the offender, but I'm not entirely sure it is being called during the installation step.<br>
<br>
Thanks,<br>
Cory<br>
<br>
On Mon, Nov 28, 2016 at 2:08 PM, Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>> wrote:<br>
> Hi Alan,<br>
><br>
> Could you share your CMakeCache.txt from your main build directory and<br>
> the one from your superbuild/paraview/build subdirectory? I'm assuming<br>
> you aren't using the system Python and if that's the case I'm thinking<br>
> that the build failed during trying to build Python and then moved on<br>
> to building ParaView but couldn't find your Python executable. I could<br>
> easily be wrong (theoretically PV shouldn't even try to build if the<br>
> Python build failed) on this but this is my main suspicion on the build.<br>
><br>
> Best,<br>
> Andy<br>
><br>
> On Wed, Nov 23, 2016 at 8:36 PM, Scott, W Alan <<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>> wrote:<br>
>><br>
>> Sorry for being dense, but I am failing trying to get superbuild to work.<br>
>> I am failing with ParaView trying to find python2.7 on the system.  I<br>
>> am enabling Python as follows, but believe I am doing nothing else:<br>
>> ENABLE_python:BOOL=ON.  Here is what I get:<br>
>><br>
>><br>
>><br>
>> [100%] Built target paraview<br>
>><br>
>> Install the project...<br>
>><br>
>> -- Install configuration: "Release"<br>
>><br>
>> -- Configuring done<br>
>><br>
>> -- Generating done<br>
>><br>
>> -- Build files have been written to:<br>
>> /projects/viz/paraview/<wbr>ParaView/5.2.0-sb-mesa/Linux-<wbr>chama-x86_64/Buil<br>
>> d/cpack/paraview/TGZ/install<br>
>><br>
>> Install the project...<br>
>><br>
>> -- Install configuration: "Release"<br>
>><br>
>> CMake Error at cmake_install.cmake:45 (message):<br>
>><br>
>>   Failed to install pvdataserver:<br>
>><br>
>><br>
>><br>
>>   /usr/bin/env: python2.7: No such file or directory<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> gmake[1]: *** [install] Error 1<br>
>><br>
>> CMake Error at superbuild/cmake_install.<wbr>cmake:55 (message):<br>
>><br>
>>   Failed to install the paraview/TGZ package.<br>
>><br>
>> Call Stack (most recent call first):<br>
>><br>
>>   cmake_install.cmake:37 (include)<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> Thanks,<br>
>><br>
>><br>
>><br>
>> Alan<br>
>><br>
>><br>
>><br>
>> ------------------------------<wbr>--------------------------<br>
>><br>
>> W. Alan Scott<br>
>><br>
>> ParaView Support Manager<br>
>><br>
>><br>
>><br>
>> SAIC<br>
>><br>
>> Sandia National Laboratories, MS 0822<br>
>><br>
>> Org 9326 - Building 880 A1-K<br>
>><br>
>> (505) 284-0932   FAX (505) 284-5619<br>
>><br>
>> ------------------------------<wbr>---------------------------<br>
>><br>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>><br>
>> Search the list archives at:<br>
>> <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Search the list archives at:<br>
> <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
><br>
<br>
<br>
<br>
--<br>
Cory Quammen<br>
Staff R&D Engineer<br>
Kitware, Inc.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
</div></div></blockquote></div><br></div></div>