Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 875413

Summary: media-gfx/gimp-2.10.32-r1 - file-dicom.c: error: incompatible pointer to integer conversion returning
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: anton.gubarkov, chain, dnovomesky, proxy-maint, rolferen, syu.os
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.gnome.org/GNOME/gimp/-/issues/8807
https://gitlab.gnome.org/GNOME/gimp/-/issues/8649
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
media-gfx:gimp-2.10.32-r1:20221005-091749.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-05 18:09:40 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/u
clang -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/u
clang -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/u
clang -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/u
file-dicom.c:605:26: error: incompatible pointer to integer conversion returning
      'void *' from a function with result type 'gint32' (aka 'int')
      [-Wint-conversion]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221005-010004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0 *
GNU Make 4.3

  HEAD of ::gentoo
commit fb5a0618ed7d9dc82d317dba63284b1419c3c942
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 08:04:02 2022 +0000

    2022-10-05 08:04:02 UTC

emerge -qpvO media-gfx/gimp
[ebuild  N    ] media-gfx/gimp-2.10.32-r1  USE="alsa mng udev -aalib (-aqua) -debug -doc -gnome -heif -jpeg2k -jpegxl -openexr -postscript -test -unwind -vector-icons -webp -wmf -xpm" CPU_FLAGS_X86="mmx sse"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:09:41 UTC
Created attachment 820918 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:09:42 UTC
Created attachment 820921 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:09:43 UTC
Created attachment 820924 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:09:44 UTC
Created attachment 820927 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:09:45 UTC
Created attachment 820930 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:09:47 UTC
Created attachment 820933 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:09:48 UTC
Created attachment 820936 [details]
media-gfx:gimp-2.10.32-r1:20221005-091749.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:09:49 UTC
Created attachment 820939 [details]
temp.tar.bz2
Comment 9 Sergey Torokhov 2022-11-03 22:47:12 UTC
Upstream related issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/8807
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 00:43:37 UTC
*** Bug 886481 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 00:43:57 UTC
syu posted a patch at https://bugs.gentoo.org/886481#c1
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-21 19:14:10 UTC
*** Bug 887587 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2022-12-24 07:03:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54018acedbe26b1cce4de7afe5b91638aeec64a9

commit 54018acedbe26b1cce4de7afe5b91638aeec64a9
Author:     Mazunki Hoksaas <rolferen@gmail.com>
AuthorDate: 2022-12-21 06:46:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-24 07:02:19 +0000

    media-gfx/gimp: added patch to use nullptr
    
    Closes: https://bugs.gentoo.org/887587
    Closes: https://bugs.gentoo.org/875413
    Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28727
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gimp-2.10_fix_file-dicom-return-value.patch    |  15 ++
 media-gfx/gimp/gimp-2.10.32-r4.ebuild              | 213 +++++++++++++++++++++
 2 files changed, 228 insertions(+)
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 07:12:58 UTC
*** Bug 887587 has been marked as a duplicate of this bug. ***