Your message dated Wed, 19 Nov 2025 05:20:51 +0000
with message-id <[email protected]>
and subject line Bug#1120524: fixed in xrt 202610.2.21.21-3
has caused the Debian Bug report #1120524,
regarding xrt-xocl-dkms: module fails to build for Linux 6.17: error:
initialization of 'const struct bin_attribute * const*' from incompatible
pointer type 'struct bin_attribute **'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1120524: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120524
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xrt-xocl-dkms
Version: 202610.2.21.21-2
Severity: serious
Hi,
xrt-xocl-dkms fails to build a module for Linux 6.17 in sid:
DKMS (dkms-3.2.2) make.log for xrt/2.21.0 for kernel 6.17.6+deb14-amd64 (x86_64)
Tue Nov 11 15:27:44 UTC 2025
Building module(s)
# command: cd driver/xocl; make
KERNEL_SRC=/lib/modules/6.17.6+deb14-amd64/build; cd ../..
cd userpf; make all
make[1]: Entering directory '/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf'
/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf
make -C /lib/modules/6.17.6+deb14-amd64/build
M=/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf modules
make[2]: Entering directory '/usr/src/linux-headers-6.17.6+deb14-amd64'
make[3]: Entering directory '/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf'
CC [M] ../xocl_subdev.o
CC [M] ../xocl_ctx.o
CC [M] ../xocl_thread.o
CC [M] ../xocl_fdt.o
CC [M] ../xocl_xclbin.o
CC [M] ../xocl_debug.o
CC [M] ../xocl_xgq.o
CC [M] ../subdev/xdma.o
CC [M] ../subdev/qdma.o
CC [M] ../subdev/feature_rom.o
../subdev/feature_rom.c:152:17: error: initialization of 'ssize_t (*)(struct
file *, struct kobject *, const struct bin_attribute *, char *, loff_t,
size_t)' {aka 'long int (*)(struct file *, struct kobject *, const struct
bin_attribute *, char *, long long int, long unsigned int)'} from incompatible
pointer type 'ssize_t (*)(struct file *, struct kobject *, struct bin_attribute
*, char *, loff_t, size_t)' {aka 'long int (*)(struct file *, struct kobject
*, struct bin_attribute *, char *, long long int, long unsigned int)'}
[-Wincompatible-pointer-types]
152 | .read = raw_show,
| ^~~~~~~~
../subdev/feature_rom.c:152:17: note: (near initialization for 'raw_attr.read')
../subdev/feature_rom.c:130:16: note: 'raw_show' declared here
130 | static ssize_t raw_show(struct file *filp, struct kobject *kobj,
| ^~~~~~~~
../subdev/feature_rom.c:164:22: error: initialization of 'const struct
bin_attribute * const*' from incompatible pointer type 'struct bin_attribute
**' [-Wincompatible-pointer-types]
164 | .bin_attrs = rom_bin_attrs,
| ^~~~~~~~~~~~~
../subdev/feature_rom.c:164:22: note: (near initialization for
'rom_attr_group.<anonymous>.bin_attrs')
../subdev/feature_rom.c: In function 'set_vbnv_name':
../subdev/feature_rom.c:357:53: warning: format '%lx' expects argument of type
'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'}
[-Wformat=]
357 | snprintf(sh_version, sizeof(sh_version), "%lx", idcode);
| ~~^ ~~~~~~
| | |
| | uint32_t {aka
unsigned int}
| long unsigned int
| %x
make[5]: ***
[/usr/src/linux-headers-6.17.6+deb14-common/scripts/Makefile.build:292:
../subdev/feature_rom.o] Error 1
make[4]: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:2035: .]
Error 2
make[3]: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:260:
__sub-make] Error 2
make[3]: Leaving directory '/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf'
make[2]: *** [/usr/src/linux-headers-6.17.6+deb14-common/Makefile:260:
__sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.17.6+deb14-amd64'
make[1]: *** [Makefile:137: all] Error 2
make[1]: Leaving directory '/var/lib/dkms/xrt/2.21.0/build/driver/xocl/userpf'
make: *** [Makefile:2: all] Error 2
# exit code: 0
# elapsed time: 00:00:53
----------------------------------------------------------------
Please enable the dkms autopkgtests (testing only module compilation) for
the package by adding
Testsuite: autopkgtest-pkg-dkms
to the Source stanza in d/control.
Andreas
--- End Message ---
--- Begin Message ---
Source: xrt
Source-Version: 202610.2.21.21-3
Done: Mario Limonciello <[email protected]>
We believe that the bug you reported is fixed in the latest version of
xrt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mario Limonciello <[email protected]> (supplier of updated xrt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 18 Nov 2025 22:48:45 -0600
Source: xrt
Built-For-Profiles: noudeb
Architecture: source
Version: 202610.2.21.21-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Xilinx Package Maintainers
<[email protected]>
Changed-By: Mario Limonciello <[email protected]>
Closes: 1120524
Changes:
xrt (202610.2.21.21-3) unstable; urgency=medium
.
* Add support for building xocl-dkms on more kernel versions (Closes:
#1120524)
* Enable autopkgtest dkms test suite
Checksums-Sha1:
c19cb6cdfe9aab52949150035760849610d78636 3073 xrt_202610.2.21.21-3.dsc
970f32fdcbffdf9f9505e538ba0a1bcb20727ec4 22412
xrt_202610.2.21.21-3.debian.tar.xz
84920770c51824290827207de048884c848b5708 11717
xrt_202610.2.21.21-3_source.buildinfo
Checksums-Sha256:
b23fcb569070693d1716f12b5a0cf3a0a24ff5bd67857b2954052e450957848e 3073
xrt_202610.2.21.21-3.dsc
58a560f1d50b385c1fea60680effd6089c07eaa03f82dbb4156657f009abe735 22412
xrt_202610.2.21.21-3.debian.tar.xz
a820d72ee80488a83380255257bbe3acc52cdaede3562b78b2c76934cf57108b 11717
xrt_202610.2.21.21-3_source.buildinfo
Files:
ddc899c9e5cd3324a2f8d018c72e81b1 3073 libs optional xrt_202610.2.21.21-3.dsc
83c342d860755c1e5225e2b62db6b13a 22412 libs optional
xrt_202610.2.21.21-3.debian.tar.xz
83ef876eb2541b06af497d39ed1a7dff 11717 libs optional
xrt_202610.2.21.21-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEECwtuSU6dXvs5GA2aLRkspiR3AnYFAmkdTc4THHN1cGVybTFA
ZGViaWFuLm9yZwAKCRAtGSymJHcCdrnyEADbT94SEws+sP9GHRQ+2vwgkN0M4oPV
esS9pYmP2kg+42wE6WcSOE7QqRs0Xa0tmS3f7h9zuOIZpI6fP6MRgk/0x/iG/FNu
KH1rcSxqo72lNyVohzghaPgV97L2c8slmmQY3KAbe8g2PX1YB/LgjBAMvtmeF1DM
EWotPtTKUSTOfankR96PxmY+dDFFBLuVB2FZpYkbzyuT2qqbYPSUMozgpt/mKm1A
xFkbsElGChiBEUvbDx9TzjYoqAwnLY3hoFWxPM6E2PUXIUjJmaIWYX2U2O09BI4v
88O0OtBlFGTqgimILMoMyfvuGfm2Awz+qvPAC22psRQCQ2b5L9+Qlnw1ZY5oC0LN
kI4F6EwyZ4hy+BmDpG3TjucpzBouTJvg3fFRL2yl/REK2yocX2a/+wkOcnu22mo+
TqIuxJ3kD4fMIcJ2oz8w8jkeRs1FtsP4Z0bcYSUQsMkaDVZ8+0sFKB1JXKvbnA+a
886iGeBk0Z5/Dui+23MtE5Y8B7lSyMb1/L1aKAwcgew3XJHT83Z5DIQj8Vg+rzG+
kzQWja8DNBWUr5kLmlIItRzkwjps68HCcHJfwE8pV/eHjNuIOFXTE9fCWVYxlTl3
7L3eyIvuktuEYghRsibEtyQnV2wZncBRdpkcGuGJmd6rrvpukOPmSyRJGYkWd2Tl
lrP+UGpzA9j+kw==
=i1H1
-----END PGP SIGNATURE-----
pgppv8v4x6OGr.pgp
Description: PGP signature
--- End Message ---