Package Details: mdev-gpu-cli 0.1.0.0-2

Git Clone URL: https://aur.archlinux.org/mdev-gpu-cli.git (read-only, click to copy)
Package Base: mdev-gpu-cli
Description: A user-configurable utility for GPU vendor drivers enabling the registration of arbitrary mdev types with the VFIO-Mediated Device framework.
Upstream URL: https://github.com/Arc-Compute/Mdev-GPU
Licenses: GPL
Conflicts: mdev-cli
Replaces: mdev-cli
Submitter: davispuh
Maintainer: None
Last Packager: davispuh
Votes: 0
Popularity: 0.000000
First Submitted: 2024-01-11 16:40 (UTC)
Last Updated: 2024-01-11 16:40 (UTC)

Latest Comments

dreieck commented on 2025-05-26 10:54 (UTC) (edited on 2025-05-26 10:59 (UTC) by dreieck)

Build fails for me with

[ 8 of 10] Compiling Nvidia.RMApi     ( src/Nvidia/RMApi.hs, dist/build/Nvidia/RMApi.dyn_o )

src/Nvidia/RMApi.hs:57:11: error:
    Ambiguous occurrence ‘status’
    It could refer to
       either the field ‘status’ of record ‘RmFreeRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:105:5-10)
           or the field ‘status’ of record ‘RmControlRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:199:5-10)
           or the field ‘status’ of record ‘RmAllocRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:72:5-10)
   |
57 |   let s = status (ret :: RmAllocRes)
   |           ^^^^^^

src/Nvidia/RMApi.hs:62:26: error:
    Ambiguous occurrence ‘hRoot’
    It could refer to
       either the field ‘hRoot’ of record ‘RmFreeRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:102:5-9)
           or the field ‘hRoot’ of record ‘RmAllocRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:67:5-9)
   |
62 |           (fromIntegral (hRoot (ret :: RmAllocRes)) :: Integer)
   |                          ^^^^^

[...]

src/Nvidia/RMApi.hs:158:11: error:
    Ambiguous occurrence ‘status’
    It could refer to
       either the field ‘status’ of record ‘RmFreeRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:105:5-10)
           or the field ‘status’ of record ‘RmControlRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:199:5-10)
           or the field ‘status’ of record ‘RmAllocRes’,
              imported from ‘Nvidia.RMApi.Types’ at src/Nvidia/RMApi.hs:31:1-25
              (and originally defined at src/Nvidia/RMApi/Types.hs:72:5-10)
    |
158 |   let s = status (ret :: RmControlRes)
    |           ^^^^^^
[10 of 10] Compiling Paths_mdev_gpu   ( dist/build/autogen/Paths_mdev_gpu.hs, dist/build/Paths_mdev_gpu.dyn_o )
==> ERROR: A failure occurred in build().

↗ Upstream issue report.

Regards!

dreieck commented on 2025-03-04 21:32 (UTC)

Ahoj,

you need to make the license identifier SPDX compliant:

mdev-gpu-cli E: GPL is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Regards and thanks for the package!