New comment by lemmi on void-packages repository https://github.com/void-linux/void-packages/pull/36662#issuecomment-1097558683 Comment: Odd... for some reason I can't build it locally. So I rerun the CI and they seem to run fine. I even zapped my masterdir and ended up with the same result. ``` => xbps-src: updating repositories for host (x86_64)... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ... => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => keepassxc-2.7.1_1: removing autodeps, please wait... => keepassxc-2.7.1_1: the following build options are set: autotype: Include auto-type (ON) browser: Include browser integration with keepassxc-browser-plugin (ON) fdosecrets: Include Secret Storage Spec server side API (ON) keeshare: Include sharing integration with KeeShare (ON) network: Include networking code (favicon download) (ON) sshagent: Include SSH agent support (ON) yubikey: Include YubiKey support (ON) => keepassxc-2.7.1_1: building [cmake] for x86_64... [host] qt5-devel-5.15.3+20220222_1: found (https://alpha.de.repo.voidlinux.org/current) [host] ruby-asciidoctor-2.0.15_3: found (https://alpha.de.repo.voidlinux.org/current) [host] cmake-3.22.2_1: found (https://alpha.de.repo.voidlinux.org/current) [host] ninja-1.10.2_2: found (https://alpha.de.repo.voidlinux.org/current) [target] qt5-tools-devel-5.15.3+20220222_1: found (https://alpha.de.repo.voidlinux.org/current) [target] qt5-svg-devel-5.15.3+20220222_1: found (https://alpha.de.repo.voidlinux.org/current) [target] botan-devel-2.19.1_1: found (https://alpha.de.repo.voidlinux.org/current) [target] libargon2-devel-20190702_3: found (https://alpha.de.repo.voidlinux.org/current) [target] qrencode-devel-4.1.1_1: found (https://alpha.de.repo.voidlinux.org/current) [target] readline-devel-8.1.000_1: found (https://alpha.de.repo.voidlinux.org/current) [target] pcsclite-devel-1.9.5_1: found (https://alpha.de.repo.voidlinux.org/current) [target] qt5-x11extras-devel-5.15.3+20220222_1: found (https://alpha.de.repo.voidlinux.org/current) [target] libXtst-devel-1.2.3_2: found (https://alpha.de.repo.voidlinux.org/current) [target] libXi-devel-1.8_1: found (https://alpha.de.repo.voidlinux.org/current) [target] minizip-devel-1.2.11_3: found (https://alpha.de.repo.voidlinux.org/current) [target] libusb-devel-1.0.26_1: found (https://alpha.de.repo.voidlinux.org/current) [target] libyubikey-devel-1.13_2: found (https://alpha.de.repo.voidlinux.org/current) => keepassxc-2.7.1_1: installing host dependencies: qt5-devel-5.15.3+20220222_1 ruby-asciidoctor-2.0.15_3 cmake-3.22.2_1 ninja-1.10.2_2 ... => keepassxc-2.7.1_1: installing target dependencies: qt5-tools-devel-5.15.3+20220222_1 qt5-svg-devel-5.15.3+20220222_1 botan-devel-2.19.1_1 libargon2-devel-20190702_3 qrencode-devel-4.1.1_1 readline-devel-8.1.000_1 pcsclite-devel-1.9.5_1 qt5-x11extras-devel-5.15.3+20220222_1 libXtst-devel-1.2.3_2 libXi-devel-1.8_1 minizip-devel-1.2.11_3 libusb-devel-1.0.26_1 libyubikey-devel-1.13_2 ... => keepassxc-2.7.1_1: running do-fetch hook: 00-distfiles ... => keepassxc-2.7.1_1: running do-extract hook: 00-distfiles ... => keepassxc-2.7.1_1: extracting distfile(s), please wait... => keepassxc-2.7.1_1: running do-patch hook: 00-patches ... => keepassxc-2.7.1_1: patching: ykcore-pthread.patch. 1 out of 1 hunk FAILED -- saving rejects to file src/thirdparty/ykcore/CMakeLists.txt.rej => ERROR: keepassxc-2.7.1_1: do-patch_00-patches: 'patch -s ${_args} < ${_patch} 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` `cat src/thirdparty/ykcore/CMakeLists.txt.rej`: ``` --- src/thirdparty/ykcore/CMakeLists.txt +++ src/thirdparty/ykcore/CMakeLists.txt @@ -27,13 +27,15 @@ if(WIN32) elseif(UNIX AND NOT APPLE) target_sources(ykcore PRIVATE ykcore_libusb-1.0.c) + find_package(Threads REQUIRED) + find_library(LIBUSB_LIBRARY NAMES usb-1.0) find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h PATH_SUFFIXES "libusb-1.0" "libusb") if(NOT LIBUSB_LIBRARY OR NOT LIBUSB_INCLUDE_DIR) message(FATAL_ERROR "libusb-1.0 dev package required, but not found") endif() - target_link_libraries(ykcore PRIVATE ${LIBUSB_LIBRARY}) + target_link_libraries(ykcore PRIVATE Threads::Threads ${LIBUSB_LIBRARY}) target_include_directories(ykcore PRIVATE ${LIBUSB_INCLUDE_DIR}) target_compile_definitions(ykcore PRIVATE _GNU_SOURCE) elseif(APPLE) ```