Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.