Package: vpb-driver-source
Version: 4.2.61-1.4
Severity: serious
vpb-driver-source fails to build a module for Linux 6.1 in bookworm and
Linux 6.12 in trixie.
Shouldn't there a corresponding -dkms package for this kernel module?
I: Trying to build vpb-driver-source for 6.1.0-29-amd64
Extracting the package tarball, /usr/src/vpb-driver.tar.bz2, please wait...
rm -f debian/control
sed -e 's/_KVERS_/6.1.0-29-amd64/' debian/control.modules.in > debian/control
dh_testdir
rm -f -r firmware
[ ! -e Makefile ] || /usr/bin/make distclean
[ ! -e obj_shared/Makefile ] || /usr/bin/make -C obj_shared distclean
rm -f build-arch-stamp build-indep-stamp
rm -f -r obj_shared obj_static
dh_clean
[ ! -d debian/po ] || debconf-updatepo
/usr/bin/make -f debian/rules clean
make[1]: Entering directory '/usr/src/modules/vpb-driver'
dh_testdir
rm -f -r firmware
[ ! -e Makefile ] || /usr/bin/make distclean
[ ! -e obj_shared/Makefile ] || /usr/bin/make -C obj_shared distclean
rm -f build-arch-stamp build-indep-stamp
rm -f -r obj_shared obj_static
dh_clean
[ ! -d debian/po ] || debconf-updatepo
make[1]: Leaving directory '/usr/src/modules/vpb-driver'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory '/usr/src/modules/vpb-driver'
rm -f debian/control
sed -e 's/_KVERS_/6.1.0-29-amd64/' debian/control.modules.in > debian/control
dh_testdir
rm -f -r firmware
[ ! -e Makefile ] || /usr/bin/make distclean
[ ! -e obj_shared/Makefile ] || /usr/bin/make -C obj_shared distclean
rm -f build-arch-stamp build-indep-stamp
rm -f -r obj_shared obj_static
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in
use)
[ ! -d debian/po ] || debconf-updatepo
/usr/bin/make -f debian/rules clean
make[2]: Entering directory '/usr/src/modules/vpb-driver'
dh_testdir
rm -f -r firmware
[ ! -e Makefile ] || /usr/bin/make distclean
[ ! -e obj_shared/Makefile ] || /usr/bin/make -C obj_shared distclean
rm -f build-arch-stamp build-indep-stamp
rm -f -r obj_shared obj_static
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in
use)
[ ! -d debian/po ] || debconf-updatepo
make[2]: Leaving directory '/usr/src/modules/vpb-driver'
make[1]: Nothing to be done for 'kdist_config'.
dh_testroot
dh_prep
/usr/bin/make -j14 -C src/vtcore
\
KSRC=/lib/modules/6.1.0-29-amd64/build KVERS=6.1.0-29-amd64
DESTDIR=/usr/src/modules/vpb-driver/debian/vpb-driver-modules-6.1.0-29-amd64
make[2]: Entering directory '/usr/src/modules/vpb-driver/src/vtcore'
/usr/bin/make -C /lib/modules/6.1.0-29-amd64/build
M=/usr/src/modules/vpb-driver/src/vtcore VT_VERSION=4.2.61 modules
make[3]: Entering directory '/usr/src/linux-headers-6.1.0-29-amd64'
CC [M] /usr/src/modules/vpb-driver/src/vtcore/vtcore_main.o
CC [M] /usr/src/modules/vpb-driver/src/vtcore/mu-alaw.o
CC [M] /usr/src/modules/vpb-driver/src/vtcore/vtopenpci.o
CC [M] /usr/src/modules/vpb-driver/src/vtcore/vtopenswitch.o
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_int_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:253:52: error: implicit
declaration of function ‘PDE_DATA’; did you mean ‘NODE_DATA’?
[-Werror=implicit-function-declaration]
253 | return single_open(file, vt_int_proc_show, PDE_DATA(inode));
| ^~~~~~~~
| NODE_DATA
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:253:52: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
253 | return single_open(file, vt_int_proc_show, PDE_DATA(inode));
| ^~~~~~~~~~~~~~~
| |
| int
In file included from /usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:53:
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_string_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:267:55: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
267 | return single_open(file, vt_string_proc_show, PDE_DATA(inode));
| ^~~~~~~~~~~~~~~
| |
| int
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_country_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1062:56: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1062 | return single_open(file, vt_country_proc_show, PDE_DATA(inode));
| ^~~~~~~~~~~~~~~
| |
| int
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_country_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1069:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1069 | void *data = PDE_DATA(file_inode(file));
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_playgain_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1181:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1181 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1187:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1187 | PROC_READWRITE_PORT(playgain)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_playgain_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1142:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1142 | void *data = PDE_DATA(file_inode(file));
\
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1182:9: note: in expansion
of macro ‘PROC_WRITE_PORT_’
1182 | PROC_WRITE_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1187:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1187 | PROC_READWRITE_PORT(playgain)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_recgain_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1181:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1181 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1188:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1188 | PROC_READWRITE_PORT(recgain)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_recgain_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1142:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1142 | void *data = PDE_DATA(file_inode(file));
\
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1182:9: note: in expansion
of macro ‘PROC_WRITE_PORT_’
1182 | PROC_WRITE_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1188:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1188 | PROC_READWRITE_PORT(recgain)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_hook_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1181:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1181 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1189:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1189 | PROC_READWRITE_PORT(hook)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_hook_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1142:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1142 | void *data = PDE_DATA(file_inode(file));
\
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1182:9: note: in expansion
of macro ‘PROC_WRITE_PORT_’
1182 | PROC_WRITE_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1189:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1189 | PROC_READWRITE_PORT(hook)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_ring_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1181:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1181 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1190:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1190 | PROC_READWRITE_PORT(ring)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_ring_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1142:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1142 | void *data = PDE_DATA(file_inode(file));
\
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1182:9: note: in expansion
of macro ‘PROC_WRITE_PORT_’
1182 | PROC_WRITE_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1190:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1190 | PROC_READWRITE_PORT(ring)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_polarity_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1181:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1181 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1191:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1191 | PROC_READWRITE_PORT(polarity)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_polarity_proc_write’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1142:43: warning:
initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast
[-Wint-conversion]
1142 | void *data = PDE_DATA(file_inode(file));
\
| ^~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1182:9: note: in expansion
of macro ‘PROC_WRITE_PORT_’
1182 | PROC_WRITE_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1191:1: note: in expansion
of macro ‘PROC_READWRITE_PORT’
1191 | PROC_READWRITE_PORT(polarity)
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vt_linevolt_proc_open’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1134:59: warning: passing
argument 3 of ‘single_open’ makes pointer from integer without a cast
[-Wint-conversion]
1134 | return single_open(file, vt_##attrib##_proc_show,
PDE_DATA(inode)); \
|
^~~~~~~~~~~~~~~
| |
| int
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1176:9: note: in expansion
of macro ‘PROC_READ_PORT_’
1176 | PROC_READ_PORT_(attrib)
\
| ^~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1192:1: note: in expansion
of macro ‘PROC_READ_PORT’
1192 | PROC_READ_PORT(linevolt)
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-29-common/include/linux/seq_file.h:166:68: note:
expected ‘void *’ but argument is of type ‘int’
166 | int single_open(struct file *, int (*)(struct seq_file *, void *), void
*);
|
^~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c: In function
‘vtcore_ioctl’:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1016:20: warning: this
statement may fall through [-Wimplicit-fallthrough=]
1016 | if (vt_data.length == 0 && chan->bridgetx){
| ^
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1021:13: note: here
1021 | case VT_IOC_CHAN_BALANCE_SET:
| ^~~~
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c: In function
‘openpci_probe_board’:
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c:2417:43: error: implicit
declaration of function ‘pci_alloc_consistent’
[-Werror=implicit-function-declaration]
2417 | card->writeblock = (int *)pci_alloc_consistent(pdev,
| ^~~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c:2417:36: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]
2417 | card->writeblock = (int *)pci_alloc_consistent(pdev,
| ^
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c:2531:17: error: implicit
declaration of function ‘pci_free_consistent’
[-Werror=implicit-function-declaration]
2531 | pci_free_consistent(pdev, VT_PCIDMA_BLOCKSIZE,
| ^~~~~~~~~~~~~~~~~~~
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c: In function
‘configure_vdaa_port’:
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c:661:19: warning: this
statement may fall through [-Wimplicit-fallthrough=]
661 | if( configure_vdaa_country(card, port, DEFAULT_COUNTRY)
== 0 )
| ^
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.c:663:13: note: here
663 | default:
| ^~~~~~~
In file included from
/usr/src/linux-headers-6.1.0-29-common/include/linux/string.h:293,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/bitmap.h:11,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/cpumask.h:12,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/cpumask.h:5,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/msr.h:11,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/processor.h:22,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/cpufeature.h:5,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/thread_info.h:53,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/thread_info.h:60,
from
/usr/src/linux-headers-6.1.0-29-common/arch/x86/include/asm/preempt.h:7,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/preempt.h:79,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/spinlock.h:56,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/mmzone.h:8,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/gfp.h:7,
from
/usr/src/linux-headers-6.1.0-29-common/include/linux/slab.h:16,
from /usr/src/modules/vpb-driver/src/vtcore/vtcommon.h:52,
from /usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:45:
In function ‘fortify_memcpy_chk’,
inlined from ‘vt_write’ at
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.c:1829:23:
/usr/src/linux-headers-6.1.0-29-common/include/linux/fortify-string.h:404:25:
warning: call to ‘__write_overflow_field’ declared with attribute warning:
detected write beyond size of field (1st parameter); maybe use struct_group()?
[-Wattribute-warning]
404 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: ***
[/usr/src/linux-headers-6.1.0-29-common/scripts/Makefile.build:255:
/usr/src/modules/vpb-driver/src/vtcore/vtcore_main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[4]: ***
[/usr/src/linux-headers-6.1.0-29-common/scripts/Makefile.build:255:
/usr/src/modules/vpb-driver/src/vtcore/vtopenpci.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.1.0-29-common/Makefile:2034:
/usr/src/modules/vpb-driver/src/vtcore] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.1.0-29-amd64'
make[2]: *** [Makefile:45: all] Error 2
make[2]: Leaving directory '/usr/src/modules/vpb-driver/src/vtcore'
make[1]: *** [debian/rules:295: binary-modules] Error 2
make[1]: Leaving directory '/usr/src/modules/vpb-driver'
make: *** [/usr/share/modass/include/common-rules.make:56: kdist_build] Error 2
ESC[7mBUILD FAILED!
ESC[27mSee
/var/cache/modass/vpb-driver-source.buildlog.6.1.0-29-amd64.1738837462 for
details.
Build failed. Press Return to continue...
Andreas