Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433728 - media-gfx/pngcrush-1.7.35 - pngcrush caught libpng error: Valid palette required for paletted images
Summary: media-gfx/pngcrush-1.7.35 - pngcrush caught libpng error: Valid palette re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-02 22:57 UTC by Andrea
Modified: 2012-09-05 01:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2012-09-02 22:57:18 UTC
wget https://simple-launcher.googlecode.com/svn-history/r2/trunk/res/drawable-sw600dp-xhdpi/portal_ring_outer_holo.png

pngcrush -q -brute portal_ring_outer_holo.png portal_ring_outer_holo.png.out
While converting portal_ring_outer_holo.png to portal_ring_outer_holo.png.out:
  pngcrush caught libpng error:
   Valid palette required for paletted images

version 1.7.25 was fine on the same png, the problem started happening with the 1.7.35 upgrade.

Noticed because of errors while building cyanogenmod9.
Comment 1 Michael Orlitzky gentoo-dev 2012-09-03 00:12:20 UTC
This just needs a version bump, the problem was upstream:

Change log:

Version 1.7.37 (built with libpng-1.5.12 and zlib-1.2.7)
  Reverted pngcrush.c back to 1.7.35 and fixed the bug with PLTE handling.

Version 1.7.36 (built with libpng-1.5.12 and zlib-1.2.7)
  Reverted pngcrush.c to version 1.7.34 because pngcrush is failing with
    some paletted PNGs.
  Separated CFLAGS and CPPFLAGS in the makefile (with "-I" and "-DZ_SOLO"
    in CPPFLAGS)
Comment 2 Tim Harder gentoo-dev 2012-09-05 01:09:45 UTC
(In reply to comment #1)
> This just needs a version bump, the problem was upstream:

Which was already done before this bug was reported.