[cmake-developers] Missing CPACK_PACKAGE_CONTACT in test for CPackComponentsPrefix

Kornel Benko kornel at lyx.org
Thu May 7 09:12:05 EDT 2015


Hi,
testing new cmake, I get ctest error for the call
	# ctest -R CPackComponentsPrefix

This is the relevant part in LastTest.log
	...
	CPack: Install projects
	CPack: - Run preinstall target for: CPackComponentsPrefix
	CPack: - Install project: CPackComponentsPrefix
	CPack: Create package
	CMake Error at /usr/src/cmake/cmake/Modules/CPackDeb.cmake:386 (message):
	  CPackDeb: Debian package requires a maintainer for a package, set
	  CPACK_PACKAGE_CONTACT or CPACK_DEBIAN_PACKAGE_MAINTAINER
	Call Stack (most recent call first):
	  /usr/src/cmake/cmake/Modules/CPackDeb.cmake:507 (cpack_deb_prepare_package_vars)


	CPack Error: Error while execution CPackDeb.cmake
	...

Adding line
	set(CPACK_PACKAGE_CONTACT "someContact")
in Tests/CPackComponentsPrefix/CMakeLists.txt cures the testcase for me.

	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150507/11c15eaf/attachment.sig>


More information about the cmake-developers mailing list