discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Updating OpenSCAD rabbitholes.

RW
Roger Whiteley
Tue, Jun 30, 2026 9:55 AM

A couple of questions for the development team please:

  1. I built OpenSCAD on my Debian12 bookworm laptop about 18 months ago
    to version 2025.09.03, it has now become unstable and crashes frequently
    on generating Previews, how do I go about building the latest version,
    or do I give up and upgrade to the laptop to Trixie first owing to the
    somewhat ironic dependency on Catch2-dev no longer being available for
    Bookworm.   -

Q1a Can I build without running the test suite?

Q1b is it possible to build multiple versions of OpenSCAD for testing
without breaking a build using the normal debian repo?

  1. Flatpak version - Upgrading to Trixie is non-trivial, so I thought of
    using a more recent Flatpak version [already installed] which wouldn't
    update owing to the lack of an X86 library specifically for OpenSCAD ,
    namely org.kde.Platform x86_64 5.15-23.08.    I tried removing and
    reinstalling the latest flatpak version and now get this:

rogerw@fj-e754:~$ !6859 sudo flatpak run org.openscad.OpenSCAD error:
app/org.openscad.OpenSCAD/x86_64/master not installed If I run the
flatpak using

rogerw@fj-e754:~$ flatpak run org.openscad.OpenSCAD Qt: Session
management error: Could not open network socket

I understand why the Qt error might happen, [its not running sudo], but
it does at least run, it is now at OpenSCAD
https://www.openscad.org/version 2026.04.26.fp (git b38f68881)

The normal System Update process breaks with the error ,
app/org.openscad.OpenSCAD/x86_64/master not installed. Can I fix this
problem or ignore it.

thanks in advance. Roger.

A couple of questions for the development team please: 1. I built OpenSCAD on my Debian12 bookworm laptop about 18 months ago to version 2025.09.03, it has now become unstable and crashes frequently on generating Previews, how do I go about building the latest version, or do I give up and upgrade to the laptop to Trixie first owing to the somewhat ironic dependency on Catch2-dev no longer being available for Bookworm.   - Q1a Can I build without running the test suite? Q1b is it possible to build multiple versions of OpenSCAD for testing without breaking a build using the normal debian repo? 2. Flatpak version - Upgrading to Trixie is non-trivial, so I thought of using a more recent Flatpak version [already installed] which wouldn't update owing to the lack of an X86 library specifically for OpenSCAD , namely org.kde.Platform x86_64 5.15-23.08.    I tried removing and reinstalling the latest flatpak version and now get this: rogerw@fj-e754:~$ !6859 sudo flatpak run org.openscad.OpenSCAD error: app/org.openscad.OpenSCAD/x86_64/master not installed If I run the flatpak using rogerw@fj-e754:~$ flatpak run org.openscad.OpenSCAD Qt: Session management error: Could not open network socket I understand why the Qt error might happen, [its not running sudo], but it does at least run, it is now at OpenSCAD <https://www.openscad.org/>version 2026.04.26.fp (git b38f68881) The normal System Update process breaks with the error , app/org.openscad.OpenSCAD/x86_64/master not installed. Can I fix this problem or ignore it. thanks in advance. Roger.
TP
Torsten Paul
Tue, Jun 30, 2026 7:19 PM

On 30.06.26 11:55, Roger Whiteley via Discuss wrote:

  1. I built OpenSCAD on my Debian12 bookworm laptop about 18 months ago
    to version 2025.09.03, it has now become unstable and crashes frequently
    on generating Previews, how do I go about building the latest version,
    or do I give up and upgrade to the laptop to Trixie first owing to the
    somewhat ironic dependency on Catch2-dev no longer being available for
    Bookworm.

Catch2 should not be required, if it's missing, that will only
disable building the tests that are based on it.

There should not be any special things needed for building on
Debian12 (or Debian13). If there's something not covered by
default, it would be helpful to see a PR or issue as those
type of issues are easy to miss on a living dev machine.

Q1a Can I build without running the test suite?

Yes, use cmake argument -DENABLE_TESTS=OFF - this will disable
both the Catch2 based test and also the big test suite.

Q1b is it possible to build multiple versions of OpenSCAD for testing
without breaking a build using the normal debian repo?

Yes, you don't need to install. OpenSCAD runs fine from the
build folder too, e.g. somethings like:

cmake -S . -B build -DEXPERIMENTAL=ON -DUSE_BUILTIN_OPENCSG=ON ...
cmake --build build
./build/openscad

  1. Flatpak version

I don't know what's broken with that flatpak stuff, if there's
no other app installed, maybe it's worth cleaning up everything
and using the fully non-root and non-system steps (= using the
--user flag) from

https://github.com/flathub/org.openscad.OpenSCAD

ciao,
Torsten.

On 30.06.26 11:55, Roger Whiteley via Discuss wrote: > 1. I built OpenSCAD on my Debian12 bookworm laptop about 18 months ago > to version 2025.09.03, it has now become unstable and crashes frequently > on generating Previews, how do I go about building the latest version, > or do I give up and upgrade to the laptop to Trixie first owing to the > somewhat ironic dependency on Catch2-dev no longer being available for > Bookworm. Catch2 should not be required, if it's missing, that will only disable building the tests that are based on it. There should not be any special things needed for building on Debian12 (or Debian13). If there's something not covered by default, it would be helpful to see a PR or issue as those type of issues are easy to miss on a living dev machine. > Q1a Can I build without running the test suite? Yes, use cmake argument -DENABLE_TESTS=OFF - this will disable both the Catch2 based test and also the big test suite. > Q1b is it possible to build multiple versions of OpenSCAD for testing > without breaking a build using the normal debian repo? Yes, you don't need to install. OpenSCAD runs fine from the build folder too, e.g. somethings like: cmake -S . -B build -DEXPERIMENTAL=ON -DUSE_BUILTIN_OPENCSG=ON ... cmake --build build ./build/openscad > 2. Flatpak version I don't know what's broken with that flatpak stuff, if there's no other app installed, maybe it's worth cleaning up everything and using the fully non-root and non-system steps (= using the --user flag) from https://github.com/flathub/org.openscad.OpenSCAD ciao, Torsten.