Bug#951157: wireguard-dkms: DKMS make.log for wireguard-0.0.20200205 for kernel 5.3.9-sunxi (armv7l)

2020-02-21 Thread Daniel Kahn Gillmor
Control: severity 951157 normal
Control: tags 951157 + unreproducible moreinfo

Hi Carlos--

On Thu 1970-01-01 00:00:00 +, carlosnewmusic wrote:
>* What led up to the situation?
> wireguard metapackage installation
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
> install, install kernel headers, but it's useless
>* What was the outcome of this action?
> error 10 in the construction of the dkms package
>* What outcome did you expect instead?
> that the module and wireguard will be installed correctly

This sounds frustrating!  However, it doesn't look like you're using the
debian kernel, or the debian kernel header packages.

The kernel you're using:

> Kernel: Linux 5.3.9-sunxi (SMP w/4 CPU cores)

isn't in debian at all, afaict.

> DKMS make.log for wireguard-0.0.20191226 for kernel 5.3.9-sunxi (armv7l)
> lun ene 20 04:47:15 CET 2020
> make: se entra en el directorio '/usr/src/linux-headers-5.3.9-sunxi'
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/main.o
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/noise.o
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/device.o
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/peer.o
> /bin/sh: 1: ./scripts/recordmcount: not found

this error makes me think that you don't have the appropriate
linux-kbuild packages installed.  for example:
https://packages.debian.org/sid/armhf/linux-kbuild-5.4/filelist
shows that it contains the recordmcount script (you can find this by
searching the packages database:


https://packages.debian.org/search?suite=sid=armhf=filename=contents=recordmcount

So you might want to try installing some matching kbuild package and see
whether it works for you or not -- though i don't think that
linux-kbuild-5.3 is available anywhere except for snapshots:

   https://snapshot.debian.org/binary/linux-kbuild-5.3/

(see https://snapshot.debian.org/ on how to use the snapshots service)

Please report back and let me know if you run into the same problem when
you have linux-kbuild-5.3 installed!

--dkg


signature.asc
Description: PGP signature


Bug#951157: wireguard-dkms: DKMS make.log for wireguard-0.0.20200205 for kernel 5.3.9-sunxi (armv7l)

2020-02-11 Thread carlosnewmusic
Package: wireguard-dkms
Version: 0.0.20200205-1
Severity: serious
Tags: newcomer ftbfs
Justification: fails to build from source

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
wireguard metapackage installation
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
install, install kernel headers, but it's useless
   * What was the outcome of this action?
error 10 in the construction of the dkms package
   * What outcome did you expect instead?
that the module and wireguard will be installed correctly

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (90, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 5.3.9-sunxi (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8), 
LANGUAGE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wireguard-dkms depends on:
ii  dkms  2.6.1-4
ii  perl  5.28.1-6

Versions of packages wireguard-dkms recommends:
pn  wireguard
pn  wireguard-tools  

wireguard-dkms suggests no packages.

-- no debconf information
DKMS make.log for wireguard-0.0.20191226 for kernel 5.3.9-sunxi (armv7l)
lun ene 20 04:47:15 CET 2020
make: se entra en el directorio '/usr/src/linux-headers-5.3.9-sunxi'
  CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/main.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/device.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20191226/build/peer.o
/bin/sh: 1: ./scripts/recordmcount: not found
make[1]: *** [scripts/Makefile.build:281: 
/var/lib/dkms/wireguard/0.0.20191226/build/main.o] Error 127
make[1]: *** Se borra el archivo 
'/var/lib/dkms/wireguard/0.0.20191226/build/main.o'
make[1]: *** Se espera a que terminen otras tareas
/bin/sh: 1: ./scripts/recordmcount: not found
make[1]: *** [scripts/Makefile.build:281: 
/var/lib/dkms/wireguard/0.0.20191226/build/peer.o] Error 127
make[1]: *** Se borra el archivo 
'/var/lib/dkms/wireguard/0.0.20191226/build/peer.o'
/bin/sh: 1: ./scripts/recordmcount: not found
make[1]: *** [scripts/Makefile.build:281: 
/var/lib/dkms/wireguard/0.0.20191226/build/device.o] Error 127
make[1]: *** Se borra el archivo 
'/var/lib/dkms/wireguard/0.0.20191226/build/device.o'
/bin/sh: 1: ./scripts/recordmcount: not found
make[1]: *** [scripts/Makefile.build:281: 
/var/lib/dkms/wireguard/0.0.20191226/build/noise.o] Error 127
make[1]: *** Se borra el archivo 
'/var/lib/dkms/wireguard/0.0.20191226/build/noise.o'
make: *** [Makefile:1626: _module_/var/lib/dkms/wireguard/0.0.20191226/build] 
Error 2
make: se sale del directorio '/usr/src/linux-headers-5.3.9-sunxi'