Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.12k stars 234 forks source link

Building in clean chroot fails to resolve dependencies in the correct order #920

Closed Mushoz closed 1 year ago

Mushoz commented 1 year ago

Affected Version

paru 1.11.1 paru-git compiled on the 21st of December

Description

Whenever I try to install the ROCM stack via Paru by building in a clean Chroot, the process fails because it does not build the dependencies in the correct order for them to resolve successfully. I used the following command:

paru --chroot -S rocm-hip-sdk rocm-opencl-sdk

I am reporting this as a followup from my initial question here: https://github.com/Morganamilo/paru/discussions/919

Output

Full output of the command:

[jaap@Jaap-Desktop ~]$ paru --chroot -S rocm-hip-sdk rocm-opencl-sdk
:: Resolving dependencies...
:: There are 2 providers available for rocm-hip-sdk:
:: Repository AUR:
    1) rocm-hip-sdk  2) opencl-amd-dev  
Enter a number (default=1): 1
:: There are 2 providers available for rocm-opencl-sdk:
:: Repository AUR:
    1) rocm-opencl-sdk  2) opencl-amd-dev  
Enter a number (default=1): 1
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Inner conflicts found:
    opencl-amd: hip-runtime-amd (hip)  

:: Conflicting packages will have to be confirmed manually

Repo (14) rocm-core-5.3.3-1  hsakmt-roct-5.4.1-1  rocm-device-libs-5.4.0-1  hsa-rocr-5.4.1-1  comgr-5.4.1-1  rocminfo-5.4.1-1  rocm-llvm-5.4.0-1  
        hip-runtime-amd-5.4.1-1  rhash-1.4.3-1  cmake-3.25.1-1  rocm-cmake-5.4.0-1  rocprim-5.4.1-1  hipcub-5.4.1-1  rocthrust-5.4.1-1
