Summary: | media-gfx/pngtools-0.4-r2 - [perl-5.40] [ncurses-6.5] [icu-75.1] pnginfo.c: error: passing argument 3 of png_get_IHDR from incompatible pointer type [-Wincompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jy6x2b32pie9 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz media-gfx:pngtools-0.4-r2:20240705-165713.log qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 897159 [details]
emerge-info.txt
Created attachment 897160 [details]
emerge-history.txt
Created attachment 897161 [details]
environment
Created attachment 897162 [details]
etc.clang.tar.xz
Created attachment 897163 [details]
etc.portage.tar.xz
Created attachment 897164 [details]
logs.tar.xz
Created attachment 897165 [details]
media-gfx:pngtools-0.4-r2:20240705-165713.log
Created attachment 897166 [details]
qlist-info.txt.xz
Created attachment 897167 [details]
temp.tar.xz
What. That's impossible bug. In pnginfo.c we have at, at the start of the function pnginfo_displayfile, line 139: png_uint_32 width, height; In /usr/include/libpng16/pngconf.h we have a definition of png_uint_32: #if UINT_MAX > 4294967294U typedef unsigned int png_uint_32; #elif ULONG_MAX > 4294967294U typedef unsigned long int png_uint_32; #else This bug can happen if size of UINT_MAX changed halfway through compilation. |