Debian Bug report logs - #764929
dpkg-shlibdeps: error: is not a valid version

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Helmut Grohne <helmut@subdivi.de>

Date: Sun, 12 Oct 2014 12:09:01 UTC

Severity: serious

Found in version dpkg/1.17.17

Fixed in version dpkg/1.17.18

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#764929; Package dpkg-dev. (Sun, 12 Oct 2014 12:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Sun, 12 Oct 2014 12:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Helmut Grohne <helmut@subdivi.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg-shlibdeps: error: is not a valid version
Date: Sun, 12 Oct 2014 14:05:47 +0200
Package: dpkg-dev
Version: 1.17.17
Severity: serious
File: /usr/bin/dpkg-shlibdeps
User: helmutg@debian.org
Usertags: rebootstrap

Hi Guillem,

I am not yet certain that this is a bug in dpkg, but I am filing it
prematurely due to the severity of the breakage observed. jenkins.d.n
did run into the dinstall adding dpkg 1.17.17. Almost immediately after
that, packages started to FTCBFS at various points with the error
message:

| dpkg-shlibdeps: error:  is not a valid version

The bad news is that this might mean dpkg is producing broken symbols
files.

Example instances:

https://jenkins.debian.net/job/rebootstrap_arm64_gcc49/93/console
https://jenkins.debian.net/job/rebootstrap_powerpc_gcc49_nobiarch/79/console
https://jenkins.debian.net/job/rebootstrap_mips_gcc49_nobiarch/75/console

It definitely is connected to that dinstall (by timing), but the
likelyhood that dpkg is involved is high.

I'm sorry for not providing more details at this point.

Helmut



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#764929; Package dpkg-dev. (Sun, 12 Oct 2014 12:21:14 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Sun, 12 Oct 2014 12:21:14 GMT) (full text, mbox, link).


Message #10 received at 764929@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Helmut Grohne <helmut@subdivi.de>, 764929@bugs.debian.org
Subject: Re: Bug#764929: dpkg-shlibdeps: error: is not a valid version
Date: Sun, 12 Oct 2014 14:16:39 +0200
Hi!

On Sun, 2014-10-12 at 14:05:47 +0200, Helmut Grohne wrote:
> Package: dpkg-dev
> Version: 1.17.17
> Severity: serious
> File: /usr/bin/dpkg-shlibdeps
> User: helmutg@debian.org
> Usertags: rebootstrap

> I am not yet certain that this is a bug in dpkg, but I am filing it
> prematurely due to the severity of the breakage observed. jenkins.d.n
> did run into the dinstall adding dpkg 1.17.17. Almost immediately after
> that, packages started to FTCBFS at various points with the error
> message:
> 
> | dpkg-shlibdeps: error:  is not a valid version
> 
> The bad news is that this might mean dpkg is producing broken symbols
> files.

I think I might know what's going on, checking now offlist.

> Example instances:
> 
> https://jenkins.debian.net/job/rebootstrap_arm64_gcc49/93/console
> https://jenkins.debian.net/job/rebootstrap_powerpc_gcc49_nobiarch/79/console
> https://jenkins.debian.net/job/rebootstrap_mips_gcc49_nobiarch/75/console
> 
> It definitely is connected to that dinstall (by timing), but the
> likelyhood that dpkg is involved is high.
> 
> I'm sorry for not providing more details at this point.

No problem.

Thanks,
Guillem



Added tag(s) pending. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sun, 12 Oct 2014 14:45:11 GMT) (full text, mbox, link).


Message sent on to Helmut Grohne <helmut@subdivi.de>:
Bug#764929. (Sun, 12 Oct 2014 14:45:15 GMT) (full text, mbox, link).


Message #15 received at 764929-submitter@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 764929-submitter@bugs.debian.org
Subject: Bug#764929 marked as pending
Date: Sun, 12 Oct 2014 14:43:03 +0000
tag 764929 pending
thanks

Hello,

Bug #764929 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=8f0122e

---
commit 8f0122e0c439de1ee4521a9009427aa3704de521
Author: Guillem Jover <guillem@debian.org>
Date:   Sun Oct 12 15:16:41 2014 +0200

    dpkg-shlibdeps: Handle empty minimum versions when initializing them
    
    If the minimum version is empty (which means it was 0), we cannot use it
    to compare against the existing minimum version if that exists, and we
    should not be overwritting that, either.
    
    Regression introduced in commit 51c55641fb6c66e149ea93c344cb788c68978c75.
    
    Closes: #764929

diff --git a/debian/changelog b/debian/changelog
index 248adbe..05e9b7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 dpkg (1.17.18) UNRELEASED; urgency=low
 
