[Bug 721703] Re: FindMPI script violates policy CMP0004
Jani Monoses
jani at ubuntu.com
Mon Feb 28 10:33:34 UTC 2011
Hi Sameer,
thanks for debugging the issue and for notifying upstream.
I see dolfin is built fine in natty now due to a recent upload https://launchpad.net/ubuntu/+source/dolfin/0.9.10-1
Do you think this cmake change so important that it needs to be applied in ubuntu before upstream incorporates it (they did not even comment on it AFAICS) now that dolfin was fixed?
--
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