eclipse-swt failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=127946591 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix eclipse-swt at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, eclipse-swt will be orphaned. Before branching of Fedora 43, eclipse-swt will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2068917 [details] build.log
Created attachment 2068918 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2068919 [details] state.log
*** Bug 2339730 has been marked as a duplicate of this bug. ***
The error is that (see below) but currently haven't any idea what is the problem (gcc, gtk3, ...). I tried the latest eclipse-swt 4.34 but it's the same problem. I'm not a C developer and my know how is poor. Somebody have an idea? [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_Call__JJII’: [exec] os.c:10106:21: error: too many arguments to function ‘(jint (*)(void))arg0’; expected 0, have 3 [exec] 10106 | rc = (jint)((jint (*)())arg0)(arg1, arg2, arg3); [exec] | ~^~~~~~~~~~~~~~~~~ ~~~~ [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_Call__JJJ’: [exec] os.c:10118:21: error: too many arguments to function ‘(jint (*)(void))arg0’; expected 0, have 2 [exec] 10118 | rc = (jint)((jint (*)())arg0)(arg1, arg2); [exec] | ~^~~~~~~~~~~~~~~~~ ~~~~ [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_XCheckIfEvent’: [exec] os.c:10512:71: error: passing argument 3 of ‘XCheckIfEvent’ from incompatible pointer type [-Wincompatible-pointer-types] [exec] 10512 | rc = (jboolean)XCheckIfEvent((Display *)arg0, (XEvent *)arg1, (Bool (*)())arg2, (XPointer)arg3); [exec] | ^~~~~~~~~~~~~~~~ [exec] | | [exec] | int (*)(void) [exec] In file included from /usr/include/gtk-3.0/gdk/gdkx.h:30, [exec] from /usr/include/gtk-3.0/gtk/gtksocket.h:34, [exec] from /usr/include/gtk-3.0/gtk/gtkx.h:29, [exec] from os.h:60, [exec] from os_structs.h:19, [exec] from os.c:20: [exec] /usr/include/X11/Xlib.h:2105:5: note: expected ‘int (*)(Display *, XEvent *, char *)’ but argument is of type ‘int (*)(void)’ [exec] 2105 | Bool (*) ( [exec] | ^ [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_call__JJJJJ’: [exec] os.c:10724:22: error: too many arguments to function ‘(jlong (*)(void))arg0’; expected 0, have 4 [exec] 10724 | rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4); [exec] | ~^~~~~~~~~~~~~~~~~~ ~~~~ [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_call__JJJJJJJ’: [exec] os.c:10736:22: error: too many arguments to function ‘(jlong (*)(void))arg0’; expected 0, have 6 [exec] 10736 | rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6); [exec] | ~^~~~~~~~~~~~~~~~~~ ~~~~ [exec] os.c: In function ‘Java_org_eclipse_swt_internal_gtk_OS_call__JJJJJJJJ’: [exec] os.c:10748:22: error: too many arguments to function ‘(jlong (*)(void))arg0’; expected 0, have 7 [exec] 10748 | rc = (jlong)((jlong (*)())arg0)(arg1, arg2, arg3, arg4, arg5, arg6, arg7); [exec] | ~^~~~~~~~~~~~~~~~~~ ~~~~ [exec] *** GTK3 Build failed, aborting further actions.. [exec] make: *** [make_linux.mak:144: os.o] Error 1
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
FEDORA-2025-5bb7e20e3f (eclipse-swt-4.29-8.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-5bb7e20e3f
FEDORA-2025-5bb7e20e3f has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-5bb7e20e3f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-5bb7e20e3f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-5bb7e20e3f (eclipse-swt-4.29-8.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.