+  [ Guillem Jover ]
+  * Handle empty minimum versions when initializing dependency versions,
+    as the code is mapping the minimum version 0 to '' to avoid outputting
+    useless versions. Regression introduced in dpkg 1.17.17. Closes: #764929
+
   [ Updated programs translations ]
   * Catalan (Guillem Jover).
 



Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Sun, 12 Oct 2014 15:21:13 GMT) (full text, mbox, link).


Notification sent to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer. (Sun, 12 Oct 2014 15:21:13 GMT) (full text, mbox, link).


Message #20 received at 764929-close@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 764929-close@bugs.debian.org
Subject: Bug#764929: fixed in dpkg 1.17.18
Date: Sun, 12 Oct 2014 15:19:16 +0000
Source: dpkg
Source-Version: 1.17.18

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 764929@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 12 Oct 2014 15:47:44 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source all
Version: 1.17.18
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description:
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Closes: 764929
Changes:
 dpkg (1.17.18) unstable; urgency=low
 .
   [ Guillem Jover ]
   * Handle empty minimum versions when initializing dependency versions,
     as the code is mapping the minimum version 0 to '' to avoid outputting
     useless versions. Regression introduced in dpkg 1.17.17. Closes: #764929
 .
   [ Updated programs translations ]
   * Catalan (Guillem Jover).
 .
   [ Updated dselect translations ]
   * Catalan (Guillem Jover).
   * German (Sven Joachim).
Checksums-Sha1:
 4d39572c56afc8945b92abcb503c9e0cf25376f7 2057 dpkg_1.17.18.dsc
 f7dde390fba9816e0918ea95b32ef2cb141ebaf0 4314200 dpkg_1.17.18.tar.xz
 ec09ed592acdbc5bd22e9e9bb66aa205c4b46081 1494786 dpkg-dev_1.17.18_all.deb
 45e5b74d2bc3391d863b31b83f12d932c09e0c12 1028220 libdpkg-perl_1.17.18_all.deb
Checksums-Sha256:
 ffde40403d56cca3b6f0ffe53b759b933bc93e3b86abe163ecd3a10cdac0bfc0 2057 dpkg_1.17.18.dsc
 4e2ce2dd9fe3f64e69b7529d9f9b21fbe7689b9a7975fc23bad9e05dd37f3223 4314200 dpkg_1.17.18.tar.xz
 f49219455ddae50787fe23dbc27baa66c977f5e1ddd5a0849fdb7d303c3c11a6 1494786 dpkg-dev_1.17.18_all.deb
 627b1f442faf8ff288b1e36d1a9344d8966ed321c45a0daf86c962640e93e22d 1028220 libdpkg-perl_1.17.18_all.deb
Files:
 bb381a6b3d6a0599f3eec4fe66f89462 2057 admin required dpkg_1.17.18.dsc
 46797cfc810843384227194df78d0355 4314200 admin required dpkg_1.17.18.tar.xz
 69672d1d70f831f4e145fa4d603482ca 1494786 utils optional dpkg-dev_1.17.18_all.deb
 0dba5bbd5e4d8cd71f8a5707d6102c5d 1028220 perl optional libdpkg-perl_1.17.18_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUOo7kAAoJELlyvz6krlej1mUQAKAp3FFKDtI3B4U5NyAFi//g
96teFi9MFydITLdfqvtTlqUXH+ceAhnkqhYvP+53X46oCa0/Zdp4BWWZoT3BYLPa
3Ys8+fIcnv6oHZ5UZSqnKINgjZwxIsPB2SWjUStz4mRSnhfkuSoZ0fikn2Nq/YPp
SWi8zHmWt18yPqLens8rhGIwsT6jBG7srpjRf5Tdg0Vo4pxl3UEOO227ZEeuIT4t
N9KfvJ2k10SimEY8NsCIYAZb5r6gLjWGW9+kQOKcGlvvmbYlt3qRVJi/9QFR2BHj
o1guX7F7oWzX9uoPVEr6jtQshHJ1/o+MzC67Jnir6UklG2ChVLprwa5nQEAyeYdS
6ikgLt9FPOlVEURt/XnR+T297Hb4imaRiyRxebIvcB8C+YNScQy+e2kD0627Sd9Y
vy3K1PG9KKTnjXI9uMN0odTcU8FIdMOITzi5FHq+C4LPtkW/hyYpQzQRnDYxp+lX
I3NWbM1m+jmoS8/gx/lUeS84bcEZ3ityasRmQiOnuZcBp/AoPW5O0jmyXVz7rEQS
h1O8aJHkQDZ1QXS6VoobKjg/wjlbFQiYvzZ4KRms5k/xww1e5O2E0YkeLwaZLGH6
V9vF21JfI7hCu5jQMyP5W3yqR/B9bUwTDFqC3sGWEeGime6CPwNcWVg/xypoAG6V
VVYYMT8ivGHEFCDlnSG6
=79po
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 10 Nov 2014 07:27:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 02:01:18 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.