Aur (5) rocm-hip-sdk-5.4.0-1(rocm-language-runtime rocm-hip-runtime)  ncurses5-compat-libs-6.3-1  opencl-amd-1:5.4.1-1  opencl-amd-dev-1:5.4.1-1  
        rocm-hip-sdk-5.4.0-1(rocm-hip-libraries rocm-hip-sdk rocm-opencl-sdk)

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
[sudo] password for jaap: 
:: Synchronizing package databases...
 testing                                                             30.9 KiB   461 KiB/s 00:00 [########################################################] 100%
 core                                                               152.2 KiB  4.96 MiB/s 00:00 [########################################################] 100%
 extra                                                             1719.2 KiB  29.5 MiB/s 00:00 [########################################################] 100%
 community-testing                                                   47.7 KiB  1768 KiB/s 00:00 [########################################################] 100%
 community                                                            7.2 MiB  42.2 MiB/s 00:00 [########################################################] 100%
 multilib-testing                                                     4.9 KiB   246 KiB/s 00:00 [########################################################] 100%
 multilib                                                           161.1 KiB  5.24 MiB/s 00:00 [########################################################] 100%
 aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (4) curl-7.87.0-1  glib2-2.74.4-1  pcre2-10.41-1  systemd-libs-252.4-2

Total Download Size:    6.93 MiB
Total Installed Size:  33.21 MiB
Net Upgrade Size:       0.01 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 glib2-2.74.4-1-x86_64                                                3.7 MiB  44.9 MiB/s 00:00 [########################################################] 100%
 pcre2-10.41-1-x86_64                                              1466.0 KiB  16.5 MiB/s 00:00 [########################################################] 100%
 curl-7.87.0-1-x86_64                                              1177.8 KiB  26.1 MiB/s 00:00 [########################################################] 100%
 systemd-libs-252.4-2-x86_64                                        641.9 KiB  19.0 MiB/s 00:00 [########################################################] 100%
 Total (4/4)                                                          6.9 MiB  18.2 MiB/s 00:00 [########################################################] 100%
(4/4) checking keys in keyring                                                                  [########################################################] 100%
(4/4) checking package integrity                                                                [########################################################] 100%
(4/4) loading package files                                                                     [########################################################] 100%
(4/4) checking for file conflicts                                                               [########################################################] 100%
(4/4) checking available disk space                                                             [########################################################] 100%
:: Processing package changes...
(1/4) upgrading systemd-libs                                                                    [########################################################] 100%
(2/4) upgrading curl                                                                            [########################################################] 100%
(3/4) upgrading pcre2                                                                           [########################################################] 100%
(4/4) upgrading glib2                                                                           [########################################################] 100%
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [jaap]...done
:: Synchronizing package databases...
 testing                                                             30.9 KiB   418 KiB/s 00:00 [########################################################] 100%
 core is up to date
 extra                                                             1719.2 KiB  16.8 MiB/s 00:00 [########################################################] 100%
 community-testing                                                   47.7 KiB   746 KiB/s 00:00 [########################################################] 100%
 community                                                            7.2 MiB  36.6 MiB/s 00:00 [########################################################] 100%
 multilib-testing is up to date
 multilib                                                           161.1 KiB  6.05 MiB/s 00:00 [########################################################] 100%
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Making package: rocm-hip-sdk 5.4.0-1 (Thu Dec 22 16:30:02 2022)
==> Retrieving sources...
==> Making package: rocm-hip-sdk 5.4.0-1 (Thu Dec 22 16:30:07 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
==> Sources are ready.
rocm-hip-sdk-5.4.0-1 (rocm-language-runtime rocm-hip-runtime): parsing pkg list...
:: rocm-hip-sdk-5.4.0-1 is up to date -- skipping build
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [jaap]...done
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra                                                             1719.2 KiB  22.1 MiB/s 00:00 [########################################################] 100%
 community-testing is up to date
 community                                                            7.2 MiB  51.2 MiB/s 00:00 [########################################################] 100%
 multilib-testing is up to date
 multilib                                                           161.1 KiB  3.93 MiB/s 00:00 [########################################################] 100%
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
loading packages...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency

Packages (46) adwaita-cursors-43-2  cmake-3.25.1-1  comgr-5.4.1-2  default-cursors-1-1  hicolor-icon-theme-0.17-2  hip-runtime-amd-5.4.1-2  hsa-rocr-5.4.1-2
              hsakmt-roct-5.4.1-3  hwdata-0.365-1  jsoncpp-1.9.5-2  kmod-30-3  libdrm-2.4.114-1  libedit-20210910_3.1-2  libglvnd-1.6.0-1  libnsl-2.0.0-2
              libomxil-bellagio-0.9.3-3  libpciaccess-0.17-1  libunwind-1.6.2-2  libuv-1.44.2-1  libx11-1.8.3-3  libxau-1.0.11-1  libxcb-1.15-2
              libxdamage-1.1.6-1  libxdmcp-1.1.4-1  libxext-1.3.5-1  libxfixes-6.0.0-2  libxshmfence-1.3.2-1  libxxf86vm-1.1.5-1  llvm-libs-14.0.6-4
              lm_sensors-1:3.6.0.r41.g31d1f125-2  mesa-22.3.1-2  numactl-2.0.16-1  pciutils-3.9.0-2  python-3.10.9-1  rhash-1.4.3-1  rocm-cmake-5.4.1-2
              rocm-core-5.3.3-1  rocm-device-libs-5.4.1-2  rocm-llvm-5.4.1-2  rocminfo-5.4.1-2  vulkan-icd-loader-1.3.235-1  wayland-1.21.0-2
              xcb-proto-1.15.2-2  xorgproto-2022.2-1  rocm-hip-runtime-5.4.0-1  rocm-language-runtime-5.4.0-1

Total Download Size:    693.44 MiB
Total Installed Size:  3555.79 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 rocm-llvm-5.4.1-2-x86_64                                           646.4 MiB  12.4 MiB/s 00:52 [########################################################] 100%
 comgr-5.4.1-2-x86_64                                                40.2 MiB  18.0 MiB/s 00:02 [########################################################] 100%
 hip-runtime-amd-5.4.1-2-x86_64                                       5.5 MiB  11.4 MiB/s 00:00 [########################################################] 100%
 hsa-rocr-5.4.1-2-x86_64                                            589.6 KiB  2.18 MiB/s 00:00 [########################################################] 100%
 rocm-device-libs-5.4.1-2-x86_64                                    551.4 KiB  1545 KiB/s 00:00 [########################################################] 100%
 hsakmt-roct-5.4.1-3-x86_64                                          80.8 KiB   390 KiB/s 00:00 [########################################################] 100%
 rocminfo-5.4.1-2-x86_64                                             27.8 KiB   154 KiB/s 00:00 [########################################################] 100%
 rocm-cmake-5.4.1-2-x86_64                                           23.4 KiB   125 KiB/s 00:00 [########################################################] 100%
 rocm-core-5.3.3-1-x86_64 is up to date
 Total (9/9)                                                        693.4 MiB  12.1 MiB/s 00:57 [########################################################] 100%
(46/46) checking keys in keyring                                                                [########################################################] 100%
(45/46) checking package integrity                                                              [########################################################] 100%
(45/46) loading package files                                                                   [########################################################] 100%
(46/46) checking for file conflicts                                                             [########################################################] 100%
(46/46) checking available disk space                                                           [########################################################] 100%
:: Processing package changes...
( 1/46) installing rocm-core                                                                    [########################################################] 100%
( 2/46) installing numactl                                                                      [########################################################] 100%
( 3/46) installing hwdata                                                                       [########################################################] 100%
( 4/46) installing kmod                                                                         [########################################################] 100%
( 5/46) installing pciutils                                                                     [########################################################] 100%
Optional dependencies for pciutils
    which: for update-pciids [installed]
    grep: for update-pciids [installed]
    curl: for update-pciids [installed]
( 6/46) installing libpciaccess                                                                 [########################################################] 100%
( 7/46) installing libdrm                                                                       [########################################################] 100%
( 8/46) installing hsakmt-roct                                                                  [########################################################] 100%
( 9/46) installing rocm-device-libs                                                             [########################################################] 100%
(10/46) installing hsa-rocr                                                                     [########################################################] 100%
(11/46) installing comgr                                                                        [########################################################] 100%
(12/46) installing rocm-language-runtime                                                        [########################################################] 100%
(13/46) installing libnsl                                                                       [########################################################] 100%
(14/46) installing python                                                                       [########################################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(15/46) installing rocminfo                                                                     [########################################################] 100%
(16/46) installing adwaita-cursors                                                              [########################################################] 100%
(17/46) installing default-cursors                                                              [########################################################] 100%
(18/46) installing wayland                                                                      [########################################################] 100%
(19/46) installing xcb-proto                                                                    [########################################################] 100%
(20/46) installing libxdmcp                                                                     [########################################################] 100%
(21/46) installing libxau                                                                       [########################################################] 100%
(22/46) installing libxcb                                                                       [########################################################] 100%
(23/46) installing xorgproto                                                                    [########################################################] 100%
(24/46) installing libx11                                                                       [########################################################] 100%
(25/46) installing libxext                                                                      [########################################################] 100%
(26/46) installing libxxf86vm                                                                   [########################################################] 100%
(27/46) installing libxfixes                                                                    [########################################################] 100%
(28/46) installing libxdamage                                                                   [########################################################] 100%
(29/46) installing libxshmfence                                                                 [########################################################] 100%
(30/46) installing libomxil-bellagio                                                            [########################################################] 100%
(31/46) installing libunwind                                                                    [########################################################] 100%
(32/46) installing libedit                                                                      [########################################################] 100%
(33/46) installing llvm-libs                                                                    [########################################################] 100%
(34/46) installing lm_sensors                                                                   [########################################################] 100%
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
(35/46) installing libglvnd                                                                     [########################################################] 100%
(36/46) installing vulkan-icd-loader                                                            [########################################################] 100%
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan driver
(37/46) installing mesa                                                                         [########################################################] 100%
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
    mesa-vdpau: for accelerated video playback
    libva-mesa-driver: for accelerated video playback
(38/46) installing rocm-llvm                                                                    [########################################################] 100%
(39/46) installing hip-runtime-amd                                                              [########################################################] 100%
(40/46) installing hicolor-icon-theme                                                           [########################################################] 100%
(41/46) installing jsoncpp                                                                      [########################################################] 100%
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
(42/46) installing libuv                                                                        [########################################################] 100%
(43/46) installing rhash                                                                        [########################################################] 100%
(44/46) installing cmake                                                                        [########################################################] 100%
Optional dependencies for cmake
    qt6-base: cmake-gui
(45/46) installing rocm-cmake                                                                   [########################################################] 100%
(46/46) installing rocm-hip-runtime                                                             [########################################################] 100%
==> Making package: ncurses5-compat-libs 6.3-1 (Thu Dec 22 16:31:19 2022)
==> Retrieving sources...
  -> Found ncurses-6.3.tar.gz
  -> Found ncurses-6.3.tar.gz.sig
==> Validating source files with sha256sums...
    ncurses-6.3.tar.gz ... Passed
    ncurses-6.3.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    ncurses-6.3.tar.gz ... Passed
==> Making package: ncurses5-compat-libs 6.3-1 (Thu Dec 22 16:31:21 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ncurses-6.3.tar.gz
  -> Found ncurses-6.3.tar.gz.sig
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting ncurses-6.3.tar.gz with bsdtar
==> Sources are ready.
ncurses5-compat-libs-6.3-1: parsing pkg list...
:: ncurses5-compat-libs-6.3-1 is up to date -- skipping build
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [jaap]...done
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra                                                             1719.2 KiB  21.0 MiB/s 00:00 [########################################################] 100%
 community-testing is up to date
 community                                                            7.2 MiB  44.0 MiB/s 00:00 [########################################################] 100%
 multilib-testing                                                     4.9 KiB   189 KiB/s 00:00 [########################################################] 100%
 multilib                                                           161.1 KiB  1564 KiB/s 00:00 [########################################################] 100%
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
loading packages...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency

Packages (47) adwaita-cursors-43-2  cmake-3.25.1-1  comgr-5.4.1-2  default-cursors-1-1  hicolor-icon-theme-0.17-2  hip-runtime-amd-5.4.1-2  hsa-rocr-5.4.1-2
              hsakmt-roct-5.4.1-3  hwdata-0.365-1  jsoncpp-1.9.5-2  kmod-30-3  libdrm-2.4.114-1  libedit-20210910_3.1-2  libglvnd-1.6.0-1  libnsl-2.0.0-2
              libomxil-bellagio-0.9.3-3  libpciaccess-0.17-1  libunwind-1.6.2-2  libuv-1.44.2-1  libx11-1.8.3-3  libxau-1.0.11-1  libxcb-1.15-2
              libxdamage-1.1.6-1  libxdmcp-1.1.4-1  libxext-1.3.5-1  libxfixes-6.0.0-2  libxshmfence-1.3.2-1  libxxf86vm-1.1.5-1  llvm-libs-14.0.6-4
              lm_sensors-1:3.6.0.r41.g31d1f125-2  mesa-22.3.1-2  numactl-2.0.16-1  pciutils-3.9.0-2  python-3.10.9-1  rhash-1.4.3-1  rocm-cmake-5.4.1-2
              rocm-core-5.3.3-1  rocm-device-libs-5.4.1-2  rocm-llvm-5.4.1-2  rocminfo-5.4.1-2  vulkan-icd-loader-1.3.235-1  wayland-1.21.0-2
              xcb-proto-1.15.2-2  xorgproto-2022.2-1  ncurses5-compat-libs-6.3-1  rocm-hip-runtime-5.4.0-1  rocm-language-runtime-5.4.0-1

Total Installed Size:  3556.41 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 rocm-core-5.3.3-1-x86_64 is up to date
(47/47) checking keys in keyring                                                                [########################################################] 100%
(45/47) checking package integrity                                                              [########################################################] 100%
(45/47) loading package files                                                                   [########################################################] 100%
(47/47) checking for file conflicts                                                             [########################################################] 100%
(47/47) checking available disk space                                                           [########################################################] 100%
:: Processing package changes...
( 1/47) installing rocm-core                                                                    [########################################################] 100%
( 2/47) installing numactl                                                                      [########################################################] 100%
( 3/47) installing hwdata                                                                       [########################################################] 100%
( 4/47) installing kmod                                                                         [########################################################] 100%
( 5/47) installing pciutils                                                                     [########################################################] 100%
Optional dependencies for pciutils
    which: for update-pciids [installed]
    grep: for update-pciids [installed]
    curl: for update-pciids [installed]
( 6/47) installing libpciaccess                                                                 [########################################################] 100%
( 7/47) installing libdrm                                                                       [########################################################] 100%
( 8/47) installing hsakmt-roct                                                                  [########################################################] 100%
( 9/47) installing rocm-device-libs                                                             [########################################################] 100%
(10/47) installing hsa-rocr                                                                     [########################################################] 100%
(11/47) installing comgr                                                                        [########################################################] 100%
(12/47) installing rocm-language-runtime                                                        [########################################################] 100%
(13/47) installing libnsl                                                                       [########################################################] 100%
(14/47) installing python                                                                       [########################################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(15/47) installing rocminfo                                                                     [########################################################] 100%
(16/47) installing adwaita-cursors                                                              [########################################################] 100%
(17/47) installing default-cursors                                                              [########################################################] 100%
(18/47) installing wayland                                                                      [########################################################] 100%
(19/47) installing xcb-proto                                                                    [########################################################] 100%
(20/47) installing libxdmcp                                                                     [########################################################] 100%
(21/47) installing libxau                                                                       [########################################################] 100%
(22/47) installing libxcb                                                                       [########################################################] 100%
(23/47) installing xorgproto                                                                    [########################################################] 100%
(24/47) installing libx11                                                                       [########################################################] 100%
(25/47) installing libxext                                                                      [########################################################] 100%
(26/47) installing libxxf86vm                                                                   [########################################################] 100%
(27/47) installing libxfixes                                                                    [########################################################] 100%
(28/47) installing libxdamage                                                                   [########################################################] 100%
(29/47) installing libxshmfence                                                                 [########################################################] 100%
(30/47) installing libomxil-bellagio                                                            [########################################################] 100%
(31/47) installing libunwind                                                                    [########################################################] 100%
(32/47) installing libedit                                                                      [########################################################] 100%
(33/47) installing llvm-libs                                                                    [########################################################] 100%
(34/47) installing lm_sensors                                                                   [########################################################] 100%
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
(35/47) installing libglvnd                                                                     [########################################################] 100%
(36/47) installing vulkan-icd-loader                                                            [########################################################] 100%
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan driver
(37/47) installing mesa                                                                         [########################################################] 100%
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
    mesa-vdpau: for accelerated video playback
    libva-mesa-driver: for accelerated video playback
(38/47) installing rocm-llvm                                                                    [########################################################] 100%
(39/47) installing hip-runtime-amd                                                              [########################################################] 100%
(40/47) installing hicolor-icon-theme                                                           [########################################################] 100%
(41/47) installing jsoncpp                                                                      [########################################################] 100%
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
(42/47) installing libuv                                                                        [########################################################] 100%
(43/47) installing rhash                                                                        [########################################################] 100%
(44/47) installing cmake                                                                        [########################################################] 100%
Optional dependencies for cmake
    qt6-base: cmake-gui
(45/47) installing rocm-cmake                                                                   [########################################################] 100%
(46/47) installing rocm-hip-runtime                                                             [########################################################] 100%
(47/47) installing ncurses5-compat-libs                                                         [########################################################] 100%
==> Making package: opencl-amd 1:5.4.1-1 (Thu Dec 22 16:31:33 2022)
==> Retrieving sources...
  -> Found libdrm-amdgpu-amdgpu1_2.4.113.50401-1518338.22.04_amd64.deb
  -> Found rocm-core_5.4.1.50401-84~22.04_amd64.deb
  -> Found comgr_2.4.0.50401-84~22.04_amd64.deb
  -> Found hip-dev_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hip-doc_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hip-samples_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hsakmt-roct-dev_20221020.0.2.50401-84~22.04_amd64.deb
  -> Found hsa-rocr_1.7.0.50401-84~22.04_amd64.deb
  -> Found hsa-rocr-dev_1.7.0.50401-84~22.04_amd64.deb
  -> Found rocminfo_1.0.0.50401-84~22.04_amd64.deb
  -> Found hip-runtime-amd_5.4.22802.50401-84~22.04_amd64.deb
  -> Found rocm-device-libs_1.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-language-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-hip-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-ocl-icd_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl-dev_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-clang-ocl_0.5.0.50401-84~22.04_amd64.deb
  -> Found openmp-extras-runtime_15.54.0.50401-84~22.04_amd64.deb
  -> Found rocm-smi-lib_5.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-cmake_0.8.0.50401-84~22.04_amd64.deb
  -> Found rocm-dbgapi_0.68.0.50401-84~22.04_amd64.deb
  -> Found rocm-debug-agent_2.0.3.50401-84~22.04_amd64.deb
  -> Found rocm-gdb_12.1.50401-84~22.04_amd64.deb
  -> Found rocm-utils_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocprofiler-dev_1.0.0.50401-84~22.04_amd64.deb
  -> Found roctracer-dev_4.1.0.50401-84~22.04_amd64.deb
  -> Found rocm-dev_5.4.1.50401-84~22.04_amd64.deb
  -> Found hsa-amd-aqlprofile_1.0.0.50401-84~22.04_amd64.deb
  -> Found opencl-legacy-amdgpu-pro-icd_22.40-1518373.22.04_amd64.deb
==> Validating source files with sha256sums...
    libdrm-amdgpu-amdgpu1_2.4.113.50401-1518338.22.04_amd64.deb ... Passed
    rocm-core_5.4.1.50401-84~22.04_amd64.deb ... Passed
    comgr_2.4.0.50401-84~22.04_amd64.deb ... Passed
    hip-dev_5.4.22802.50401-84~22.04_amd64.deb ... Passed
    hip-doc_5.4.22802.50401-84~22.04_amd64.deb ... Passed
    hip-samples_5.4.22802.50401-84~22.04_amd64.deb ... Passed
    hsakmt-roct-dev_20221020.0.2.50401-84~22.04_amd64.deb ... Passed
    hsa-rocr_1.7.0.50401-84~22.04_amd64.deb ... Passed
    hsa-rocr-dev_1.7.0.50401-84~22.04_amd64.deb ... Passed
    rocminfo_1.0.0.50401-84~22.04_amd64.deb ... Passed
    hip-runtime-amd_5.4.22802.50401-84~22.04_amd64.deb ... Passed
    rocm-device-libs_1.0.0.50401-84~22.04_amd64.deb ... Passed
    rocm-language-runtime_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-hip-runtime_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-ocl-icd_2.0.0.50401-84~22.04_amd64.deb ... Passed
    rocm-opencl_2.0.0.50401-84~22.04_amd64.deb ... Passed
    rocm-opencl-dev_2.0.0.50401-84~22.04_amd64.deb ... Passed
    rocm-opencl-runtime_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-clang-ocl_0.5.0.50401-84~22.04_amd64.deb ... Passed
    openmp-extras-runtime_15.54.0.50401-84~22.04_amd64.deb ... Passed
    rocm-smi-lib_5.0.0.50401-84~22.04_amd64.deb ... Passed
    rocm-cmake_0.8.0.50401-84~22.04_amd64.deb ... Passed
    rocm-dbgapi_0.68.0.50401-84~22.04_amd64.deb ... Passed
    rocm-debug-agent_2.0.3.50401-84~22.04_amd64.deb ... Passed
    rocm-gdb_12.1.50401-84~22.04_amd64.deb ... Passed
    rocm-utils_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocprofiler-dev_1.0.0.50401-84~22.04_amd64.deb ... Passed
    roctracer-dev_4.1.0.50401-84~22.04_amd64.deb ... Passed
    rocm-dev_5.4.1.50401-84~22.04_amd64.deb ... Passed
    hsa-amd-aqlprofile_1.0.0.50401-84~22.04_amd64.deb ... Passed
    opencl-legacy-amdgpu-pro-icd_22.40-1518373.22.04_amd64.deb ... Passed
==> Making package: opencl-amd 1:5.4.1-1 (Thu Dec 22 16:31:35 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) ocl-icd-2.3.1-1

Total Installed Size:  0.26 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
(1/1) checking available disk space                                                             [########################################################] 100%
:: Processing package changes...
(1/1) installing ocl-icd                                                                        [########################################################] 100%
Optional dependencies for ocl-icd
    opencl-driver: packaged opencl driver
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) wget-1.21.3-1

Total Installed Size:  3.03 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
(1/1) checking available disk space                                                             [########################################################] 100%
:: Processing package changes...
(1/1) installing wget                                                                           [########################################################] 100%
Optional dependencies for wget
    ca-certificates: HTTPS downloads [installed]
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
==> Retrieving sources...
  -> Found libdrm-amdgpu-amdgpu1_2.4.113.50401-1518338.22.04_amd64.deb
  -> Found rocm-core_5.4.1.50401-84~22.04_amd64.deb
  -> Found comgr_2.4.0.50401-84~22.04_amd64.deb
  -> Found hip-dev_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hip-doc_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hip-samples_5.4.22802.50401-84~22.04_amd64.deb
  -> Found hsakmt-roct-dev_20221020.0.2.50401-84~22.04_amd64.deb
  -> Found hsa-rocr_1.7.0.50401-84~22.04_amd64.deb
  -> Found hsa-rocr-dev_1.7.0.50401-84~22.04_amd64.deb
  -> Found rocminfo_1.0.0.50401-84~22.04_amd64.deb
  -> Found hip-runtime-amd_5.4.22802.50401-84~22.04_amd64.deb
  -> Found rocm-device-libs_1.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-language-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-hip-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-ocl-icd_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl-dev_2.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-opencl-runtime_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-clang-ocl_0.5.0.50401-84~22.04_amd64.deb
  -> Found openmp-extras-runtime_15.54.0.50401-84~22.04_amd64.deb
  -> Found rocm-smi-lib_5.0.0.50401-84~22.04_amd64.deb
  -> Found rocm-cmake_0.8.0.50401-84~22.04_amd64.deb
  -> Found rocm-dbgapi_0.68.0.50401-84~22.04_amd64.deb
  -> Found rocm-debug-agent_2.0.3.50401-84~22.04_amd64.deb
  -> Found rocm-gdb_12.1.50401-84~22.04_amd64.deb
  -> Found rocm-utils_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocprofiler-dev_1.0.0.50401-84~22.04_amd64.deb
  -> Found roctracer-dev_4.1.0.50401-84~22.04_amd64.deb
  -> Found rocm-dev_5.4.1.50401-84~22.04_amd64.deb
  -> Found hsa-amd-aqlprofile_1.0.0.50401-84~22.04_amd64.deb
  -> Found opencl-legacy-amdgpu-pro-icd_22.40-1518373.22.04_amd64.deb
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting libdrm-amdgpu-amdgpu1_2.4.113.50401-1518338.22.04_amd64.deb with bsdtar
  -> Extracting rocm-core_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting comgr_2.4.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hip-dev_5.4.22802.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hip-doc_5.4.22802.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hip-samples_5.4.22802.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hsakmt-roct-dev_20221020.0.2.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hsa-rocr_1.7.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hsa-rocr-dev_1.7.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocminfo_1.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hip-runtime-amd_5.4.22802.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-device-libs_1.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-language-runtime_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-hip-runtime_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-ocl-icd_2.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl_2.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl-dev_2.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-opencl-runtime_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-clang-ocl_0.5.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting openmp-extras-runtime_15.54.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-smi-lib_5.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-cmake_0.8.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-dbgapi_0.68.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-debug-agent_2.0.3.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-gdb_12.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-utils_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocprofiler-dev_1.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting roctracer-dev_4.1.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting rocm-dev_5.4.1.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting hsa-amd-aqlprofile_1.0.0.50401-84~22.04_amd64.deb with bsdtar
  -> Extracting opencl-legacy-amdgpu-pro-icd_22.40-1518373.22.04_amd64.deb with bsdtar
==> Sources are ready.
opencl-amd-1:5.4.1-1: parsing pkg list...
:: opencl-amd-1:5.4.1-1 is up to date -- skipping build
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [jaap]...done
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community-testing is up to date
 community is up to date
 multilib-testing is up to date
 multilib is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (14) comgr-5.4.1-2  hsakmt-roct-5.4.1-3  hwdata-0.365-1  kmod-30-3  libdrm-2.4.114-1  libpciaccess-0.17-1  numactl-2.0.16-1  ocl-icd-2.3.1-1
              pciutils-3.9.0-2  rocm-llvm-5.4.1-2  ncurses5-compat-libs-6.3-1  opencl-amd-1:5.4.1-1  rocm-hip-runtime-5.4.0-1  rocm-language-runtime-5.4.0-1

Total Installed Size:  3527.77 MiB

:: Proceed with installation? [Y/n] y
(14/14) checking keys in keyring                                                                [########################################################] 100%
(13/14) checking package integrity                                                              [########################################################] 100%
(13/14) loading package files                                                                   [########################################################] 100%
(14/14) checking for file conflicts                                                             [########################################################] 100%
error: failed to commit transaction (conflicting files)
/opt/rocm exists in both 'opencl-amd' and 'hsakmt-roct'
/opt/rocm exists in both 'opencl-amd' and 'comgr'
/opt/rocm exists in both 'opencl-amd' and 'rocm-llvm'
Errors occurred, no packages were upgraded.
==> Making package: opencl-amd-dev 1:5.4.1-1 (Thu Dec 22 16:31:42 2022)
==> Retrieving sources...
  -> Found openmp-extras-dev_15.54.0.50401-84~22.04_amd64.deb
  -> Found rocm-llvm_15.0.0.22465.50401-84~22.04_amd64.deb
  -> Found rocblas_2.46.0.50401-84~22.04_amd64.deb
  -> Found rocblas-dev_2.46.0.50401-84~22.04_amd64.deb
  -> Found rocsolver_3.20.0.50401-84~22.04_amd64.deb
  -> Found rocsolver-dev_3.20.0.50401-84~22.04_amd64.deb
  -> Found hipblas_0.53.0.50401-84~22.04_amd64.deb
  -> Found hipblas-dev_0.53.0.50401-84~22.04_amd64.deb
  -> Found rocprim-dev_2.10.9.50401-84~22.04_amd64.deb
  -> Found hipcub-dev_2.10.12.50401-84~22.04_amd64.deb
  -> Found rocfft_1.0.20.50401-84~22.04_amd64.deb
  -> Found rocfft-dev_1.0.20.50401-84~22.04_amd64.deb
  -> Found hipfft_1.0.10.50401-84~22.04_amd64.deb
  -> Found hipfft-dev_1.0.10.50401-84~22.04_amd64.deb
  -> Found hipfort-dev_0.4.0.50401-84~22.04_amd64.deb
  -> Found hipsolver_1.6.0.50401-84~22.04_amd64.deb
  -> Found hipsolver-dev_1.6.0.50401-84~22.04_amd64.deb
  -> Found hipify-clang_15.0.0.50401-84~22.04_amd64.deb
  -> Found rocsparse_2.3.3.50401-84~22.04_amd64.deb
  -> Found rocsparse-dev_2.3.3.50401-84~22.04_amd64.deb
  -> Found hipsparse_2.3.3.50401-84~22.04_amd64.deb
  -> Found hipsparse-dev_2.3.3.50401-84~22.04_amd64.deb
  -> Found rccl_2.13.4.50401-84~22.04_amd64.deb
  -> Found rccl-dev_2.13.4.50401-84~22.04_amd64.deb
  -> Found rocrand_2.10.9.50401-84~22.04_amd64.deb
  -> Found rocrand-dev_2.10.9.50401-84~22.04_amd64.deb
  -> Found rocalution_2.1.3.50401-84~22.04_amd64.deb
  -> Found rocalution-dev_2.1.3.50401-84~22.04_amd64.deb
  -> Found rocm-hip-libraries_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-hip-runtime-dev_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocthrust-dev_2.10.9.50401-84~22.04_amd64.deb
  -> Found rocm-hip-sdk_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-opencl-sdk_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocwmma-dev_0.7.0.50401-84~22.04_amd64.deb
  -> Found miopen-hip_2.19.0.50401-84~22.04_amd64.deb
  -> Found miopen-hip-dev_2.19.0.50401-84~22.04_amd64.deb
  -> Found rocm-ml-libraries_5.4.1.50401-84~22.04_amd64.deb
  -> Found rocm-ml-sdk_5.4.1.50401-84~22.04_amd64.deb
==> Validating source files with sha256sums...
    openmp-extras-dev_15.54.0.50401-84~22.04_amd64.deb ... Passed
    rocm-llvm_15.0.0.22465.50401-84~22.04_amd64.deb ... Passed
    rocblas_2.46.0.50401-84~22.04_amd64.deb ... Passed
    rocblas-dev_2.46.0.50401-84~22.04_amd64.deb ... Passed
    rocsolver_3.20.0.50401-84~22.04_amd64.deb ... Passed
    rocsolver-dev_3.20.0.50401-84~22.04_amd64.deb ... Passed
    hipblas_0.53.0.50401-84~22.04_amd64.deb ... Passed
    hipblas-dev_0.53.0.50401-84~22.04_amd64.deb ... Passed
    rocprim-dev_2.10.9.50401-84~22.04_amd64.deb ... Passed
    hipcub-dev_2.10.12.50401-84~22.04_amd64.deb ... Passed
    rocfft_1.0.20.50401-84~22.04_amd64.deb ... Passed
    rocfft-dev_1.0.20.50401-84~22.04_amd64.deb ... Passed
    hipfft_1.0.10.50401-84~22.04_amd64.deb ... Passed
    hipfft-dev_1.0.10.50401-84~22.04_amd64.deb ... Passed
    hipfort-dev_0.4.0.50401-84~22.04_amd64.deb ... Passed
    hipsolver_1.6.0.50401-84~22.04_amd64.deb ... Passed
    hipsolver-dev_1.6.0.50401-84~22.04_amd64.deb ... Passed
    hipify-clang_15.0.0.50401-84~22.04_amd64.deb ... Passed
    rocsparse_2.3.3.50401-84~22.04_amd64.deb ... Passed
    rocsparse-dev_2.3.3.50401-84~22.04_amd64.deb ... Passed
    hipsparse_2.3.3.50401-84~22.04_amd64.deb ... Passed
    hipsparse-dev_2.3.3.50401-84~22.04_amd64.deb ... Passed
    rccl_2.13.4.50401-84~22.04_amd64.deb ... Passed
    rccl-dev_2.13.4.50401-84~22.04_amd64.deb ... Passed
    rocrand_2.10.9.50401-84~22.04_amd64.deb ... Passed
    rocrand-dev_2.10.9.50401-84~22.04_amd64.deb ... Passed
    rocalution_2.1.3.50401-84~22.04_amd64.deb ... Passed
    rocalution-dev_2.1.3.50401-84~22.04_amd64.deb ... Passed
    rocm-hip-libraries_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-hip-runtime-dev_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocthrust-dev_2.10.9.50401-84~22.04_amd64.deb ... Passed
    rocm-hip-sdk_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-opencl-sdk_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocwmma-dev_0.7.0.50401-84~22.04_amd64.deb ... Passed
    miopen-hip_2.19.0.50401-84~22.04_amd64.deb ... Passed
    miopen-hip-dev_2.19.0.50401-84~22.04_amd64.deb ... Passed
    rocm-ml-libraries_5.4.1.50401-84~22.04_amd64.deb ... Passed
    rocm-ml-sdk_5.4.1.50401-84~22.04_amd64.deb ... Passed
==> Making package: opencl-amd-dev 1:5.4.1-1 (Thu Dec 22 16:31:45 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: opencl-amd
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> opencl-amd
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) wget-1.21.3-1

Total Installed Size:  3.03 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
(1/1) checking available disk space                                                             [########################################################] 100%
:: Processing package changes...
(1/1) installing wget                                                                           [########################################################] 100%
Optional dependencies for wget
    ca-certificates: HTTPS downloads [installed]
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
==> ERROR: Could not resolve all dependencies.
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/jaap/build
error: failed to download sources for 'opencl-amd-dev-1:5.4.1-1': failed to run: makechrootpkg -cu -r /var/lib/aurbuild/x86_64 -I /home/jaap/.cache/paru/clone/rocm-hip-sdk/rocm-language-runtime-5.4.0-1-x86_64.pkg.tar.zst -I /home/jaap/.cache/paru/clone/rocm-hip-sdk/rocm-hip-runtime-5.4.0-1-x86_64.pkg.tar.zst -I /home/jaap/.cache/paru/clone/ncurses5-compat-libs/ncurses5-compat-libs-6.3-1-x86_64.pkg.tar.zst -I /home/jaap/.cache/paru/clone/opencl-amd/opencl-amd-1:5.4.1-1-x86_64.pkg.tar.zst -D /var/lib/repo/aur -d /var/lib/repo/aur -- -ofA: 
loading packages...
resolving dependencies...
warning: cannot resolve "miopen-hip", a dependency of "rocm-hip-sdk"
:: The following package cannot be upgraded due to unresolvable dependencies:
      rocm-hip-sdk

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)

paru.conf:

[jaap@Jaap-Desktop ~]$ cat /etc/paru.conf 
#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options

#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
#CombinedUpgrade
#CleanAfter
#UpgradeMenu
#NewsOnUpgrade

#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache

#
# Binary OPTIONS
#
#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck

pacman.conf:

[jaap@Jaap-Desktop ~]$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
CacheDir = /var/lib/repo/aur
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

#IgnorePkg   =
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib-testing]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[aur]
SigLevel = PackageOptional DatabaseOptional

Please let me know if there is any more relevant information I can provide!

mr-cn commented 1 year ago

I got same problem when installing ros2-humble package in chroot environment through paru (1.11.2-1).

To simplify the situation, I try to make an example. There are two AUR packages named A and B. A requires B. B have only non-AUR dependencies, which means pacman can satisfy their dependencies easily. B can be successfully built. After that, when building A, it will be reported that B is a missing dependency and can not be found.

As @Mushoz 's attachment showing, opencl-amd-dev requires opencl-amd package, and clearly, opencl-amd has been built before making package for opencl-amd-dev, but opencl-amd package still can not be found.

==> Making package: opencl-amd 1:5.4.1-1 (Thu Dec 22 16:31:35 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...

...

==> Sources are ready.
opencl-amd-1:5.4.1-1: parsing pkg list...
:: opencl-amd-1:5.4.1-1 is up to date -- skipping build
==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [jaap]...done

...

==> Making package: opencl-amd-dev 1:5.4.1-1 (Thu Dec 22 16:31:42 2022)
==> Retrieving sources...

...

==> Making package: opencl-amd-dev 1:5.4.1-1 (Thu Dec 22 16:31:45 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: opencl-amd
==> ERROR: 'pacman' failed to install missing dependencies.

Usually, that re-run paru --chroot <package> command should make the process running again. The command may do some syncing-like stuff to previous successfully built package like opencl-amd into new chroot session, so the missing package will become available.

Morganamilo commented 1 year ago

From your own output:

:: Proceed with installation? [Y/n] y
(14/14) checking keys in keyring                                                                [########################################################] 100%
(13/14) checking package integrity                                                              [########################################################] 100%
(13/14) loading package files                                                                   [########################################################] 100%
(14/14) checking for file conflicts                                                             [########################################################] 100%
error: failed to commit transaction (conflicting files)
/opt/rocm exists in both 'opencl-amd' and 'hsakmt-roct'
/opt/rocm exists in both 'opencl-amd' and 'comgr'
/opt/rocm exists in both 'opencl-amd' and 'rocm-llvm'
Errors occurred, no packages were upgraded.

I assume this is the issue. The packages conflict and don't declare it.

Morganamilo commented 1 year ago

Actually I get a missing dep error myself so that may be unrelated. Hmm.

Morganamilo commented 1 year ago

Both examples seem to have been fixed in f62163632d2cdb812c7ea32502cb421cdaf95a2c