Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929019 - media-libs/netpbm-11.5.3 - pnmtorle.c: error: passing argument 1 of rle_addhist from incompatible pointer type [-Wincompatible-pointer-types]
Summary: media-libs/netpbm-11.5.3 - pnmtorle.c: error: passing argument 1 of rle_addhi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard: fixed in 11.2.9-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-09 17:38 UTC by Toralf Förster
Modified: 2024-11-01 15:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2024-04-09 17:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.18 KB, text/plain)
2024-04-09 17:38 UTC, Toralf Förster
Details
environment (environment,82.55 KB, text/plain)
2024-04-09 17:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.32 KB, application/x-xz)
2024-04-09 17:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.04 KB, application/x-xz)
2024-04-09 17:38 UTC, Toralf Förster
Details
media-libs:netpbm-11.5.3:20240409-170935.log.xz (media-libs:netpbm-11.5.3:20240409-170935.log.xz,22.92 KB, application/x-xz)
2024-04-09 17:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,45.45 KB, application/x-xz)
2024-04-09 17:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.74 KB, application/x-xz)
2024-04-09 17:38 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 2024-04-09 17:38:25 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -Wall -c -I.  -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc/netpbm -I/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3/converter/ppm  -DNDEBUG     -O3 -pipe -mar
make[2]: Leaving directory '/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3/converter/pbm'
x86_64-pc-linux-gnu-gcc -Wall -c -I.  -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc/netpbm -I/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3/converter/ppm  -DNDEBUG     -O3 -pipe -mar
x86_64-pc-linux-gnu-gcc -Wall -c -I.  -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc/netpbm -I/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3/converter/ppm  -DNDEBUG     -O3 -pipe -mar
x86_64-pc-linux-gnu-gcc -Wall -c -I.  -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc -I"/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3"/importinc/netpbm -I/var/tmp/portage/media-libs/netpbm-11.5.3/work/netpbm-11.5.3/converter/other  -DNDEBUG     -O3 -pipe -m
pnmtorle.c: In function main:
pnmtorle.c:379:25: error: passing argument 1 of rle_addhist from incompatible pointer type [-Wincompatible-pointer-types]
  379 |             rle_addhist(argv, NULL, &hdr);
      |                         ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240406-093014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit d145aa7f5b9eff3ad01d2efb0e19db8c25a0d9ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 9 16:34:21 2024 +0000

    2024-04-09 16:34:21 UTC

emerge -qpvO media-libs/netpbm
[ebuild  N    ] media-libs/netpbm-11.5.3  USE="rle -X -jbig -jpeg -png -postscript -static-libs (-svga) -tiff -xml" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2024-04-09 17:38:26 UTC
Created attachment 890094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-09 17:38:27 UTC
Created attachment 890095 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-09 17:38:29 UTC
Created attachment 890096 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-09 17:38:29 UTC
Created attachment 890097 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-09 17:38:30 UTC
Created attachment 890098 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-09 17:38:31 UTC
Created attachment 890099 [details]
media-libs:netpbm-11.5.3:20240409-170935.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-09 17:38:32 UTC
Created attachment 890100 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-09 17:38:33 UTC
Created attachment 890101 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-04-12 10:04:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767b1858b6e42a550309b1daff116f1dda1ba4f4

commit 767b1858b6e42a550309b1daff116f1dda1ba4f4
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-04-12 10:01:01 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-04-12 10:04:44 +0000

    media-libs/netpbm: fix build with gcc-14
    
    Closes: https://bugs.gentoo.org/929019
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../files/netpbm-11.6.1-incompatible-pointer-types.patch    | 13 +++++++++++++
 .../{netpbm-11.2.9.ebuild => netpbm-11.2.9-r1.ebuild}       |  1 +
 .../{netpbm-11.6.1.ebuild => netpbm-11.6.1-r1.ebuild}       |  1 +
 3 files changed, 15 insertions(+)