[Paraview-developers] [EXTERNAL] Re: Superbuild failure

Chuck Atkins chuck.atkins at kitware.com
Tue Nov 29 12:16:29 EST 2016


It looks like a bug with superbuild/cmake/scripts/fixup_bundle.unix.py .
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

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Mon, Nov 28, 2016 at 2:48 PM, Scott, W Alan <wascott at sandia.gov> wrote:

> Sorry guys, still digging out from a wonderful weekend.  Will get to this
> later this afternoon.
>
> Alan
>
> -----Original Message-----
> From: Cory Quammen [mailto:cory.quammen at kitware.com]
> Sent: Monday, November 28, 2016 12:48 PM
> To: Andy Bauer <andy.bauer at kitware.com>
> Cc: Scott, W Alan <wascott at sandia.gov>; paraview-developers at paraview.org
> Subject: [EXTERNAL] Re: [Paraview-developers] Superbuild failure
>
> Andy,
>
> Just FYI, I also followed up with Alan off list. My guess is that some
> Python script with the line
>
> "#! /usr/bin/env python2.7
>
> 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/Twisted/twisted/python/test/test_dist.py that
> could be the offender, but I'm not entirely sure it is being called during
> the installation step.
>
> Thanks,
> Cory
>
> On Mon, Nov 28, 2016 at 2:08 PM, Andy Bauer <andy.bauer at kitware.com>
> wrote:
> > Hi Alan,
> >
> > Could you share your CMakeCache.txt from your main build directory and
> > the one from your superbuild/paraview/build subdirectory? I'm assuming
> > you aren't using the system Python and if that's the case I'm thinking
> > that the build failed during trying to build Python and then moved on
> > to building ParaView but couldn't find your Python executable. I could
> > easily be wrong (theoretically PV shouldn't even try to build if the
> > Python build failed) on this but this is my main suspicion on the build.
> >
> > Best,
> > Andy
> >
> > On Wed, Nov 23, 2016 at 8:36 PM, Scott, W Alan <wascott at sandia.gov>
> wrote:
> >>
> >> Sorry for being dense, but I am failing trying to get superbuild to
> work.
> >> I am failing with ParaView trying to find python2.7 on the system.  I
> >> am enabling Python as follows, but believe I am doing nothing else:
> >> ENABLE_python:BOOL=ON.  Here is what I get:
> >>
> >>
> >>
> >> [100%] Built target paraview
> >>
> >> Install the project...
> >>
> >> -- Install configuration: "Release"
> >>
> >> -- Configuring done
> >>
> >> -- Generating done
> >>
> >> -- Build files have been written to:
> >> /projects/viz/paraview/ParaView/5.2.0-sb-mesa/Linux-chama-x86_64/Buil
> >> d/cpack/paraview/TGZ/install
> >>
> >> Install the project...
> >>
> >> -- Install configuration: "Release"
> >>
> >> CMake Error at cmake_install.cmake:45 (message):
> >>
> >>   Failed to install pvdataserver:
> >>
> >>
> >>
> >>   /usr/bin/env: python2.7: No such file or directory
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> gmake[1]: *** [install] Error 1
> >>
> >> CMake Error at superbuild/cmake_install.cmake:55 (message):
> >>
> >>   Failed to install the paraview/TGZ package.
> >>
> >> Call Stack (most recent call first):
> >>
> >>   cmake_install.cmake:37 (include)
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Thanks,
> >>
> >>
> >>
> >> Alan
> >>
> >>
> >>
> >> --------------------------------------------------------
> >>
> >> W. Alan Scott
> >>
> >> ParaView Support Manager
> >>
> >>
> >>
> >> SAIC
> >>
> >> Sandia National Laboratories, MS 0822
> >>
> >> Org 9326 - Building 880 A1-K
> >>
> >> (505) 284-0932   FAX (505) 284-5619
> >>
> >> ---------------------------------------------------------
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Search the list archives at:
> >> http://markmail.org/search/?q=Paraview-developers
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://public.kitware.com/mailman/listinfo/paraview-developers
> >>
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Search the list archives at:
> > http://markmail.org/search/?q=Paraview-developers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20161129/5f286a83/attachment.html>


More information about the Paraview-developers mailing list