Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944077 - =x11-libs/libfm-1.3.2-r1 fails with c23/gcc-15.0.0_pre20241117: fm-dummy-monitor.c:48:22: error: assignment to 'gboolean (*)(GFileMonitor *)' {aka 'int (*)(struct _GFileMonitor *)'} from incompatible pointer type 'gboolean (*)(void)' {aka 'int (*)(void)'}
Summary: =x11-libs/libfm-1.3.2-r1 fails with c23/gcc-15.0.0_pre20241117: fm-dummy-moni...
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:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 07:18 UTC by tdr
Modified: 2024-12-24 21:03 UTC (History)
1 user (show)

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


Attachments
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-20 07:18 UTC, tdr
Details
build fail log (libfm-1.3.2-r1.build.log,205.69 KB, text/plain)
2024-11-20 07:19 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-20 07:18:24 UTC
c23 is stricter than previous standards

Reproducible: Always

Actual Results:  
base/fm-dummy-monitor.c:48:22: error: assignment to 'gboolean (*)(GFileMonitor *)' {aka 'int (*)(struct _GFileMonitor *)'} from incompatible pointer type 'gboolean (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types]
   48 |     fm_class->cancel = cancel;
      |                      ^


build is successful with CFLAGS="${CFLAGS} -std=gnu17"
Comment 1 tdr 2024-11-20 07:18:48 UTC
Created attachment 910440 [details]
emerge --info
Comment 2 tdr 2024-11-20 07:19:47 UTC
Created attachment 910441 [details]
build fail log
Comment 3 Larry the Git Cow gentoo-dev 2024-12-24 21:03:43 UTC
The bug has been closed via the following commit(s):

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

commit de9c0194f3adc413f96a64d072ea3a7a1dd6b1d9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-24 21:03:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-24 21:03:14 +0000

    x11-libs/libfm: build w/ -std=gnu17
    
    It's on life-support upstream, really.
    
    Closes: https://bugs.gentoo.org/944077
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-libs/libfm/libfm-1.3.2-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)