Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:gambas3
User: [email protected]
Usertags: pu

[ Reason ]
#1136260 explains a Qt6 component trying to load a Qt5 component, which
is not available in Debian trixie.

[ Impact ]
Users' programs declaring to use the gb.qt6.ext will crash.

[ Tests ]
The referenced bug report has the steps needed to confirm the issue.

[ Risks ]
The imported upstream change is trivial (just one character replaced)

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Depends on gb.qt6 instead of gb.qt5 (gambas dependency system).
diff -Nru gambas3-3.20.2/debian/changelog gambas3-3.20.2/debian/changelog
--- gambas3-3.20.2/debian/changelog     2025-03-07 23:30:21.000000000 +0100
+++ gambas3-3.20.2/debian/changelog     2026-05-11 12:21:23.000000000 +0200
@@ -1,3 +1,11 @@
+gambas3 (3.20.2-1+deb13u1) trixie; urgency=medium
+
+  * Team upload
+  * Fix qt6 component trying to load non-existing qt5 dependency
+    (Closes: #1136260)
+
+ -- Bastian Germann <[email protected]>  Mon, 11 May 2026 12:21:23 +0200
+
 gambas3 (3.20.2-1) unstable; urgency=medium
 
   * Team upload
diff -Nru gambas3-3.20.2/debian/patches/gb.qt6.ext_prevent_crash.patch 
gambas3-3.20.2/debian/patches/gb.qt6.ext_prevent_crash.patch
--- gambas3-3.20.2/debian/patches/gb.qt6.ext_prevent_crash.patch        
1970-01-01 01:00:00.000000000 +0100
+++ gambas3-3.20.2/debian/patches/gb.qt6.ext_prevent_crash.patch        
2026-05-11 12:09:31.000000000 +0200
@@ -0,0 +1,24 @@
+Origin: upstream, eb1318a1e377264d7f7ebfbea5e82ae4df4ad7d4 Mon Sep 17 00:00:00 
2001
+From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= <[email protected]>
+Date: Wed, 2 Apr 2025 17:10:27 +0200
+Subject: Load the correct component interface and do not crash anymore.
+
+[GB.QT6.EXT]
+* BUG: Load the correct component interface and do not crash anymore.
+---
+ gb.qt6/src/ext/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gb.qt6/src/ext/main.cpp b/gb.qt6/src/ext/main.cpp
+index 0357c3e3f..77c46d99c 100644
+--- a/gb.qt6/src/ext/main.cpp
++++ b/gb.qt6/src/ext/main.cpp
+@@ -54,7 +54,7 @@ GB_DESC *GB_CLASSES[] EXPORT =
+ 
+ int EXPORT GB_INIT(void)
+ {
+-      GB.GetInterface("gb.qt5", QT_INTERFACE_VERSION, &QT);
++      GB.GetInterface("gb.qt6", QT_INTERFACE_VERSION, &QT);
+ 
+       return 0;
+ }
diff -Nru gambas3-3.20.2/debian/patches/series 
gambas3-3.20.2/debian/patches/series
--- gambas3-3.20.2/debian/patches/series        2025-03-07 23:00:56.000000000 
+0100
+++ gambas3-3.20.2/debian/patches/series        2026-05-11 12:11:00.000000000 
+0200
@@ -1 +1,2 @@
+gb.qt6.ext_prevent_crash.patch
 nonverbose_build.patch

Reply via email to