Problem when upgrading opencl-amd package
$ yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxcn is up to date
blackarch is up to date
arch4edu is up to date
repo-ck is up to date
:: Starting full system upgrade...
warning: hunter: local (1.3.5-2) is newer than archlinuxcn (1.3.4-4)
warning: manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-9)
warning: python-cppheaderparser: local (2.7.4-5) is newer than blackarch (2.7.4-2)
there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
-> hunter: local (1.3.5-2) is newer than archlinuxcn (1.3.4-4)
-> manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-9)
-> python-cppheaderparser: local (2.7.4-5) is newer than blackarch (2.7.4-2)
-> timeshift-autosnap: local (0.10-1) is newer than AUR (0.9-1)
-> Missing AUR Packages: breath2-wallpaper
-> Orphaned AUR Packages: adapta-black-breath-theme adapta-black-maia-theme adapta-breath-theme fortune-mod-es python2-xcb-proto
-> Flagged Out Of Date AUR Packages: adapta-black-breath-theme adapta-black-maia-theme adapta-breath-theme amdgpu-pro-libgl amf-amdgpu-pro elfio vulkan-amdgpu-pro
:: 1 Packages to upgrade.
1 aur/opencl-amd 21.40.2.1350682-1 -> 21.40.2.1350682-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
->
Package conflicts found:
-> Installing opencl-amd-ncurses5 will remove: ncurses5-compat-libs, ncurses5-compat-libs (libtinfo5)
-> Conflicting packages will have to be confirmed manually
[Aur:2] opencl-amd-ncurses5-6.3-1 opencl-amd-21.40.2.1350682-2
2 opencl-amd-ncurses5 (Build Files Exist)
1 opencl-amd (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (2/0): opencl-amd-ncurses5, opencl-amd
2 opencl-amd-ncurses5 (Build Files Exist)
1 opencl-amd (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/2) Parsing SRCINFO: opencl-amd-ncurses5
:: (2/2) Parsing SRCINFO: opencl-amd
==> Making package: opencl-amd 21.40.2.1350682-2 (dom 26 dic 2021 20:10:54)
==> Retrieving sources...
-> Found rocm-core_4.5.2.40502-164_amd64.deb
-> Found comgr_2.1.0.40502-164_amd64.deb
-> Found hip-dev_4.4.21432.40502-164_amd64.deb
-> Found hip-doc_4.4.21432.40502-164_amd64.deb
-> Found hsakmt-roct-dev_20210902.12.3277.40502-164_amd64.deb
-> Found hsa-rocr_1.4.0.40502-164_amd64.deb
-> Found hsa-rocr-dev_1.4.0.40502-164_amd64.deb
-> Found rocminfo_1.0.0.40502-164_amd64.deb
-> Found hip-runtime-amd_4.4.21432.40502-164_amd64.deb
-> Found hip-samples_4.4.21432.40502-164_amd64.deb
-> Found hsa-amd-aqlprofile_1.0.0.40502-164_amd64.deb
-> Found libdrm-amdgpu-amdgpu1_2.4.107.40502-1350682_amd64.deb
-> Found rocm-device-libs_1.0.0.40502-164_amd64.deb
-> Found openmp-extras_13.45.0.40502-164_amd64.deb
-> Found rocm-opencl_2.0.0.40502-164_amd64.deb
-> Found rocm-opencl-dev_2.0.0.40502-164_amd64.deb
-> Found rocm-clang-ocl_0.5.0.40502-164_amd64.deb
-> Found rocm-cmake_0.6.0.40502-164_amd64.deb
-> Found rocm-dbgapi_0.56.0.40502-164_amd64.deb
-> Found rocm-debug-agent_2.0.1.40502-164_amd64.deb
-> Found rocm-gdb_11.1.40502-164_amd64.deb
-> Found rocm-smi-lib_4.0.0.40502-164_amd64.deb
-> Found rocm-utils_4.5.2.40502-164_amd64.deb
-> Found rocprofiler-dev_1.0.0.40502-164_amd64.deb
-> Found roctracer-dev_1.0.0.40502-164_amd64.deb
-> Found rocm-dev_4.5.2.40502-164_amd64.deb
-> Found rocm-language-runtime_4.5.2.40502-164_amd64.deb
-> Found rocm-hip-runtime_4.5.2.40502-164_amd64.deb
-> Found rocm-opencl-runtime_4.5.2.40502-164_amd64.deb
-> Found opencl-legacy-amdgpu-pro-icd_21.40.2-1350682_amd64.deb
==> Validating source files with sha256sums...
rocm-core_4.5.2.40502-164_amd64.deb ... Passed
comgr_2.1.0.40502-164_amd64.deb ... Passed
hip-dev_4.4.21432.40502-164_amd64.deb ... Passed
hip-doc_4.4.21432.40502-164_amd64.deb ... Passed
hsakmt-roct-dev_20210902.12.3277.40502-164_amd64.deb ... Passed
hsa-rocr_1.4.0.40502-164_amd64.deb ... Passed
hsa-rocr-dev_1.4.0.40502-164_amd64.deb ... Passed
rocminfo_1.0.0.40502-164_amd64.deb ... Passed
hip-runtime-amd_4.4.21432.40502-164_amd64.deb ... Passed
hip-samples_4.4.21432.40502-164_amd64.deb ... Passed
hsa-amd-aqlprofile_1.0.0.40502-164_amd64.deb ... Passed
libdrm-amdgpu-amdgpu1_2.4.107.40502-1350682_amd64.deb ... Passed
rocm-device-libs_1.0.0.40502-164_amd64.deb ... Passed
openmp-extras_13.45.0.40502-164_amd64.deb ... Passed
rocm-opencl_2.0.0.40502-164_amd64.deb ... Passed
rocm-opencl-dev_2.0.0.40502-164_amd64.deb ... ==> Making package: opencl-amd-ncurses5 6.3-1 (dom 26 dic 2021 20:10:55)
==> Retrieving sources...
Passed
rocm-clang-ocl_0.5.0.40502-164_amd64.deb ... -> Found ncurses-6.3.tar.gz
Passed
rocm-cmake_0.6.0.40502-164_amd64.deb ... Passed
rocm-dbgapi_0.56.0.40502-164_amd64.deb ... Passed
rocm-debug-agent_2.0.1.40502-164_amd64.deb ... Passed
rocm-gdb_11.1.40502-164_amd64.deb ... ==> Validating source files with sha256sums...
ncurses-6.3.tar.gz ... Passed
Passed
rocm-smi-lib_4.0.0.40502-164_amd64.deb ... Passed
rocm-utils_4.5.2.40502-164_amd64.deb ... Passed
rocprofiler-dev_1.0.0.40502-164_amd64.deb ... Passed
roctracer-dev_1.0.0.40502-164_amd64.deb ... Passed
rocm-dev_4.5.2.40502-164_amd64.deb ... Passed
rocm-language-runtime_4.5.2.40502-164_amd64.deb ... Passed
rocm-hip-runtime_4.5.2.40502-164_amd64.deb ... Passed
rocm-opencl-runtime_4.5.2.40502-164_amd64.deb ... Passed
opencl-legacy-amdgpu-pro-icd_21.40.2-1350682_amd64.deb ... Passed
==> Making package: opencl-amd-ncurses5 6.3-1 (dom 26 dic 2021 20:10:57)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found ncurses-6.3.tar.gz
==> Validating source files with sha256sums...
ncurses-6.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting ncurses-6.3.tar.gz with bsdtar
==> Sources are ready.
==> Making package: opencl-amd-ncurses5 6.3-1 (dom 26 dic 2021 20:11:00)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
-> opencl-amd-ncurses5-6.3-1 already made -- skipping build
-> opencl-amd-ncurses5 not satisfied, flushing install queue
loading packages...
resolving dependencies...
looking for conflicting packages...
:: opencl-amd-ncurses5 and ncurses5-compat-libs are in conflict (libtinfo5). Remove ncurses5-compat-libs? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: opencl-amd-ncurses5 and ncurses5-compat-libs are in conflict
-> exit status 1
If I answer yes then
looking for conflicting packages...
:: opencl-amd-ncurses5 and ncurses5-compat-libs are in conflict (libtinfo5). Remove ncurses5-compat-libs? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing ncurses5-compat-libs breaks dependency 'ncurses5-compat-libs' required by opencl-amd
-> exit status 1