























@gershnik. I'm using the fish shell currently, no spaces leading up to the build location. I don't recall seeing errors before the cmake configure. It started compiling the executable and failed some time through I believe. The issue may have been caused by the use of AUR helpers. I was using paru when it failed. However, it built successfully when I made the package manually using makepkg. Hope that helps.
Also, when using an aur helper it did not matter if I did a clean build or not.
@d-air1 I have reverted recent PKGBUILD changes which should unblock anyone who might have the same issue. If you have time and could still provide answers to the questions below this would help a lot. Thank you!
@d-air1 Sorry about that. Three questions to narrow it down: - Are there any errors earlier in the output before CMake configure runs or elsewhere? - Are you using a bash shell or something else? - Do you, by any chance, have spaces in directory names in leading to the location where you run the build?
Thank you!
Currently failing to build
CMake Error at CMakeLists.txt:75 (set_target_properties):
set_target_properties Can not find target to add properties to: argum
CMake Error at CMakeLists.txt:76 (set_target_properties):
set_target_properties Can not find target to add properties to: sys_string
CMake Error at CMakeLists.txt:77 (set_target_properties):
set_target_properties Can not find target to add properties to: isptr
CMake Error at CMakeLists.txt:78 (set_target_properties):
set_target_properties Can not find target to add properties to: ptl
CMake Error at CMakeLists.txt:85 (set_target_properties):
set_target_properties Can not find target to add properties to: spdlog
CMake Error at CMakeLists.txt:86 (set_target_properties):
set_target_properties Can not find target to add properties to: fmt
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'wsdd-native-1.21-2':
error: packages failed to build: wsdd-native-1.21-2
@gershnik Works, thanks for the quick fix :)
@TheJanzap ouch, sorry about that! Try the just pushed version 1.20.
Can't build the package when running with makepkg -sirc
Cloning into 'sys_string-src'...
fatal: unable to read tree (686a848e82453f979e722f28fc3b5f5b749d0aa8)
CMake Error at sys_string-subbuild/sys_string-populate-prefix/tmp/sys_string-populate-gitclone.cmake:61 (message):
Failed to checkout tag: '686a848e82453f979e722f28fc3b5f5b749d0aa8'
make[2]: *** [CMakeFiles/sys_string-populate.dir/build.make:102: sys_string-populate-prefix/src/sys_string-populate-stamp/sys_string-populate-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/sys_string-populate.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
CMake Error at /usr/share/cmake/Modules/FetchContent.cmake:1918 (message):
Build step for sys_string failed: 2
Call Stack (most recent call first):
/usr/share/cmake/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
/usr/share/cmake/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
/usr/share/cmake/Modules/FetchContent.cmake:2145 (cmake_language)
/usr/share/cmake/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
cmake/dependencies.cmake:185 (FetchContent_MakeAvailable)
CMakeLists.txt:62 (include)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
Done, starting from 1.15-2
Thank you for the suggestion! No particular reason why this wasn't enabled before other than the fact that I myself don't have an ARM installation to try. Will add!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@d-air1 This was very helpful, thank you! Indeed using paru caused a subtle bug in PKGBUILD to manifest. All is fixed now in -4 release. Thank you and sorry for the churn.