pngcrush compiled against wrong PNG library version

Bug #100017 reported by Robin Sheat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pngcrush (Debian)
Fix Released
Unknown
pngcrush (Ubuntu)
Fix Released
Low
William Grant

Bug Description

Binary package hint: pngcrush

In Feisty, running pngcrush says:
Warning: versions are different between png.h and png.c
  png.h version: 1.2.13
  png.c version: 1.2.15beta5

The verbose details say:
 | Executable name is pngcrush
 | It was built with libpng version 1.2.13, and is
 | running with libpng version 1.2.15beta5 - December 8, 2006 (header)

Revision history for this message
In , Peter S Galbraith (psg) wrote :

About 9 months ago, Michael Johnson <email address hidden> wrote:

> The exact message is:
> Warning: versions are different between png.h and png.c
> png.h version: 1.0.12
> png.c version: 1.0.15

As an additional irritant, it outputs the warning when the quiet (-q)
option is used. I see the warning in logs everyday now...

--
Peter S. Galbraith, Debian Developer <email address hidden>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE 6E68 8170 35FF 799E

Revision history for this message
In , Kapil Hari Paranjape (kapil) wrote : Bug#203020: fixed in pngcrush 1.6.2-1

Source: pngcrush
Source-Version: 1.6.2-1

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

pngcrush_1.6.2-1.diff.gz
  to pool/main/p/pngcrush/pngcrush_1.6.2-1.diff.gz
pngcrush_1.6.2-1.dsc
  to pool/main/p/pngcrush/pngcrush_1.6.2-1.dsc
pngcrush_1.6.2-1_powerpc.deb
  to pool/main/p/pngcrush/pngcrush_1.6.2-1_powerpc.deb
