Github messages for voidlinux
 help / color / mirror / Atom feed
From: lemmi <lemmi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: keepassxc: update to 2.7.1.
Date: Wed, 13 Apr 2022 06:58:44 +0200	[thread overview]
Message-ID: <20220413045844.CLgjgSf5NQps_BYZrF06BKx4cTVR3PJopu-lXVbyf88@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36662@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 5373 bytes --]

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)
```

  parent reply	other threads:[~2022-04-13  4:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12 23:18 [PR PATCH] " Piraty
2022-04-12 23:19 ` [PR PATCH] [Updated] " Piraty
2022-04-13  4:58 ` lemmi [this message]
2022-04-13  8:16 ` Piraty
2022-04-15  8:07 ` [PR PATCH] [Updated] " Piraty
2022-04-15  8:08 ` Piraty
2022-04-15  8:09 ` [PR PATCH] [Updated] " Piraty
2022-04-15  8:21 ` Piraty
2022-04-19  9:10 ` Piraty
2022-04-19 19:45 ` Piraty
2022-04-19 21:01 ` [PR PATCH] [Closed]: " Piraty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220413045844.CLgjgSf5NQps_BYZrF06BKx4cTVR3PJopu-lXVbyf88@z \
    --to=lemmi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).