*** This bug is a security vulnerability ***
Public security bug reported:
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
"/usr/bin/vtkProcessShader"
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
"/usr/lib/cmake/paraview/ParaViewTargets.cmake"
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 3.13.11.4
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)
** Affects: paraview (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
** Patch added: "0001-fix-bugs-in-paraview-devel-enable-VISIT-and-cgns.patch"
https://bugs.launchpad.net/bugs/1341920/+attachment/4152679/+files/0001-fix-bugs-in-paraview-devel-enable-VISIT-and-cgns.patch
** Information type changed from Public to Public Security
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1341920
Title:
cmake crashes when find paraview
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/paraview/+bug/1341920/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs