Package Details: python-pyamdgpuinfo 2.1.6-1

Git Clone URL: https://aur.archlinux.org/python-pyamdgpuinfo.git (read-only, click to copy)
Package Base: python-pyamdgpuinfo
Description: AMD GPU stats
Upstream URL: https://github.com/mark9064/pyamdgpuinfo
Licenses: GPL-3.0-or-later
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 2
Popularity: 0.000000
First Submitted: 2020-08-04 19:31 (UTC)
Last Updated: 2024-01-21 18:48 (UTC)

Latest Comments

Felixoid commented on 2023-08-15 19:09 (UTC)

Thanks, it works

yochananmarqos commented on 2023-08-15 16:09 (UTC)

@Felixoid: It's resolved with 2.1.5.

yochananmarqos commented on 2023-08-10 17:47 (UTC)

@Felixoid: I can reproduce it in a clean chroot. It built fine last May, so it may be an issue with Cython 3.0.0 that upstream may need to address.

Felixoid commented on 2023-08-10 17:35 (UTC)

Hello. I have a strange error on build

==> Making package: python-pyamdgpuinfo 2.1.4-1 (Thu 10 Aug 2023 19:31:06)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found pyamdgpuinfo-2.1.4.tar.gz
==> Validating source files with sha256sums...
    pyamdgpuinfo-2.1.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting pyamdgpuinfo-2.1.4.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-pyamdgpuinfo 2.1.4-1 (Thu 10 Aug 2023 19:31:07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
* Getting build dependencies for wheel...
Compiling pyamdgpuinfo/_pyamdgpuinfo.pyx because it changed.
[1/1] Cythonizing pyamdgpuinfo/_pyamdgpuinfo.pyx

Error compiling Cython file:
------------------------------------------------------------
...
        self.thread_args.results = <uint32_t*>calloc(buffer_size_in_ticks, sizeof(uint32_t))
        if not self.thread_args.results:
            raise MemoryError()
        self.thread_args.device_handle = &self.device_handle
        self.utilisation_polling = True
        if pthread_cy.pthread_create(&tid, &attr, poll_registers, self.thread_args) != 0:
                                                  ^
------------------------------------------------------------

pyamdgpuinfo/_pyamdgpuinfo.pyx:382:50: Cannot assign type 'void *(void *) except * nogil' to 'void *(void *) noexcept nogil'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
    self).run_setup(setup_script=setup_script)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
    exec(code, locals())
  File "<string>", line 22, in <module>
  File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
    cythonize_one(*args)
  File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pyamdgpuinfo/_pyamdgpuinfo.pyx

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
    Aborting...
 -> Failed to install layer, rolling up to next layer.error:error making: python-pyamdgpuinfo - exit status 4

Does it look like an environment issue, or rather an upstream problem?