From 51ed9c53f2a109aee99c2281495bede6ff694b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Sat, 19 Sep 2026 08:50:22 +0200 Subject: [PATCH 1/2] deb: build-depend on QtShaderTools QT.quick3d.depends lists shadertools, so qmake stops with Project ERROR: Unknown module(s) in QT: shadertools wherever the module .pri is not installed. qt6-quick3d-dev only started depending on qt6-shadertools-dev in 6.6, so trixie (6.8) and resolute (6.10) got it for free while bookworm and noble (both 6.4.2) did not. jammy (6.2.4) has the same gap under the pre-6.4 name. | suite | Qt | package | | -------- | ------ | ----------------------- | | jammy | 6.2.4 | libqt6shadertools6-dev | | bookworm | 6.4.2 | qt6-shadertools-dev | | noble | 6.4.2 | qt6-shadertools-dev | | trixie | 6.8.2 | qt6-shadertools-dev | | resolute | 6.10.2 | qt6-shadertools-dev | The QML plugin alternative for omedit was wrong for the same reason: qml6-module-quick3d was not folded into libqt6quick3d6 on the older suites, it is simply spelled without the "qt" there, so the fallback installed OMEdit without the QtQuick3D plugin it dlopens. Assisted-by: Claude Opus 5 --- debian/control | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 673af39..ecce9e6 100644 --- a/debian/control +++ b/debian/control @@ -26,10 +26,12 @@ Build-Depends: debhelper-compat (= 13), qt6-quick3d-dev, qt6-webengine-dev, qt6-webengine-dev-tools, -# jammy still carries the pre-6.4 binary names for these three +# jammy still carries the pre-6.4 binary names for these four qt6-svg-dev | libqt6svg6-dev, qt6-5compat-dev | libqt6core5compat6-dev, qt6-websockets-dev | libqt6websockets6-dev, +# QT.quick3d.depends; qt6-quick3d-dev only pulls it in from 6.6 on + qt6-shadertools-dev | libqt6shadertools6-dev, # QtHttpServer needs Qt 6.4; OMEdit builds without the MCP server on jammy qt6-httpserver-dev | qt6-base-dev, flex, @@ -194,8 +196,8 @@ Depends: omc (<< 20000), libomsimulator, libomsensplugin, qml6-module-qtquick, -# split out of libqt6quick3d6 in Qt 6.6 - qml6-module-qtquick3d | libqt6quick3d6, +# renamed from qml6-module-quick3d in Qt 6.6 + qml6-module-qtquick3d | qml6-module-quick3d, ${shlibs:Depends}, ${misc:Depends} Suggests: omlibrary From 5fee9d026479e0ef49f928aa48995cd6a3fc1d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Sat, 19 Sep 2026 08:50:30 +0200 Subject: [PATCH 2/2] deb: one glob for the simulation runtimes libSimulationRuntimeRust is not built by the autotools configure the deb uses yet, and a .install pattern that matches nothing is fatal: dh_install warns "libomcsimulation missing files" and then aborts with "missing files, aborting". There is no per-pattern optional flag, and the alternatives on one line do not help either, since dh_install reads the last token of a multi-token line as the destination. A single prefix glob is lenient the only way dh_install allows: it already matches libSimulationRuntimeC and libSimulationRuntimeFMI, so the line never comes up empty, and it picks up the Rust runtime on its own once that is installed. Assisted-by: Claude Opus 5 --- debian/libomcsimulation.install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/libomcsimulation.install b/debian/libomcsimulation.install index 40780ff..25ad655 100644 --- a/debian/libomcsimulation.install +++ b/debian/libomcsimulation.install @@ -13,9 +13,7 @@ debian/tmp/usr/include/omc/ModelicaExternalC/* # Simulations debian/tmp/usr/lib/*/omc/libOpenModelicaFMIRuntimeC* -debian/tmp/usr/lib/*/omc/libSimulationRuntimeC.* -debian/tmp/usr/lib/*/omc/libSimulationRuntimeFMI* -debian/tmp/usr/lib/*/omc/libSimulationRuntimeRust.* +debian/tmp/usr/lib/*/omc/libSimulationRuntime* ## SuiteSparse debian/tmp/usr/lib/*/omc/lib*amd*