Bug 2340110 - eclipse-swt: FTBFS in Fedora rawhide/f42
Summary: eclipse-swt: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-swt
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas De Amicis
QA Contact:
URL:
Whiteboard:
: 2339730 (view as bug list)
Depends On:
Blocks: F41FTBFS F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 19:31 UTC by Fedora Release Engineering
Modified: 2025-03-15 00:35 UTC (History)
1 user (show)

Fixed In Version: eclipse-swt-4.29-8.fc42
Clone Of:
Environment:
Last Closed: 2025-03-15 00:35:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (25.26 KB, text/plain)
2025-01-22 19:31 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 19:31 UTC, Fedora Release Engineering
no flags Details
state.log (1.64 KB, text/plain)
2025-01-22 19:31 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 19:31:38 UTC
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/

Comment 1 Fedora Release Engineering 2025-01-22 19:31:41 UTC
Created attachment 2068917 [details]
build.log

Comment 2 Fedora Release Engineering 2025-01-22 19:31:42 UTC
Created attachment 2068918 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 19:31:43 UTC
Created attachment 2068919 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 21:04:07 UTC
*** Bug 2339730 has been marked as a duplicate of this bug. ***

Comment 5 Nicolas De Amicis 2025-01-31 20:18:36 UTC
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

Comment 6 Aoife Moloney 2025-02-26 13:28:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 7 Fedora Update System 2025-02-28 10:13:27 UTC
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

Comment 8 Fedora Update System 2025-03-01 01:54:25 UTC
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.

Comment 9 Fedora Update System 2025-03-15 00:35:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.