From c6bf0442a9cb1e961e781c15aeba235d6265c246 Mon Sep 17 00:00:00 2001 From: scarf Date: Tue, 24 Sep 2024 00:35:42 +0900 Subject: [PATCH] docs: troubleshoot guide for distrobox exports (#5408) --- .../docs/en/dev/guides/building/atomic_cmake.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/src/content/docs/en/dev/guides/building/atomic_cmake.md b/doc/src/content/docs/en/dev/guides/building/atomic_cmake.md index 995d7a01eb5f..4ccab2309248 100644 --- a/doc/src/content/docs/en/dev/guides/building/atomic_cmake.md +++ b/doc/src/content/docs/en/dev/guides/building/atomic_cmake.md @@ -18,6 +18,16 @@ script ::: +:::caution + +when using [distrobox](https://distrobox.it), using +[exported](https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-export.md) compiler +(e.g `~/.local/bin/clang`) +[won't work as it cannot access `/usr`.](https://github.com/89luca89/distrobox/issues/1548) instead, +use absolute path for compilers like `/usr/bin/clang`. + +::: + ## Setting up the container Bazzite, being based on the Atomic versions of Fedora Linux, has the containerization tool known as