Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308681 - <=media-gfx/pngcrush-1.7.9 doesn't compile (libpng14 related?)
Summary: <=media-gfx/pngcrush-1.7.9 doesn't compile (libpng14 related?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-03-09 16:47 UTC by Samuli Suominen (RETIRED)
Modified: 2010-03-13 14:15 UTC (History)
0 users

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


Attachments
pngcrush-1.7.9.ebuild (pngcrush-1.7.9.ebuild,796 bytes, text/plain)
2010-03-09 16:49 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 16:47:34 UTC
Likely libpng-1.4.1 related, will try with libpng 1.2 later on.

>>> Compiling source in /var/tmp/portage/media-gfx/pngcrush-1.7.6/work/pngcrush-1.7.6-nolib ...
make -j9 
x86_64-pc-linux-gnu-gcc -march=core2 -msse4.1 -O2 -pipe -I. -Wall -DPNG_USE_PNGGCCRD -DPNG_iCCP_SUPPORTED -DPNG_iTXt_SUPPORTED -DPNG_USE_GLOBAL_ARRAYS -DGAS_VERSION="\"2.20.1.20100303\"" -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  pngcrush.c  -lpng -lz -o pngcrush
pngcrush.c:1243: error: expected declaration specifiers or ‘...’ before ‘*’ token
pngcrush.c:1243: error: expected ‘)’ before ‘<<’ token
pngcrush.c:1243: error: expected ‘)’ before ‘+’ token
pngcrush.c: In function ‘main’:
pngcrush.c:3437: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
make: *** [pngcrush] Error 1


That said, there's a new version from upstream available too (also doesn't compile)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-09 16:49:57 UTC
Created attachment 222849 [details]
pngcrush-1.7.9.ebuild

It's pretty much a rename of old ebuild, just attaching here so that it doesn't get lost...
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-12 11:22:12 UTC
reported to upstream bugtracking system at sf.net

https://sourceforge.net/tracker/?func=detail&aid=2952206&group_id=1689&atid=101689
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-03-13 14:15:37 UTC
thanks to quick response from upstream.

+*pngcrush-1.7.10 (13 Mar 2010)
+
+  13 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +pngcrush-1.7.10.ebuild:
+  Version bump wrt #308681. This version will compile against libpng-1.4.