[Bug 721703] Re: FindMPI script violates policy CMP0004

Sameer Morar smorar at gmail.com
Sat Feb 19 13:11:38 UTC 2011


** Patch added: "Patch that fixes this issue"
   https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/721703/+attachment/1859657/+files/cmake_2.8.3-3ubuntu3.debdiff

** Patch removed: "Patch that resolves this issue"
   https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/721703/+attachment/1859369/+files/cmake_2.8.3-3ubuntu3.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/721703

Title:
  FindMPI script violates policy CMP0004

Status in cmake:
  New
Status in “cmake” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: cmake

  The FindMPI script violates policy CMP0004. The following error occurs
  when compiling the package dolfin:

  CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE): 
  Target "cmTryCompileExec" links to item " -Wl,--export-dynamic" which has leading or trailing whitespace.
  This is now an error according to policy CMP0004.

  Further investigation has shown that " -Wl,--export-dynamic" is being assigned to MPI_LINK_FLAGS with a leading space.
  This occurs in Modules/FindMPI.cmake




More information about the Ubuntu-sponsors mailing list