Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919210 - media-gfx/pngnq-1.1-r1 - rwpng.c: error: passing argument 3 of png_get_IHDR from incompatible pointer type [-Wincompatible-pointer-types]
Summary: media-gfx/pngnq-1.1-r1 - rwpng.c: error: passing argument 3 of png_get_IHDR f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:11 UTC by Toralf Förster
Modified: 2024-04-05 14:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.04 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,90.49 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
environment (environment,76.96 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.25 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.33 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
media-gfx:pngnq-1.1-r1:20231204-120811.log (media-gfx:pngnq-1.1-r1:20231204-120811.log,11.88 KB, text/plain)
2023-12-04 20:11 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,96.73 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.66 KB, application/x-xz)
2023-12-04 20:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-04 20:11:04 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o pngnq.o pngnq.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o neuquant32.o neuquant32.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o rwpng.o rwpng.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o pngcomp.o pngcomp.c
rwpng.c: In function rwpng_read_image:
rwpng.c:134:37: error: passing argument 3 of png_get_IHDR from incompatible pointer type [-Wincompatible-pointer-types]
  134 |     png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width, &mainprog_ptr->height,
      |                                     ^~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 1dc17df3c3253ecfe784434d3a20173662de005b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 11:16:56 2023 +0000

    2023-12-04 11:16:56 UTC

emerge -qpvO media-gfx/pngnq
[ebuild  N    ] media-gfx/pngnq-1.1-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:11:05 UTC
Created attachment 877001 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:11:06 UTC
Created attachment 877002 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:11:07 UTC
Created attachment 877003 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:11:08 UTC
Created attachment 877004 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:11:09 UTC
Created attachment 877005 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:11:10 UTC
Created attachment 877006 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:11:11 UTC
Created attachment 877007 [details]
media-gfx:pngnq-1.1-r1:20231204-120811.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:11:12 UTC
Created attachment 877008 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:11:13 UTC
Created attachment 877009 [details]
temp.tar.xz