Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15381] New: toolchainfile.cmake.in RELOCATED_HOST_DIR error
@ 2023-03-12  6:59 bugzilla
  2024-06-15 15:06 ` [Buildroot] [Bug 15381] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-03-12  6:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15381

            Bug ID: 15381
           Summary: toolchainfile.cmake.in  RELOCATED_HOST_DIR  error
           Product: buildroot
           Version: 2022.02.8
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: tvirus347@gmail.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

ubuntu22, x64

when my work path is like /home/a/share/buildroot-2022.02.8/.... , then build
cmake package failed:

CMake Error at CMakeLists.txt:51 (project):
  The CMAKE_C_COMPILER:

    /home/a-2022.02.8/output/host/bin/gcc

  is not a full path to an existing compiler tool.

i think this line:
string(REPLACE "/share/buildroot" "" RELOCATED_HOST_DIR
${CMAKE_CURRENT_LIST_DIR})

in
support\misc\toolchainfile.cmake.in

should be:
string(REGEX REPLACE "/share/buildroot$"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-12  6:59 [Buildroot] [Bug 15381] New: toolchainfile.cmake.in RELOCATED_HOST_DIR error bugzilla
2024-06-15 15:06 ` [Buildroot] [Bug 15381] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox