[Pkg-rpm-devel] Bug#882252: rpm stops build on warning "Invalid version (double separator '-')", older version works

Michal Čihař michal at cihar.com
Mon Nov 20 18:29:24 UTC 2017


Hello

On Mon, 2017-11-20 at 18:27 +0100, Martin Petersen wrote:
> Package: rpm
> Version:
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where
> appropriate ***
> 
>    * What led up to the situation?
> Upgrading rpm from 4.12.0.2+dfsg1-2 to 4.14.0+dfsg1-2 in a apt-get
> dist-upgrade run
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> Trying to build zfsonlinux kernel modules for new linux-kernels.
> Building this modules for quite some time no. Failing to build
> startet
> about kernel version 4.14-0-0.

This is indeed invalid rpm version - is separator between version and
release and it is not allowed in either of them. It used to be warning
for ages and now is an error.

See upstream commit:
https://github.com/rpm-software-management/rpm/commit/5e94633660d0e2b97
0bf42f1dc24346ed46cae2e

If I'm reading it correctly, it should be possible to workaround this
by defining %_wrong_version_format_terminate_build to 0.

Anwyay, no, we're not going to diverge from upstream in this.

-- 
	Michal Čihař | https://cihar.com/ | https://weblate.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-rpm-devel/attachments/20171120/88bd31d4/attachment.sig>


More information about the Pkg-rpm-devel mailing list