View Issue Details

IDProjectCategoryView StatusLast Update
0000017Kohi EngineBugspublic2026-10-24 03:08
Reportertravisvroman Assigned Totravisvroman  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux DesktopOSGNU/LinuxOS VersionN/A
Product Versionv0.13.0 
Target Versionv0.13.0Fixed in Versionv0.13.0 
Summary0000017: [BUG] Remove the need of systemd on Linux build
Description

Ported from GitHub issues: https://github.com/travisvroman/kohi/issues/289

Is your feature request related to a problem? Please describe.
I was excited when I found the series on YouTube and wanted to build the engine. However. I was not able to.
It requires systemd headers that I don't have because I use a different init system (runit).

Describe the solution you'd like
I would like systemd-dependent code to be removed/put behind a feature flag.

Describe alternatives you've considered
I could solve this issue myself if you will say that you will accept it.
I just need to have an understanding of why systemd-related code is even within the engine and what it does.

Additional context

src/platform/platform_linux.c...
src/platform/platform_linux.c:51:11: fatal error: 'systemd/sd-bus.h' file not found
   51 | #       include <systemd/sd-bus.h>
      |                 ^~~~~~~~~~~~~~~~~~
1 error generated.
Tagsbug, Linux
Revision

Activities

travisvroman

2026-10-19 18:31

administrator   ~0000002

Thanks for submitting this!

This was admittedly a bad shortcut I took to quickly get OS-level open file dialogs in place on the platform. I should have just used straight-up dbus for this instead (dynamically linked instead of statically at that) - this would eliminate that dependency without the need for a feature flag.

For you at the moment, you can work around it by just commenting out the code that uses it - which for now is only the open file dialog logic. And the only place that is used is in the texture browser to import new textures via the UI.

I'll try to work in a fix for this in the 0.13 release.

Issue History

Date Modified Username Field Change
2026-10-19 18:31 travisvroman New Issue
2026-10-19 18:31 travisvroman Status new => assigned
2026-10-19 18:31 travisvroman Assigned To => travisvroman
2026-10-19 18:31 travisvroman Tag Attached: bug
2026-10-19 18:31 travisvroman Tag Attached: Linux
2026-10-19 18:31 travisvroman Note Added: 0000002
2026-10-20 12:00 travisvroman Status assigned => resolved
2026-10-20 12:00 travisvroman Resolution open => fixed
2026-10-20 12:00 travisvroman Fixed in Version => v0.13.0
2026-10-24 03:08 travisvroman Status resolved => closed