Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919219 - media-libs/libgpod-0.8.3-r6 - /.../gobject.h: error: returning GObject {aka struct _GObject } from a function with incompatible return type GdkPixbuf
Summary: media-libs/libgpod-0.8.3-r6 - /.../gobject.h: error: returning GObject {aka s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: patch
Keywords: PATCH
: 944959 (view as bug list)
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-04 20:14 UTC by Toralf Förster
Modified: 2024-11-25 19:01 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2023-12-04 20:14 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,96.18 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
environment (environment,76.86 KB, text/plain)
2023-12-04 20:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.08 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.93 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.59 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
media-libs:libgpod-0.8.3-r6:20231204-094407.log (media-libs:libgpod-0.8.3-r6:20231204-094407.log,60.81 KB, text/plain)
2023-12-04 20:14 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,94.39 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.00 KB, application/x-xz)
2023-12-04 20:14 UTC, Toralf Förster
Details
patch from Fedora (pointer-types.patch,875 bytes, patch)
2024-07-19 17:36 UTC, Michael Cook
Details | Diff
latest plist dropped dict insert item (latest_plist_fix.patch,954 bytes, patch)
2024-10-19 00:31 UTC, René Kjellerup
Details | Diff

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:14:03 UTC
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:32,
                 from pixmaps.h:43,
                 from ithumb-writer.c:36:
ithumb-writer.c: In function 'ithumb_writer_handle_rotation':
/usr/include/glib-2.0/gobject/gobject.h:548:28: error: returning 'GObject *' {aka 'struct _GObject *'} from a function with incompatible return type 'GdkPixbuf *' {aka 'struct _GdkPixbuf *'} [-Wincompatible-pointer-types]
  548 | #define g_object_ref(Obj) ((glib_typeof (Obj)) (g_object_ref) (Obj))
      |                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

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

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
  [2]   rust-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

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit dc1c685233f21b36cebf684975a52a7bf0d3eeb7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 08:51:55 2023 +0000

    2023-12-04 08:51:55 UTC

emerge -qpvO media-libs/libgpod
[ebuild  N    ] media-libs/libgpod-0.8.3-r6  USE="gtk udev -ios"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:14:04 UTC
Created attachment 877082 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:14:05 UTC
Created attachment 877083 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:14:07 UTC
Created attachment 877084 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:14:07 UTC
Created attachment 877085 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:14:09 UTC
Created attachment 877086 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:14:10 UTC
Created attachment 877087 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:14:11 UTC
Created attachment 877088 [details]
media-libs:libgpod-0.8.3-r6:20231204-094407.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:14:12 UTC
Created attachment 877089 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:14:14 UTC
Created attachment 877090 [details]
temp.tar.xz
Comment 10 Michael Cook 2024-07-19 17:36:26 UTC
Created attachment 898000 [details, diff]
patch from Fedora

This patch from Fedora appears to be working for me.
Comment 11 Gary E. Miller 2024-09-28 19:15:09 UTC
#MeToo

media-libs/libgpod-0.8.3-r7
Comment 12 René Kjellerup 2024-10-19 00:31:14 UTC
Created attachment 906327 [details, diff]
latest plist dropped dict insert item

app-pda/libplist had deprecated plist_dict_insert_item in 
favor of plist_dict_set_item
and finally plist_dict_insert_item was dropped with version 2.6.0

this patch fixes this issue.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-25 02:17:53 UTC
(In reply to Michael Cook from comment #10)
> Created attachment 898000 [details, diff] [details, diff]
> patch from Fedora
> 
> This patch from Fedora appears to be working for me.

Please always include link(s) for provenance: https://src.fedoraproject.org/rpms/libgpod/blob/rawhide/f/pointer-types.patch.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-25 02:20:56 UTC
(In reply to René Kjellerup from comment #12)

That's already there in libgpod-0.8.3-plist-2.3.patch, isn't it?
Comment 15 Larry the Git Cow gentoo-dev 2024-11-25 02:29:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a61cb07c3d49395d59dfe62c6d7d6b1a6933fa

commit 46a61cb07c3d49395d59dfe62c6d7d6b1a6933fa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-25 02:28:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-25 02:28:42 +0000

    media-libs/libgpod: fix modern C issue
    
    Closes: https://bugs.gentoo.org/919219
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libgpod/files/libgpod-0.8.3-pixbuf.patch       | 25 +++++++
 media-libs/libgpod/libgpod-0.8.3-r8.ebuild         | 80 ++++++++++++++++++++++
 2 files changed, 105 insertions(+)
Comment 16 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-25 19:01:00 UTC
*** Bug 944959 has been marked as a duplicate of this bug. ***