[CMake] [CPACK] debian package
Mathieu Malaterre
mathieu.malaterre at gmail.com
Tue Apr 1 07:48:37 EDT 2008
On Mon, Mar 31, 2008 at 8:21 PM, Filipe Sousa <natros at gmail.com> wrote:
>
> Mathieu Malaterre wrote:
> > On Mon, Mar 31, 2008 at 1:44 AM, Filipe Sousa <natros at gmail.com> wrote:
> >> Philip Lowman wrote:
> >> > On Fri, Mar 28, 2008 at 11:53 AM, Bill Hoffman <bill.hoffman at kitware.com>
> >> > wrote:
> >> >
> >> >
> >> >
> >>
> >>> Sounds like this checkin fixes this bug
> >> >
> >> > http://public.kitware.com/Bug/view.php?id=6566
> >>
> >> and now there is another one:
> >>
> >> sudo dpkg -i cmake-2.7.20080330-Linux-x86_64.deb
> >> dpkg: error processing cmake-2.7.20080330-Linux-x86_64.deb (--install):
> >> parse error, in file `/var/lib/dpkg/tmp.ci/control' near line 9:
> >> several package info entries found, only one allowed
> >> Errors were encountered while processing:
> >> cmake-2.7.20080330-Linux-x86_64.deb
> >
> > Where can I get this .deb file ?
>
> http://www.ipb.pt/~filipe/cmake-2.7.20080330-Linux-x86_64.deb
>
Ok, found the issue (*). There is an empty line. I am guessing that
there is a duplicate \n in the CPACK_DEBIAN_PACKAGE_ARCHITECTURE line.
This can easily be fixed applying this patch (**). Bill do you think
this is enough for cmake 2.6.0 or do you want the full patch that make
sure that CPACKE_DEBIAN* entry are all single line ?
Regards,
-Mathieu
(*)
Package: cmake
Version: 2.7.20080330
Section: devel
Priority: optional
Architecture: amd64
Maintainer: cmake at cmake.org
Description: CMake is a build tool
(**)
Index: Modules/CPackDeb.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CPackDeb.cmake,v
retrieving revision 1.12
diff -u -r1.12 CPackDeb.cmake
--- Modules/CPackDeb.cmake 28 Mar 2008 23:09:39 -0000 1.12
+++ Modules/CPackDeb.cmake 1 Apr 2008 11:43:33 -0000
@@ -42,7 +42,7 @@
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE i386)
ENDIF(NOT DPKG_CMD)
EXECUTE_PROCESS(COMMAND "${DPKG_CMD}" --print-architecture
- OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
+ OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
OUTPUT_STRIP_TRAILING_WHITESPACE)
ENDIF(NOT CPACK_DEBIAN_PACKAGE_ARCHITECTURE)
# have a look at GET_PROPERTY(result GLOBAL PROPERTY ENABLED_FEATURES),
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Mathieu
More information about the CMake
mailing list