Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581420 - media-libs/libpng clutters stdout and ~/.xsession-errors with useless messages
Summary: media-libs/libpng clutters stdout and ~/.xsession-errors with useless messages
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 07:38 UTC by om3i
Modified: 2016-05-14 07:55 UTC (History)
0 users

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 om3i 2016-04-28 07:38:39 UTC
media-libs/libpng clutters logs with useless messages such as:
>libpng warning: cHRM: inconsistent chromaticities
>libpng warning: iCCP: known incorrect sRGB profile
>libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG

Because incorrect images are for example downloaded by browser
from internet there is no way to fix these images.

Workaround: add -UPNG_WARNINGS_SUPPORTED to $CFLAGS.

Similar bugreports:
https://bugs.gentoo.org/show_bug.cgi?id=467936
https://bugs.gentoo.org/show_bug.cgi?id=541090
Comment 1 om3i 2016-04-28 07:39:59 UTC
Actually it seems -UPNG_WARNINGS_SUPPORTED doesn't work.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-29 08:33:14 UTC
/usr/lib/portage/python3.4/install-qa-check.d/60pngfix is causing these warnings. I'm pretty sure it's a feature.
Comment 3 om3i 2016-04-29 09:06:38 UTC
I'm not talking about build logs, i mean ~/.xsession-errors and stdout
Comment 4 SpanKY gentoo-dev 2016-05-13 18:22:20 UTC
meh, fix the broken images and the warnings go away.  afaik, we aren't doing anything special -- upstream libpng has decided to pull the ecosystem forward, and i don't think we should hold it back.