Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919282 - media-gfx/gimp-2.10.36-r1 - file-tiff-load.c: error: passing argument 2 of gimp_image_get_resolution from incompatible pointer type [-Wincompatible-po
Summary: media-gfx/gimp-2.10.36-r1 - file-tiff-load.c: error: passing argument 2 of gi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 14:17 UTC by Toralf Förster
Modified: 2024-03-16 05:17 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.67 KB, text/plain)
2023-12-05 14:17 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,69.34 KB, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
environment (environment,99.53 KB, text/plain)
2023-12-05 14:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.98 KB, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,22.81 KB, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
media-gfx:gimp-2.10.36-r1:20231205-133639.log.xz (media-gfx:gimp-2.10.36-r1:20231205-133639.log.xz,69.07 KB, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.19 KB, application/x-xz)
2023-12-05 14:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,93.42 KB, application/x-xz)
2023-12-05 14:17 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-05 14:17:11 UTC
file-tiff-load.c:572:7: warning: uint16 is deprecated [-Wdeprecated-declarations]
  572 |       uint16            planar  = PLANARCONFIG_CONTIG;
      |       ^~~~~~
file-tiff-load.c:1239:9: warning: uint32 is deprecated [-Wdeprecated-declarations]
 1239 |         uint32        count       = 0;
      |         ^~~~~~
file-tiff-load.c:1372:56: error: passing argument 2 of gimp_image_get_resolution from incompatible pointer type [-Wincompatible-pointer-types]
 1372 |                     gimp_image_get_resolution (*image, &xres, &yres);
      |                                                        ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231128-165524

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

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.7
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 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit e6b12bcbc8107bb5db49e2f0e33a5d998da04b89
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 13:16:57 2023 +0000

    2023-12-05 13:16:57 UTC

emerge -qpvO media-gfx/gimp
[ebuild     U ] media-gfx/gimp-2.10.36-r1 [2.10.36] USE="aalib heif jpeg2k jpegxl mng openexr postscript udev webp wmf -alsa (-aqua) -debug -doc -gnome -test -unwind -vector-icons -xpm" CPU_FLAGS_X86="mmx sse"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 14:17:12 UTC
Created attachment 877492 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 14:17:14 UTC
Created attachment 877493 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 14:17:15 UTC
Created attachment 877494 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 14:17:16 UTC
Created attachment 877495 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 14:17:17 UTC
Created attachment 877496 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 14:17:18 UTC
Created attachment 877497 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 14:17:19 UTC
Created attachment 877498 [details]
media-gfx:gimp-2.10.36-r1:20231205-133639.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-05 14:17:20 UTC
Created attachment 877499 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 14:17:23 UTC
Created attachment 877500 [details]
temp.tar.xz
Comment 12 Larry the Git Cow gentoo-dev 2024-03-16 05:17:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b70d238e0d292577542e5880b7aef8db32f8d5c

commit 5b70d238e0d292577542e5880b7aef8db32f8d5c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-16 05:16:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-16 05:16:34 +0000

    media-gfx/gimp: modern C fixes
    
    Closes: https://bugs.gentoo.org/919282
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gimp/files/gimp-2.10.36_c99_metadata.patch     |  27 +++
 media-gfx/gimp/files/gimp-2.10.36_c99_tiff.patch   |  27 +++
 media-gfx/gimp/gimp-2.10.36-r2.ebuild              | 217 +++++++++++++++++++++
 3 files changed, 271 insertions(+)