mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[GH-ISSUE #167] Ubuntu 26.04 #100
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-linux-kernel-module#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SchrodingerKitten on GitHub (Apr 23, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/167
Отапргрейдился
вот чо вижу при ааргрейде. куда копать?
cat /var/crash/amneziawg-dkms.0.crash
ProblemType: Package
DKMSBuildLog:
DKMS (dkms-3.2.2) make.log for amneziawg/1.0.0 for kernel 7.0.0-14-generic (x86_64)
чт 23 апр 2026 23:48:49 MSK
Building module(s)
command: make -j4 KERNELRELEASE=7.0.0-14-generic -C /lib/modules/7.0.0-14-generic/build M=/var/lib/dkms/amneziawg/1.0.0/build
make: вход в каталог «/usr/src/linux-headers-7.0.0-14-generic»
make[1]: вход в каталог «/var/lib/dkms/amneziawg/1.0.0/build»
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
You are using: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
warning: pahole version differs from the one used to build the kernel
The kernel was built with: 131
You are using: 0
CC [M] main.o
CC [M] noise.o
CC [M] device.o
CC [M] peer.o
noise.c: In function ‘wg_noise_init’:
noise.c:39:30: error: storage size of ‘blake’ isn’t known
39 | struct blake2s_state blake;
| ^~~~~
noise.c:41:46: error: passing argument 2 of ‘blake2s’ makes integer from pointer without a cast [-Wint-conversion]
41 | blake2s(handshake_init_chaining_key, handshake_name, NULL,
| ^~~~~~~~~~~~~~
| |
| const u8 * {aka const unsigned char *}
In file included from messages.h:11,
from noise.h:8,
from noise.c:6:
/usr/src/linux-headers-7.0.0-14-generic/include/crypto/blake2s.h:145:50: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘const u8 *’ {aka ‘const unsigned char *’}
145 | static inline void blake2s(const u8 *key, size_t keylen,
| ~~~~~~~^~~~~~
noise.c:42:33: error: passing argument 5 of ‘blake2s’ makes pointer from integer without a cast [-Wint-conversion]
42 | NOISE_HASH_LEN, sizeof(handshake_name), 0);
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| long unsigned int
/usr/src/linux-headers-7.0.0-14-generic/include/crypto/blake2s.h:147:32: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘long unsigned int’
147 | u8 *out, size_t outlen)
| ~~~~^~~
noise.c:39:30: warning: unused variable ‘blake’ [-Wunused-variable]
39 | struct blake2s_state blake;
| ^~~~~
noise.c: In function ‘hmac’:
noise.c:310:30: error: storage size of ‘state’ isn’t known
310 | struct blake2s_state state;
| ^~~~~
noise.c:310:30: warning: unused variable ‘state’ [-Wunused-variable]
noise.c: In function ‘mix_hash’:
noise.c:437:30: error: storage size of ‘blake’ isn’t known
437 | struct blake2s_state blake;
| ^~~~~
noise.c:437:30: warning: unused variable ‘blake’ [-Wunused-variable]
make[3]: *** [/usr/src/linux-headers-7.0.0-14-generic/scripts/Makefile.build:289: noise.o] Ошибка 1
make[3]: *** Ожидание завершения заданий…
make[2]: *** [/usr/src/linux-headers-7.0.0-14-generic/Makefile:2110: .] Ошибка 2
make[1]: *** [/usr/src/linux-headers-7.0.0-14-generic/Makefile:248: __sub-make] Ошибка 2
make[1]: выход из каталога «/var/lib/dkms/amneziawg/1.0.0/build»
make: *** [Makefile:248: __sub-make] Ошибка 2
make: выход из каталога «/usr/src/linux-headers-7.0.0-14-generic»
exit code: 2
elapsed time: 00:00:03
DKMSKernelVersion: 7.0.0-14-generic
Date: Thu Apr 23 23:48:54 2026
DuplicateSignature: dkms:amneziawg-dkms:1.0.0-0
202510091946+1a03083ubuntu25.04.1:noise.c:39:30: error: storage size of ‘blake’ isn’t knownPackage: amneziawg-dkms 1.0.0-0
202510091946+1a03083ubuntu25.04.1PackageVersion: 1.0.0-0
202510091946+1a03083ubuntu25.04.1SourcePackage: amneziawg-linux-kmod
Title: amneziawg-dkms 1.0.0-0
202510091946+1a03083ubuntu25.04.1: amneziawg kernel module failed to build@voedev commented on GitHub (Apr 28, 2026):
It seems they haven't added support for Ubuntu 26.04 https://ppa.launchpadcontent.net/amnezia/ppa/ubuntu/
@grold commented on GitHub (May 13, 2026):
Please add PPA support for Ubuntu 26.04
@PS1TD commented on GitHub (Jul 27, 2026):
Pretty please🙏
@Iv commented on GitHub (Jul 29, 2026):
It's the same story with the 24.04 HWE enabled.
@savely-krasovsky commented on GitHub (Aug 29, 2026):
I've just set "noble" and it built and works fine.