Skip to contentSkip to conversation

New: toolchainfile.cmake.in RELOCATED_HOST_DIR error

Buildroot [email protected] 1 participant 2 messages Mar 12, 2023 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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$"

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15381] toolchainfile.cmake.in RELOCATED_HOST_DIR error

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

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #1 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot