Can't produce debs in master build
Petr Mladek
pmladek at suse.cz
Mon Jul 8 09:08:54 PDT 2013
Hi,
I get the build error:
--- cut ---
dpkg-deb: parse error, in file
'libobasis4.2-base_4.2.0.0.alpha0-1_amd64/DEBIAN/control' near line 8
package 'libobasis4.2-base':
`Depends' field, reference to `libobasis4.2-core01': version contains `
'
--- cut ---
when building master with
--with-distro=LibreOfficeLinux
--with-package-format=rpm deb
It seems to be related to the commit
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d07cbe86f34ca6dfc6580b63879235c339831a5e
which added dependencies to an exact version, e.g.:
--- cut ---
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core01 %PACKAGEVERSION %
PACKAGEVERSION"
--- cut ---
epm produces the attached control file. It seems that deb does not like
the two versions in
--- cut ---
Depends: libobasis4.2-core01 (>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)
--- cut ----
The build passes when I remove one %PACKAGEVERSION from the epm package
definition.
I am not Debian expert and
http://www.debian.org/doc/debian-policy/ch-relationships.html is not
clear about the two versions variant. I wonder if
(>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)
is a valid syntax.
I wonder if we need to fix deb, epm, and just give up and revert the
above mentioned commit.
Any idea, please?
Best Regards,
Petr
-------------- next part --------------
Package: libobasis4.2-base
Version: 4.2.0.0.alpha0-1
Maintainer: The Document Foundation
Architecture: amd64
Description: Base module for LibreOffice 4.2 .0.0.alpha0
Copyright: 2012 The Document Foundation
Base module for LibreOffice 4.2
Depends: libobasis4.2-core01 (>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)
Installed-Size: 7088
More information about the LibreOffice
mailing list