Skip to content

Ubuntu 26.04 #167

Description

@SchrodingerKitten

Отапргрейдился

вот чо вижу при ааргрейде. куда копать?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions