Package: xtrx-dkms
Version: 0.0.1+git20190320.5ae3a3e-3
Severity: important

Dear Maintainer,

Upgrading xtrx-dkms to 0.0.1+git20190320.5ae3a3e-3 fails to build due to
the following make error:

cat /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/make.log               
                                                                             
100 
DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3 for kernel 5.18.0-1-amd64 
(x86_64)
Fri 10 Jun 2022 13:06:11 SAST
make: Entering directory '/usr/src/linux-headers-5.18.0-1-amd64'
  CC [M]  /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c: In function 
‘xtrx_allocdma’:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:624:33: error: 
implicit declaration of function ‘pci_alloc_consistent’ 
[-Werror=implicit-function-declaration]
  624 |                 pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, 
&pbufs[i].phys);
      |                                 ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:624:31: warning: 
assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast 
[-Wint-conversion]
  624 |                 pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, 
&pbufs[i].phys);
      |                               ^
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:628:33: error: 
implicit declaration of function ‘pci_free_consistent’ 
[-Werror=implicit-function-declaration]
  628 |                                 pci_free_consistent(d->pdev, buflen, 
pbufs[i].virt, pbufs[i].phys);
      |                                 ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c: In function 
‘xtrx_probe’:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:1165:13: error: 
implicit declaration of function ‘pci_set_consistent_dma_mask’ 
[-Werror=implicit-function-declaration]
 1165 |         if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** 
[/usr/src/linux-headers-5.18.0-1-common/scripts/Makefile.build:293: 
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.o] Error 1
make: *** [/usr/src/linux-headers-5.18.0-1-common/Makefile:1858: 
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.18.0-1-amd64'

Thanks
Kyle

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.18.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_ZA:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xtrx-dkms depends on:
ii  dkms  3.0.3-2

xtrx-dkms recommends no packages.

xtrx-dkms suggests no packages.

-- no debconf information

Reply via email to