Date: Thu, 20 Apr 2023 16:27:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270954] devel/cmake-core: lots of armv7 build failures with "No SOURCES given to target" Message-ID: <bug-270954-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270954 Bug ID: 270954 Summary: devel/cmake-core: lots of armv7 build failures with "No SOURCES given to target" Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: fuz@FreeBSD.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Flags: merge-quarterly? Many ports fail on armv7 with the same class of error message: -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /wrkdirs/usr/ports/graphics/pfstools/work/.build/CMakeFiles/CMakeTmp/CMakeL= ists.txt:14 (add_executable): No SOURCES given to target: cmTC_7730d CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) CMakeLists.txt:39 (find_package) -- Configuring incomplete, errors occurred! See also "/wrkdirs/usr/ports/graphics/pfstools/work/.build/CMakeFiles/CMakeOutput.lo= g". *** Error code 1 This affects at least the following ports (tested on 2023Q2): graphics/oyranos audio/fluidsynth cad/gmsh science/gromacs math/cimod lang/halide=20 games/regoth misc/openmvg cad/FreeCAD graphics/cloudcompare math/blaze science/gnudatalanguage graphics/pfstool Without having investigated this at all, the cause may be connected with LL= VM not supporting OpenMP on armv6/armv7. The offending file FindOpenMP.cmake = is installed by devel/cmake-core. Unfortunately I am not very familiar with c= make and don't really have any idea on what the cause could be. --=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-270954-7788>