Control: tags -1 patch Hi, On Wed, Jul 03, 2024 at 12:29:16PM +0000, Matthias Klose wrote:
Package: src:gridengine Version: 8.1.9+dfsg-11.1 Severity: important Tags: sid trixie User: debian-gcc@lists.debian.org Usertags: ftbfs-gcc-14
...
../Xmt310/Xmt/MsgDialogs.c:542:49: error: passing argument 5 of ‘_XmtDisplayMessage’ from incompatible pointer type [-Wincompatible-pointer-types]
542 | _XmtDisplayMessage(w, name, class, message, &args, title, help, icon,
| ^~~~~
| |
| __va_list_tag **
../Xmt310/Xmt/MsgDialogs.c:337:63: note: expected ‘__va_list_tag (*)[1]’ but argument is of type ‘__va_list_tag **’
337 | StringConst msg_default, va_list *msg_args,
| ~~~~~~~~~^~~~~~~~
../Xmt310/Xmt/MsgDialogs.c: In function ‘XmtDisplayMessageAndWaitVaList’:
../Xmt310/Xmt/MsgDialogs.c:603:57: error: passing argument 5 of ‘_XmtDisplayMessage’ from incompatible pointer type [-Wincompatible-pointer-types]
603 | block = _XmtDisplayMessage(w, name, class, message, &args,
| ^~~~~
| |
| __va_list_tag **
../Xmt310/Xmt/MsgDialogs.c:337:63: note: expected ‘__va_list_tag (*)[1]’ but argument is of type ‘__va_list_tag **’
337 | StringConst msg_default, va_list *msg_args,
| ~~~~~~~~~^~~~~~~~
I proposed one patch to fix the issue, please review it. -- Regards, -- Bo YU
diff -Nru gridengine-8.1.9+dfsg/debian/changelog gridengine-8.1.9+dfsg/debian/changelog
--- gridengine-8.1.9+dfsg/debian/changelog 2024-05-30 07:41:12.000000000 +0800
+++ gridengine-8.1.9+dfsg/debian/changelog 2025-01-14 22:31:38.000000000 +0800
@@ -1,3 +1,10 @@
+gridengine (8.1.9+dfsg-11.2) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix incompatible pointer type issue. (Closes: #1075042)
+
+ -- Bo YU <tsu.yubo@gmail.com> Tue, 14 Jan 2025 22:31:38 +0800
+
gridengine (8.1.9+dfsg-11.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru gridengine-8.1.9+dfsg/debian/patches/fix-gcc14-ftbfs.patch gridengine-8.1.9+dfsg/debian/patches/fix-gcc14-ftbfs.patch
--- gridengine-8.1.9+dfsg/debian/patches/fix-gcc14-ftbfs.patch 1970-01-01 07:30:00.000000000 +0730
+++ gridengine-8.1.9+dfsg/debian/patches/fix-gcc14-ftbfs.patch 2025-01-14 22:31:30.000000000 +0800
@@ -0,0 +1,36 @@
+Description: fix gcc-14 build issuse
+Author: Bo YU <tsu.yubo@gmail.com>
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075042
+Forwarded: https://github.com/daimh/sge/pull/41
+Last-Update: 2025-01-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/source/3rdparty/qmon/Xmt310/Xmt/MsgDialogs.c
++++ b/source/3rdparty/qmon/Xmt310/Xmt/MsgDialogs.c
+@@ -539,7 +539,7 @@
+ va_list args;
+ #endif
+ {
+- _XmtDisplayMessage(w, name, class, message, &args, title, help, icon,
++ _XmtDisplayMessage(w, name, class, message, (va_list *)&args, title, help, icon,
+ type, modality);
+ }
+
+@@ -600,7 +600,7 @@
+ modality = XmDIALOG_PRIMARY_APPLICATION_MODAL;
+ }
+
+- block = _XmtDisplayMessage(w, name, class, message, &args,
++ block = _XmtDisplayMessage(w, name, class, message, (va_list*)&args,
+ title, help, icon, type, modality);
+ XmtBlock(w, block);
+ }
+@@ -674,7 +674,7 @@
+
+ Va_start(args, help_default);
+ (void)_XmtDisplayMessage(w, name, XmtCWarningDialog,
+- msg_default, &args,
++ msg_default, (va_list *)&args,
+ title_default, help_default, None,
+ XmDIALOG_WARNING,
+ XmDIALOG_PRIMARY_APPLICATION_MODAL);
diff -Nru gridengine-8.1.9+dfsg/debian/patches/series gridengine-8.1.9+dfsg/debian/patches/series
--- gridengine-8.1.9+dfsg/debian/patches/series 2023-08-13 23:47:51.000000000 +0800
+++ gridengine-8.1.9+dfsg/debian/patches/series 2025-01-14 16:15:58.000000000 +0800
@@ -11,3 +11,4 @@
extern_qualifier.patch
libtirpc.patch
riscv64.patch
+fix-gcc14-ftbfs.patch
Attachment:
signature.asc
Description: PGP signature