[Bug 283228] x11-toolkits/imgui: CMake Generate step failed. Build files cannot be regenerated correctly.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Dec 2024 21:18:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283228

            Bug ID: 283228
           Summary: x11-toolkits/imgui:  CMake Generate step failed.
                    Build files cannot be regenerated correctly.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: freebsd@sysctl.cz
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Hi,
i enabled SDL2 backend and Vulkan support then cmake failed.


===>  License MIT accepted by the user
===>   imgui-1.91.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by imgui-1.91.5 for building
===>  Extracting for imgui-1.91.5
=> SHA256 Checksum OK for ocornut-imgui-v1.91.5_GH0.tar.gz.
===>  Patching for imgui-1.91.5
===>   imgui-1.91.5 depends on file: /usr/local/bin/cmake - found
===>   imgui-1.91.5 depends on executable: ninja - found
===>   imgui-1.91.5 depends on file: /usr/local/bin/sdl2-config - found
===>   imgui-1.91.5 depends on package: xorgproto>=0 - found
===>   imgui-1.91.5 depends on package: xorgproto>=0 - found
===>   imgui-1.91.5 depends on package: xorgproto>=0 - found
===>   imgui-1.91.5 depends on shared library: libglfw.so - found
(/usr/local/lib/libglfw.so)
===>   imgui-1.91.5 depends on shared library: libvulkan.so - found
(/usr/local/lib/libvulkan.so)
===>   imgui-1.91.5 depends on shared library: libGL.so - found
(/usr/local/lib/libGL.so)
===>   imgui-1.91.5 depends on shared library: libGL.so - found
(/usr/local/lib/libGL.so)
===>   imgui-1.91.5 depends on shared library: libGL.so - found
(/usr/local/lib/libGL.so)
===>   imgui-1.91.5 depends on shared library: libSDL2.so - found
(/usr/local/lib/libSDL2.so)
===>  Configuring for imgui-1.91.5
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/x11-toolkits/imgui/work/.build
-- The CXX compiler identification is Clang 18.1.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Vulkan: /usr/local/lib/libvulkan.so (found version "1.3.302") found
components: glslc glslangValidator
-- Configuring done (0.5s)
CMake Error at CMakeLists.txt:89 (target_sources):
  Cannot find source file:

    /usr/ports/x11-toolkits/imgui/work/imgui-1.91.5/backends/imgui_impl_sdl.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  .f95 .f03 .hip .ispc


-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/imgui

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