Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2024 10:31:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281009] editors/neovim doesn't build (with ccache)?
Message-ID:  <bug-281009-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281009

            Bug ID: 281009
           Summary: editors/neovim doesn't build (with ccache)?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: vsasjason@gmail.com
             Flags: maintainer-feedback?(adamw@FreeBSD.org)
          Assignee: adamw@FreeBSD.org

Created attachment 253035
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D253035&action=
=3Dedit
poudriere build failure log

For some reason, CMakeTestCCompiler.cmake fails due to /nonexistent dir whi=
ch
obviously doesn't exists. This affects neovim only, ~600 other ports are
building totally fine including those using CMake as well.

loading initial cache file
/wrkdirs/usr/ports/editors/neovim/work/.build/.deps/build/tmp/treesitter_qu=
ery-cache-Release.cmake
-- The C compiler identification is Clang 18.1.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/local/libexec/ccache/cc
-- Check for working C compiler: /usr/local/libexec/ccache/cc - broken
CMake Error at /usr/local/share/cmake/Modules/CMakeTestCCompiler.cmake:67
(message):
  The C compiler

    "/usr/local/libexec/ccache/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir:
'/wrkdirs/usr/ports/editors/neovim/work/.build/.deps/build/src/treesitter_q=
uery-build/CMakeFiles/CMakeScratch/TryCompile-jEIFhw'

    Run Build Command(s): /usr/local/bin/ninja -v cmTC_eb36d
    [1/2] /usr/local/libexec/ccache/cc   -std=3Dgnu99 -fPIE -MD -MT
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o -MF
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o.d -o
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o -c
/wrkdirs/usr/ports/editors/neovim/work/.build/.deps/build/src/treesitter_qu=
ery-build/CMakeFiles/CMakeScratch/TryCompile-jEIFhw/testCCompiler.c
    FAILED: CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o=20
    /usr/local/libexec/ccache/cc   -std=3Dgnu99 -fPIE -MD -MT
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o -MF
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o.d -o
CMakeFiles/cmTC_eb36d.dir/testCCompiler.c.o -c
/wrkdirs/usr/ports/editors/neovim/work/.build/.deps/build/src/treesitter_qu=
ery-build/CMakeFiles/CMakeScratch/TryCompile-jEIFhw/testCCompiler.c
    ccache: error: Failed to create directory /nonexistent/.ccache/tmp:
Permission denied
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

*** Error code 1

Stop.
make: stopped in /usr/ports/editors/neovim

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281009-7788>