Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628366 - sci-astronomy/astrometry-0.72 - libpng error: Invalid IHDR data
Summary: sci-astronomy/astrometry-0.72 - libpng error: Invalid IHDR data
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-20 09:50 UTC by paul g.
Modified: 2017-08-26 11:34 UTC (History)
0 users

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


Attachments
Full error log of astrometry (astrometry_solve_error.txt,1.86 KB, text/plain)
2017-08-20 09:50 UTC, paul g.
Details
emerge --info (emerge-info.txt,5.89 KB, text/plain)
2017-08-20 09:53 UTC, paul g.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paul g. 2017-08-20 09:50:46 UTC
Created attachment 489772 [details]
Full error log of astrometry

sci-astronomy/astrometry-0.72 emerged without errors, but solving any images fails with (see attachment):
"cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't read PPM images"
Same happens if I install it manually and not via portage.
Comment 1 paul g. 2017-08-20 09:53:19 UTC
Created attachment 489778 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-08-26 11:28:08 UTC
(In reply to paul g. from comment #0)
> Created attachment 489772 [details]
> Full error log of astrometry
> 
> sci-astronomy/astrometry-0.72 emerged without errors, but solving any images
> fails with (see attachment):
> "cairoutils.c:715:cairoutils_read_ppm_stream: Netpbm is not available; can't
> read PPM images"

That's not the error. The PBM warnings are just warnings. It's reading a PNG file and *that* fails.
Comment 3 paul g. 2017-08-26 11:34:10 UTC
I solved it for me with astrometry from git commenting out this line in

astrometry.net/util/makefile.netpbm:

#NETPBM_INC ?=

and adding this line instead:

NETPBM_INC=-I/usr/include/netpbm

and recompile, it works now.

Sorry for posting this as bug.