Skip to contentSkip to conversation

New: Unable to build with ccache enabled.

Buildroot [email protected] 1 participant 3 messages Sep 25, 2023 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 15805
           Summary: Unable to build with ccache enabled.
           Product: buildroot
           Version: 2023.05.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

Created attachment 9643
--> https://bugs.busybox.net/attachment.cgi?id=9643&action=edit
cmake error log

When building with ccache enabled, I get the following error during the ccache build:

"
... snip
-- Ccache version: 4.7.4
-- Ccache dev mode: OFF
-- Performing Test std_atomic_without_libatomic
-- Performing Test std_atomic_without_libatomic - Success
-- Performing Test std_filesystem_without_libfs
-- Performing Test std_filesystem_without_libfs - Failed
-- Performing Test std_filesystem_with_libfs
-- Performing Test std_filesystem_with_libfs - Failed
CMake Error at cmake/StdFilesystem.cmake:22 (message):
Toolchain doesn't support std::filesystem with nor without -lstdc++fs
Call Stack (most recent call first):
cmake/StandardSettings.cmake:57 (include) CMakeLists.txt:70 (include)

-- Configuring incomplete, errors occurred!
See also "/home/paul/src/pi2/buildroot/build/host-ccache-4.7.4/CMakeFiles/CMakeOutput.lo g".
See also "/home/paul/src/pi2/buildroot/build/host-ccache-4.7.4/CMakeFiles/CMakeError.log ".
make[1]: *** [package/pkg-generic.mk:283:
/home/paul/src/pi2/buildroot/build/host-ccache -4.7.4/.stamp_configured] Error 1
make: *** [Makefile:23: _all] Error 2
"

Disabling ccache, everything builds properly. Also 2023.02.4 builds properly with ccache. I also tried building with "BR2_FORCE_HOST_BUILD=y" -- no change.

Environment:
- openSUSE Leap 15.5

Target:
- Raspberry Pi 2

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 15805] Unable to build with ccache enabled.

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

--- Comment #1 from Paul Stewart <[email protected]> --- Created attachment 9646
--> https://bugs.busybox.net/attachment.cgi?id=9646&action=edit
cmake output log

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
#2 lore raw

[Buildroot] [Bug 15805] Unable to build with ccache enabled.

In reply to [email protected]

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

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

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

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

--- Comment #2 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