[Bug 721703] [NEW] FindMPI script violates policy CMP0004

Launchpad Bug Tracker 721703 at bugs.launchpad.net
Sat Feb 19 09:27:10 UTC 2011


You have been subscribed to a public bug by Sameer Morar (smorar):

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

** Affects: cmake
     Importance: Unknown
         Status: Unknown

** Affects: cmake (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch patch-forwarded-upstream
-- 
FindMPI script violates policy CMP0004
https://bugs.launchpad.net/bugs/721703
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list