Dependencies step failing in Clang containers
Unsure if this is a container or `pak` issue, but the dependency installations are failing on clang containers (e.g., `c23`, `clang-asan`) with:
```
✖ Creating lockfile '.github/pkg.lock' [5.9s]
Error:
! error in pak subprocess
Caused by error in `sysreqs2_command(sysreqs_platform, "update")`:
! Unknown OS. Don't know how to query or install system packages for
ubuntu-22.04-libc++.
---
Backtrace:
1. pak::lockfile_create(c(deps, extra_deps), lockfile = ".github/pkg.lock", …
2. pak:::remote(function(...) { …
3. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { …
2. get("lockfile_create_internal", asNamespace("pak"))(...)
3. prop$create_lockfile(lockfile)
4. private$plan$export_install_plan(plan_file = path, version = version)
5. pkgdepends:::pkgplan_export_install_plan(self, private, plan_file, version)
6. pkgdepends:::sysreqs2_scripts(self$get_solution()$data$sysreqs_packages, private$config…
7. pkgdepends:::sysreqs2_command(sysreqs_platform, "update")
8. base::throw(pkg_error(paste0("Unknown OS. Don't know how to query or install sys…
9. | base::signalCondition(cond)
10. global (function (e) …
Execution halted
```
[Example of failing CI run](https://github.com/andrjohns/QuickJSR/actions/runs/15073148883/job/42374264890?pr=85)
Thanks!
关闭于 2025-05-17 2 条评论