sdbus-cpp fails to build from tempelate
Closed this issue · 3 comments
zmeyka3310 commented
idk, i can build it from source. output of ./xbps-src pkg sdbus-cpp
:
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> sdbus-cpp-1.5.0_1: removing autodeps, please wait...
=> sdbus-cpp-1.5.0_1: building with [cmake] for x86_64...
[host] cmake-3.27.6_1: found (https://repo-default.voidlinux.org/current)
[host] meson-1.3.2_1: found (https://repo-default.voidlinux.org/current)
[host] ninja-1.11.1_4: found (https://repo-default.voidlinux.org/current)
[host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
[host] git-2.44.0_1: found (https://repo-default.voidlinux.org/current)
[host] m4-1.4.19_1: found (https://repo-default.voidlinux.org/current)
[host] rsync-3.3.0_1: found (https://repo-default.voidlinux.org/current)
[host] gperf-3.1_3: found (https://repo-default.voidlinux.org/current)
[host] cmake-bootstrap-3.27.6_2: found (https://repo-default.voidlinux.org/current/bootstrap)
[host] ninja-1.11.1_4: found (https://repo-default.voidlinux.org/current)
[target] libmount-devel-2.39.3_2: found (https://repo-default.voidlinux.org/current)
[target] libcap-devel-2.69_2: found (https://repo-default.voidlinux.org/current)
[target] libelogind-252.9_2: found (https://repo-default.voidlinux.org/current)
[target] elogind-devel-252.9_2: found (https://repo-default.voidlinux.org/current)
[target] elogind-252.9_2: found (https://repo-default.voidlinux.org/current)
[runtime] libmount-2.39.3_2: found (https://repo-default.voidlinux.org/current)
[runtime] libcap-2.69_2: found (https://repo-default.voidlinux.org/current)
[runtime] libelogind-252.9_2: found (https://repo-default.voidlinux.org/current)
[runtime] elogind-devel-252.9_2: found (https://repo-default.voidlinux.org/current)
[runtime] elogind-252.9_2: found (https://repo-default.voidlinux.org/current)
=> sdbus-cpp-1.5.0_1: installing host dependencies: cmake-3.27.6_1 meson-1.3.2_1 ninja-1.11.1_4 pkg-config-0.29.2_3 git-2.44.0_1 m4-1.4.19_1 rsync-3.3.0_1 gperf-3.1_3 cmake-bootstrap-3.27.6_2 ninja-1.11.1_4 ...
=> sdbus-cpp-1.5.0_1: installing target dependencies: libmount-devel-2.39.3_2 libcap-devel-2.69_2 libelogind-252.9_2 elogind-devel-252.9_2 elogind-252.9_2 ...
=> sdbus-cpp-1.5.0_1: running do-patch hook: 00-patches ...
=> sdbus-cpp-1.5.0_1: patching: sysd.patch.
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file CMakeLists.txt.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file pkgconfig/sdbus-c++.pc.in.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tests/CMakeLists.txt.rej
=> ERROR: sdbus-cpp-1.5.0_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:57
=> ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:314
=> ERROR: in run_step() at common/xbps-src/shutils/common.sh:107
=> ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33
zmeyka3310 commented
why would it be in there anyways
DonPiotr commented
same here
it seems to be dependence for hypridle and xdg-desktop-portal-hyprland
Makrennel commented
Remove the "patches" directory in srcpkgs/sdbus-cpp
- the patch is no longer necessary after it was updated.