You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for Kali GNU/Linux (and generic Debian derivatives) #3910
Building OpenROAD-flow-scripts on Kali GNU/Linux fails at multiple stages due to OS detection not recognizing Kali (or generic Debian derivatives). Since Kali is Debian-based, it should be routed through the existing Debian/Ubuntu installation paths.
Issues Encountered
OS detection failure — Both etc/DependencyInstaller.sh and tools/OpenROAD/etc/DependencyInstaller.sh only match "Ubuntu", "Debian GNU/Linux rodete", and "Debian GNU/Linux" exactly. Kali reports its OS as "Kali GNU/Linux", causing an "unsupported system" error.
libtcl virtual package — On Kali (and some Debian versions), libtcl is a virtual package with no install candidate. The script needs to fall back to libtcl8.6.
Hardcoded libpython3.8 — The Debian install path defaults to libpython3.8, which doesn't exist on newer Debian-based distros (Kali has Python 3.13+). The version should be auto-detected.
or-tools download URL — Kali's VERSION_ID is 2025.4, which doesn't correspond to any or-tools release. Non-standard Debian version IDs need to be normalized to a compatible Debian release (e.g., 12).
Abseil compiled without -fPIC — On GCC 15 (Kali/Debian Testing), PIE is the default. Abseil static libraries need -DCMAKE_POSITION_INDEPENDENT_CODE=ON to link into PIE executables.
Environment
OS: Kali GNU/Linux 2025.4 (Rolling, based on Debian Testing)
GCC: 15.2.0
glibc: 2.42
Python: 3.13
Expected Behavior
setup.sh and build_openroad.sh should complete successfully on Kali and other Debian derivatives.
Kali is not a distro we build or test on. We could accept a community contribution for this but isn't enough demand to justify making it a fully supported platform.
The ORFS etc/DependencyInstaller.sh only matches "Ubuntu" and "Debian GNU/Linux rodete" in its OS detection — both "Debian GNU/Linux" and "Kali GNU/Linux" hit the "unsupported system" fallback.
I'll add a "Debian GNU/Linux" | "Kali GNU/Linux" case with a dedicated _installDebianPackages function that:
Installs the same base apt packages as Ubuntu
Uses KLayout from Debian repos (available since Debian 11) instead of Ubuntu-specific .deb URLs
Uses Docker's Debian repo URL instead of Ubuntu's
Gracefully handles failures with warnings instead of hard exits
Note: fixes #2–#5 from the issue (libtcl, libpython, or-tools, abseil) are in the OpenROAD submodule's DependencyInstaller, which would need a separate PR to that repo.
Adds "Debian GNU/Linux" | "Kali GNU/Linux" to the OS detection in etc/DependencyInstaller.sh with a dedicated _installDebianPackages function that uses Debian apt repos for KLayout and Debian Docker repo URLs.
Fixes #2–#5 (libtcl, libpython, or-tools, abseil) are in the OpenROAD submodule's installer and would need a separate PR to that repo.
@UDXS — would appreciate a test on your Kali setup if you get a chance!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs. Remove the Stale label or comment to keep it open.
Activity
Support Kali GNU/Linux and generic Debian derivatives in DependencyIn…
Support Kali GNU/Linux and generic Debian derivatives in DependencyIn…
maliberty commentedon Feb 23, 2026
Kali is not a distro we build or test on. We could accept a community contribution for this but isn't enough demand to justify making it a fully supported platform.
harsh-kumar-patwa commentedon Mar 2, 2026
Hi, I'd like to work on the ORFS side of this!
The ORFS
etc/DependencyInstaller.shonly matches"Ubuntu"and"Debian GNU/Linux rodete"in its OS detection — both"Debian GNU/Linux"and"Kali GNU/Linux"hit the"unsupported system"fallback.I'll add a
"Debian GNU/Linux" | "Kali GNU/Linux"case with a dedicated_installDebianPackagesfunction that:Note: fixes #2–#5 from the issue (libtcl, libpython, or-tools, abseil) are in the OpenROAD submodule's DependencyInstaller, which would need a separate PR to that repo.
Add Debian and Kali GNU/Linux support to DependencyInstaller
harsh-kumar-patwa commentedon Mar 2, 2026
Raised a PR for the ORFS side — #3945
Adds
"Debian GNU/Linux" | "Kali GNU/Linux"to the OS detection inetc/DependencyInstaller.shwith a dedicated_installDebianPackagesfunction that uses Debian apt repos for KLayout and Debian Docker repo URLs.Fixes #2–#5 (libtcl, libpython, or-tools, abseil) are in the OpenROAD submodule's installer and would need a separate PR to that repo.
@UDXS — would appreciate a test on your Kali setup if you get a chance!
github-actions commentedon May 2, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 21 days if no further activity occurs. Remove the
Stalelabel or comment to keep it open.