From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5533C6FD19 for ; Sun, 12 Mar 2023 06:59:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1B592418DD; Sun, 12 Mar 2023 06:59:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1B592418DD X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8nv7GSo3Oua; Sun, 12 Mar 2023 06:59:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 1FFB6416F2; Sun, 12 Mar 2023 06:59:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1FFB6416F2 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 122D21BF20D for ; Sun, 12 Mar 2023 06:59:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id ECBF1416F2 for ; Sun, 12 Mar 2023 06:59:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org ECBF1416F2 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MFmy9i2980vv for ; Sun, 12 Mar 2023 06:59:10 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp4.osuosl.org (Postfix) with ESMTP id 0079B4159D for ; Sun, 12 Mar 2023 06:59:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0079B4159D Received: by busybox.osuosl.org (Postfix, from userid 81) id DD2A686136; Sun, 12 Mar 2023 06:59:09 +0000 (UTC) From: bugzilla@busybox.net To: buildroot@uclibc.org Date: Sun, 12 Mar 2023 06:59:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: buildroot X-Bugzilla-Component: Other X-Bugzilla-Version: 2022.02.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tvirus347@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned@buildroot.uclibc.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: X-Bugzilla-URL: https://bugs.busybox.net/ Auto-Submitted: auto-generated MIME-Version: 1.0 Subject: [Buildroot] [Bug 15381] New: toolchainfile.cmake.in RELOCATED_HOST_DIR error X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "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