Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934114 - media-sound/xfmpc-0.3.1 fails to compile: preferences.c:149:63: error: passing argument 2 of g_object_add_weak_pointer from incompatible pointer type [-Wincompatible-pointer-types]
Summary: media-sound/xfmpc-0.3.1 fails to compile: preferences.c:149:63: error: passin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-06-12 06:47 UTC by Agostino Sarubbo
Modified: 2025-01-03 05:01 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,164.08 KB, text/plain)
2024-06-12 06:47 UTC, Agostino Sarubbo
Details
build.log (build.log,113.88 KB, text/plain)
2024-12-11 06:53 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-12 06:47:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/xfmpc-0.3.1 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-12 06:47:49 UTC
Created attachment 895653 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-09 21:55:44 UTC
https://gitlab.xfce.org/apps/xfmpc/-/commit/d3430ad60e53ab214428890d34561d026d0b89e4 should be in 0.3.1 at least.

If this is still reproducible, it should be reported upstream. mgorny, can you hit it?
Comment 3 Leonid Kopylov 2024-12-11 06:53:52 UTC
Created attachment 913790 [details]
build.log
Comment 4 Leonid Kopylov 2024-12-11 06:54:03 UTC
still fails with gcc 14
Comment 5 younky 2024-12-24 08:50:04 UTC
(In reply to Sam James from comment #2)
> https://gitlab.xfce.org/apps/xfmpc/-/commit/
> d3430ad60e53ab214428890d34561d026d0b89e4 should be in 0.3.1 at least.
> 
> If this is still reproducible, it should be reported upstream. mgorny, can
> you hit it?

I think the issue is still there, I tried to applied the commits mentioned there, but failed. maybe upstream need to fix them.
Comment 6 Sungjoon Moon 2025-01-03 05:01:37 UTC
This issue is related to this gitlab[\.]gnome[\.]org/GNOME/vala/-/issues/1408 (Sorry it's new account so I can't add URL for 24 hours)

So I think it would be better to just add "-Wno-error=incompatible-pointer-types" in CFLAGS. Since it's vala application, it's tricky to patch it.