[cmake-developers] dpkg-shlibdeps

Kornel Benko kornel at lyx.org
Mon May 19 07:06:17 EDT 2014


Am Montag, 19. Mai 2014 um 12:59:31, schrieb Nils Gladitz <nilsgladitz at gmail.com>
> On 05/19/2014 12:50 PM, Kornel Benko wrote:
> > I am using CPACK with
> > 	set(CPACK_DEBIAN_PACKAGE_DEBUG ON)
> >
> > There is one offending output
> > 	CPackDeb Debug: dpkg-shlibdeps version is <>
> >
> > Looking into CPackDeb.cmake, the regex for getting the version
> > searches 'dpkg-shlibdeps version ([0-9]+\\.[0-9]+\\.[0-9]+)'
> > from output of 'dpkg-shlibdeps --version'.
> >
> > But in my case (ubuntu 12.10), this is not matching, since the command returns
> > 	'Debian dpkg-shlibdeps Version 1.16.7.
> > 	...'
> >
> > Could the regex please be replaced by
> > 	'dpkg-shlibdeps [vV]ersion ([0-9]+\\.[0-9]+\\.[0-9]+)'
> > ?
> >
> > This is cmake version 3.0.20140511-g17c650
> 
> Looks like the whole string is localized
> e.g. Norwegian: "Debian %s versjon %s.\n".

Yes, you are right. My localization was German.

> Perhaps the whole non numeric prefix should be skipped.

+1

> Nils

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140519/69c7d2a6/attachment-0002.sig>


More information about the cmake-developers mailing list