[GH-ISSUE #167] Ubuntu 26.04 #100

Open
opened 2026-10-13 21:06:32 +00:00 by bsakaguchi · 5 comments
Owner

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-0202510091946+1a03083ubuntu25.04.1:noise.c:39:30: error: storage size of ‘blake’ isn’t known
Package: amneziawg-dkms 1.0.0-0202510091946+1a03083ubuntu25.04.1
PackageVersion: 1.0.0-0202510091946+1a03083ubuntu25.04.1
SourcePackage: amneziawg-linux-kmod
Title: amneziawg-dkms 1.0.0-0202510091946+1a03083ubuntu25.04.1: amneziawg kernel module failed to build

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+1a03083~ubuntu25.04.1:noise.c:39:30: error: storage size of ‘blake’ isn’t known Package: amneziawg-dkms 1.0.0-0~202510091946+1a03083~ubuntu25.04.1 PackageVersion: 1.0.0-0~202510091946+1a03083~ubuntu25.04.1 SourcePackage: amneziawg-linux-kmod Title: amneziawg-dkms 1.0.0-0~202510091946+1a03083~ubuntu25.04.1: amneziawg kernel module failed to build
Author
Owner

@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/

<!-- gh-comment-id:4337291061 --> @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/
Author
Owner

@grold commented on GitHub (May 13, 2026):

Please add PPA support for Ubuntu 26.04

<!-- gh-comment-id:4437443107 --> @grold commented on GitHub (May 13, 2026): Please add PPA support for Ubuntu 26.04
Author
Owner

@PS1TD commented on GitHub (Jul 27, 2026):

Please add PPA support for Ubuntu 26.04

Pretty please🙏

<!-- gh-comment-id:5094614282 --> @PS1TD commented on GitHub (Jul 27, 2026): > Please add PPA support for Ubuntu 26.04 Pretty please🙏
Author
Owner

@Iv commented on GitHub (Jul 29, 2026):

It's the same story with the 24.04 HWE enabled.

<!-- gh-comment-id:5119179296 --> @Iv commented on GitHub (Jul 29, 2026): It's the same story with the 24.04 HWE enabled.
Author
Owner

@savely-krasovsky commented on GitHub (Aug 29, 2026):

I've just set "noble" and it built and works fine.

<!-- gh-comment-id:5463558726 --> @savely-krasovsky commented on GitHub (Aug 29, 2026): I've just set "noble" and it built and works fine.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#100
No description provided.