# No linux preview build since 4/22

**URL:** https://discourse.slicer.org/t/no-linux-preview-build-since-4-22/46889
**Category:** Support
**Created:** [May 1, 2026, 3:59pm UTC](https://discourse.slicer.org/t/no-linux-preview-build-since-4-22/46889 "2026-05-01T15:59:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [May 1, 2026, 3:59pm UTC](https://discourse.slicer.org/t/no-linux-preview-build-since-4-22/46889/1 "2026-05-01T15:59:04Z")

</div>

I just downloaded the latest preview for Linux and it is dated 4/22.

@Sam_Horvath @ebrahim

---

<div class="post-metadata">

### Author: ![ebrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ebrahim/32/13403_2.png) [@ebrahim](https://discourse.slicer.org/u/ebrahim)
#### Post date: [May 1, 2026, 4:45pm UTC](https://discourse.slicer.org/t/no-linux-preview-build-since-4-22/46889/2 "2026-05-01T16:45:47Z")

</div>

Yes I think there are recent some issues being worked on (not by me)

> <https://github.com/Slicer/Slicer/pull/9134#issuecomment-4353140095>
>
> Seems there is a failure on the nightly Linux build that is causing the CI to fa…il:
> 
> \`\`\`
> CMake Error at /usr/src/Slicer-build/Slicer-build/CMake/LastConfigureStep/cmake\_install.cmake:1117 (file):
> file INSTALL cannot find
> "/usr/src/Slicer-build/CTK-build/CMakeExternals/Install/lib/libQtTesting.so":
> No such file or directory.
> Call Stack (most recent call first):
> /usr/src/Slicer-build/Slicer-build/cmake\_install.cmake:162 (include)
> 
> 
> /opt/rh/gcc-toolset-14/root/usr/bin/strip: '/usr/src/Slicer-build/Slicer-build/\_CPack\_Packages/linux-amd64/TGZ/Slicer-5.11.0-2026-04-30-linux-amd64/./lib/Slicer-5.11/libQtTesting.so': No such file
> CPack Error: Error when generating package: Slicer
> \`\`\`
> 
> Linux nightly CDash failure:
> https://slicer.cdash.org/builds/4205217/build

> <https://github.com/Slicer/Slicer/pull/9137>
>
> Fixes #9135. The CTK QtTesting tag bump (\`cf5fa41…\`, "ctk-2026-03-27 Qt5+Qt6 sup…port") renamed the shared library output from \`QtTesting\` to \`qttesting\`, causing nightly Linux packaging to fail. This change queries the actual library file name from the imported \`qttesting\` CMake target instead of hard-coding it, so future renames don't silently break packaging.
> 
> \<details\>
> \<summary\>Root cause\</summary\>
> 
> \`CMake/SlicerBlockInstallQtTesting.cmake\` hard-coded \`libQtTesting.so\` / \`libQtTesting.dylib\` / \`QtTesting.dll\`. After the CTK tag bump, CTK installs \`libqttesting.so\` (lowercase), so the install step errors:
> 
> \`\`\`
> file INSTALL cannot find
> /usr/src/Slicer-build/CTK-build/CMakeExternals/Install/lib/libQtTesting.so
> \`\`\`
> 
> \</details\>
> 
> \<details\>
> \<summary\>Fix details\</summary\>
> 
> \- \`find\_package(QtTesting CONFIG REQUIRED)\` to load the imported target.
> \- Probe target names (\`qttesting\`, \`QtTesting\`, \`QtTesting::qttesting\`, \`CTK::QtTesting\`) so a future namespaced rename fails loudly instead of silently.
> \- Resolve the library basename from \`IMPORTED\_LOCATION\_\<CONFIG\>\` (with fallbacks across known config types and \`IMPORTED\_LOCATION\`).
> \- Use that basename for both \`install(FILES …)\` and \`slicerStripInstalledLibrary(…)\`.
> \- Documents a known limitation: assumes a single unversioned shared library file (no \`libqttesting.so.1\` SONAME chain). If upstream introduces SONAME versioning later, the block needs to install the symlink chain too — a comment in the file flags this.
> 
> Verified locally: the generated \`cmake\_install.cmake\` now references \`libqttesting.so\` from the actual CTK install tree.
> 
> \</details\>
> 
> \## Test plan
> \- \[\] Linux nightly package build (CDash) succeeds: previously failing \`cmake\_install.cmake:1117\` step now installs \`libqttesting.so\`.
> \- \[\] macOS package contains \`libqttesting.dylib\`.
> \- \[\] Windows package contains \`qttesting.dll\`.

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [May 4, 2026, 7:30pm UTC](https://discourse.slicer.org/t/no-linux-preview-build-since-4-22/46889/3 "2026-05-04T19:30:42Z")

</div>

Linux builds are fixed now (since May 2nd - see the [dashboard](https://slicer.cdash.org/index.php?project=SlicerPreview&date=2026-05-02)).
