cmake crashes when find paraview

Bug #1341920 reported by HuiJie Zhang
This bug affects 4 people
Affects Status Importance Assigned to Milestone
paraview (Debian)
paraview (Ubuntu)

Bug Description

I'm developing an application, which based on paraview custom app mod. When build it on ubuntu 14.04 LTS, I found that there are some bugs in paraview-dev-4.0.1.
Here is the errors output by cmake:
/home/black/Projects/ParaFlow/build> cmake ../
CMake Error at /usr/lib/cmake/paraview/ParaViewTargets.cmake:1498 (message):
  The imported target "ProcessShader" references the file


  but this file does not exist. Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained


  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/paraview/ParaViewConfig.cmake:36 (include)
  CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/black/Projects/ParaFlow/build/CMakeFiles/CMakeOutput.log".
See also "/home/black/Projects/ParaFlow/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
As the cmake says, this error is caused by the lack of some files, so we should install the these files.
Meanwhile, some of the features in paraview's stable release were not enabled in the debian releases.
While without these features, paraview will be not able to open some type of files.

So I fixed it finally, and the attached file is a patch to resolve this bug , the build progress was ok on my PC.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: paraview-dev 4.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-32.56-generic
Uname: Linux 3.13.0-32-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jul 15 10:09:06 2014
SourcePackage: paraview
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
HuiJie Zhang (yitianbuji) wrote :
information type: Public → Public Security
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001-fix-bugs-in-paraview-devel-enable-VISIT-and-cgns.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Public Security → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in paraview (Ubuntu):
status: New → Confirmed
Changed in paraview (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.