pngcrush_1.6.2.orig.tar.gz
  to pool/main/p/pngcrush/pngcrush_1.6.2.orig.tar.gz

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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kapil Hari Paranjape <email address hidden> (supplier of updated pngcrush 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 <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 22 Mar 2006 20:20:46 +0530
Source: pngcrush
Binary: pngcrush
Architecture: source powerpc
Version: 1.6.2-1
Distribution: unstable
Urgency: low
Maintainer: Kapil Hari Paranjape <email address hidden>
Changed-By: Kapil Hari Paranjape <email address hidden>
Description:
 pngcrush - optimizes PNG (Portable Network Graphics) files
Closes: 158932 203020 223429 275742 275744 289061 328401 328402 330026 331068 337186 338659 352177 353392 355693
Changes:
 pngcrush (1.6.2-1) unstable; urgency=low
 .
   * New Maintainer Closes: #353392
   * New upstream release.
     - The options -itxt and -ztxt are supported.
       Closes: #328402.
     - Versions of png.c and png.h match. Closes: #203020, #289061.
   * Builds against current version of libpng12-dev.
     Closes: #331068, #338659, #355693, #352177, #330026, #223429.
   * Build uses some internal replacements for "PRIVATE"
     routines from "libpng" as provided by upstream author.
   * Fixed typos in debian/pngcrush.sgml.
     Closes: #337186.
   * Fixed order in SYNOPSIS section of man page.
     Closes: #275742.
   * Added note to man page that "-cc" option is currently
     disabled. Closes: #158932, #275744.
   * Corrected description of "text chunks" in man
     page. Closes: #328401.
   * Updated Standards Version to 3.6.2
   * Using debhelper compatibility version 5.
Files:
 d50f58381c2437251f9efc50d460110d 612 graphics optional pngcrush_1.6.2-1.dsc
 dc44bfe0a73bd579d49546f7796ec198 47693 graphics optional pngcrush_1.6.2.orig.tar.gz
 c5cb291822dbc1de6d01651f5099b0f9 11622 graphics optional pngcrush_1.6.2-1.diff.gz
 ff872ce4194114d3b3065dc47bb71921 47144 graphics optional pngcrush_1.6.2-1_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKqGwBxd04ADYzRYRAjzNAKCvOh3Eimtkj3ZAt/FqKyVQ3XmxQgCdEOxZ
GO/n0lVH9FrAoy5gvYI021Y=
=WATw
-----END PGP SIGNATURE-----

Revision history for this message
Robin Sheat (eythian) wrote :

Binary package hint: pngcrush

In Feisty, running pngcrush says:
Warning: versions are different between png.h and png.c
  png.h version: 1.2.13
  png.c version: 1.2.15beta5

The verbose details say:
 | Executable name is pngcrush
 | It was built with libpng version 1.2.13, and is
 | running with libpng version 1.2.15beta5 - December 8, 2006 (header)

Revision history for this message
William Grant (wgrant) wrote :

Fixed in 1.6.4-3build1.

Changed in pngcrush:
assignee: nobody → fujitsu
importance: Undecided → Low
status: Unconfirmed → Fix Committed
William Grant (wgrant)
Changed in pngcrush:
status: Fix Committed → Fix Released
Changed in pngcrush:
status: Unknown → Fix Released
Revision history for this message
In , Martijn (kleptog) wrote : pngcrush: still reports different versions for png.h and png.c

Package: pngcrush
Version: 1.6.4-3
Followup-For: Bug #203020

found 1.6.4-3

pngcrush shows a warning about mismatched versions (see below). Considering
this bug has occurred and been fixed several times before, perhaps it is a
good idea to have a check during the build process that the program actually
works.

Thanks in advance,

--- snip ---
$ pngcrush |head
Warning: versions are different between png.h and png.c
  png.h version: 1.2.13
  png.c version: 1.2.15beta5

 | pngcrush 1.6.4
 | Copyright (C) 1998-2002,2006 Glenn Randers-Pehrson
 | Copyright (C) 2005 Greg Roelofs
 | This is a free, open-source program. Permission is irrevocably
 | granted to everyone to use this version of pngcrush without
--- snip ---

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pngcrush depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii zlib1g 1:1.2.3-13 compression library - runtime

pngcrush recommends no packages.

-- no debconf information

Revision history for this message
In , Kapil Hari Paranjape (kapil-debian) wrote : Bug#203020: fixed in pngcrush 1.6.4-4

Source: pngcrush
Source-Version: 1.6.4-4

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

pngcrush_1.6.4-4.diff.gz
  to pool/main/p/pngcrush/pngcrush_1.6.4-4.diff.gz
pngcrush_1.6.4-4.dsc
  to pool/main/p/pngcrush/pngcrush_1.6.4-4.dsc
pngcrush_1.6.4-4_i386.deb
  to pool/main/p/pngcrush/pngcrush_1.6.4-4_i386.deb

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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kapil Hari Paranjape <email address hidden> (supplier of updated pngcrush 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 <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 4 Aug 2007 06:37:51 +0530
Source: pngcrush
Binary: pngcrush
Architecture: source i386
Version: 1.6.4-4
Distribution: unstable
Urgency: low
Maintainer: Kapil Hari Paranjape <email address hidden>
Changed-By: Kapil Hari Paranjape <email address hidden>
Description:
 pngcrush - optimizes PNG (Portable Network Graphics) files
Closes: 203020 411028
Changes:
 pngcrush (1.6.4-4) unstable; urgency=low
 .
   * debian/watch: fixed sourceforge url.
   * debian/pngcrush.sgml: first line of synopsis now uses "infile
     outfile" instead of list of files. Closes: #411028.
   * debian/patches/pngcrush_relocate_warning: relocated warning about
     different versions to verbose header. Closes: #203020.
   * debian/control: changed all maintainer's email addresses.
Files:
 08e36c8efe0fd2f0312269f2ca7f3f57 669 graphics optional pngcrush_1.6.4-4.dsc
 fb628d89c05475fa61455d58cde6cc8c 12882 graphics optional pngcrush_1.6.4-4.diff.gz
 30e0e4819a7a52f2c9dfb862fc4fb953 45078 graphics optional pngcrush_1.6.4-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGuANWSR+P2lQW5bgRAt9zAKDzD+SFWbNlT9KTMQykol288JP9ngCggMOu
m5J83avsjkF4rNF6HjHFl0Y=
=HbDM
-----END PGP SIGNATURE-----

Revision history for this message
In , Debbugs Internal Request (owner-bugs) wrote : Internal Control

# A New Hope
# A log time ago, in a galaxy far, far away
# something happened.
#
# Magically this resulted in the following
# action being taken, but this fake control
# message doesn't tell you why it happened
#
# The action:
# Bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator

Revision history for this message
Victor Engmark (victor-engmark) wrote :

It's back in Ubuntu 13.04:

|| Warning: versions are different between png.h and png.c
|| png.h version: 1.2.42
|| png.c version: 1.2.49

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.