Open moefear85 opened 1 month ago
I tried to contact the package maintainer to find out how to update it.
You can use the scripts dkms-remove.sh
and dkms-install.sh
to update dkms source using this repo.
The distribution versions supported by the piduino.org repository are indicated in the README file and Ubuntu 24.04 is not yet one of them.
Under Ubuntu 22.04, the update is done correctly, for the moment, the quickest solution is to use the dkms-*.sh
scripts.
As soon as I have time available I will see to integrating version 24.04.
Paramétrage de linux-headers-6.5.0-35-generic (6.5.0-35.35~22.04.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.5.0-35-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.5.0-35-generic -C /lib/modules/6.5.0-35-generic/build M=/var/lib/dkms/tty0tty/1.41/build...
Signing module:
- /var/lib/dkms/tty0tty/1.41/6.5.0-35-generic/x86_64/module/tty0tty.ko
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
cleaning build area...
tty0tty.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-35-generic/updates/dkms/
depmod......
Warning: Unable to find an initial ram disk that I know how to handle.
Will not try to make an initrd.
...done.
contents of
/var/lib/dkms/tty0tty/1.41/build/make.log
:seems one of those cases where gcc decides to treat a previously fine code construct as an error-warning & fail. Is it possible to properly cast the type to avoid this (I wouldn't know exactly what to cast to)? Otherwise ubuntu
apt upgrade
(04.06.2024) fails:this appears to be the same issue as 6.6 DKMS build problem, and it appears to be fixed (by you). However, it seems the changes aren't reflected in the ubuntu repository, meaning
sudo apt install tty0tty-dkms
still installs the old version.I tried manually modifying line 847 in
/var/lib/dkms/tty0tty/1.41/build/tty0tty.c
but the file seems auto-generated, meaning any changes aren't picked up, hence the error remains. What would be the correct original path to modify (when installed from the repo)?