Can't produce debs in master build

Stephan Bergmann sbergman at redhat.com
Tue Jul 9 03:56:57 PDT 2013


On 07/08/2013 09:13 PM, Rene Engelhard wrote:
> On Mon, Jul 08, 2013 at 06:08:54PM +0200, Petr Mladek wrote:
>> --- 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 ----
>
> Exactly,
>
>> 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
>
> There is no "two version variant".
>
>>
>>         (>= 4.2.0.0.alpha0, <= 4.2.0.0.alpha0)
>>
>> is a valid syntax.
>
> It isn't. You simply cannot do that.
>
> Depends: libobasis4.2-core01 (>= 4.2.0.0.alpha0), libobasis4.2-core01 (<= 4.2.0.0.alpha0)
>
> should do, though.

So this is a bug in EPM and 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b62198dfcfd3fe738382207235a68cdc9b40d30> 
"Fix EPMs deb Depends syntax" should fix it, at least for our internal 
EPM 3.7.  (As I note in the commit message, I cannot verify whether this 
would also be fixed in later upstream EPM versions.)

Stephan



More information about the LibreOffice mailing list