Not updating depdency in AUR
Affected Version
paru v1.9.2 - libalpm v13.0.1
Description
Have you checked previous issues? Yes
nheko-0.9.1-1 depends on mtxclient 0.6.1-1 but mtxclient 0.6.0-1 is already installed and paru is not updating that which results in build failure
mtxclient 0.6.1-1 is available in AUR
Output
Include the FULL output of any relevant commands/configs
Don't cut parts of the input always include the FULL thing
paru.conf and pacman.conf are usually always relevant
❯ paru -Sa nheko
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (1) nheko-0.9.1-1
:: Proceed to review? [Y/n]: y
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: nheko 0.9.1-1 (Thu 06 Jan 2022 03:40:43 PM IST)
==> Retrieving sources...
-> Found nheko-0.9.1.tar.gz
==> Validating source files with sha512sums...
nheko-0.9.1.tar.gz ... Passed
==> Making package: nheko 0.9.1-1 (Thu 06 Jan 2022 03:40:44 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found nheko-0.9.1.tar.gz
==> Validating source files with sha512sums...
nheko-0.9.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting nheko-0.9.1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
nheko-0.9.1-1: parsing pkg list...
==> Making package: nheko 0.9.1-1 (Thu 06 Jan 2022 03:40:46 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The CXX compiler identification is GNU 11.1.0
-- The C compiler identification is GNU 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Checking for module 'libevent_core'
-- Found libevent_core, version 2.1.12
-- Checking for module 'libevent_pthreads'
-- Found libevent_pthreads, version 2.1.12
-- Checking for module 'libcurl'
-- Found libcurl, version 7.80.0
-- Found LMDB: /usr/include
Setting build type to 'Debug'
-- Version: 0.9.1-dfcee63
-- Looking for backtrace_symbols_fd
-- Looking for backtrace_symbols_fd - found
-- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "1.1.1m", minimum required is "1.1.0")
CMake Error at CMakeLists.txt:422 (find_package):
Could not find a configuration file for package "MatrixClient" that is
compatible with requested version "0.6.1".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/MatrixClient/MatrixClientConfig.cmake, version: 0.6.0
/usr/lib/cmake/MatrixClient/MatrixClientConfig.cmake, version: 0.6.0
/lib64/cmake/MatrixClient/MatrixClientConfig.cmake, version: 0.6.0
/lib/cmake/MatrixClient/MatrixClientConfig.cmake, version: 0.6.0
-- Configuring incomplete, errors occurred!
See also "/home/smit/.cache/paru/clone/nheko/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/smit/.cache/paru/clone/nheko/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'nheko-0.9.1-1':
error: packages failed to build: nheko-0.9.1-1
❯ pacman -Qo /usr/lib64/cmake/MatrixClient/MatrixClientConfig.cmake
/usr/lib/cmake/MatrixClient/MatrixClientConfig.cmake is owned by mtxclient 0.6.0-1
Aur page says mtxclient>=0.4.1
Aur page says
mtxclient>=0.4.1
I edited the PKGBUILD and removed the >=0.4.1 part and ran
paru -U
but its still not updating mtxclient
I edited the PKGBUILD and removed the >=0.4.1 part and ran
Well if you removed the version constraint then the currently installed version will satisfy the dep.