Bug#944203: dpkg: error processing package wireguard (--configure):

2020-01-24 Thread Daniel Kahn Gillmor
Hi Bhagwan--

On Tue 2019-11-05 15:32:13 -0500, Bhagwan Jha wrote:
> 1. Linux parrot 5.2.0-2parrot1-amd64 #1 SMP Debian 5.2.9-2parrot1
> (2019-08-25) x86_64 GNU/Linux
> 2.
> No LSB modules are available.
> Distributor ID:   Parrot
> Description:  Parrot GNU/Linux 4.7
> Release:  4.7
> Codename: sid

I don't know anything about "Parrot", but the errors you're seeing are
segfaults within gcc:

> DKMS make.log for wireguard-0.0.20191012 for kernel 5.2.0-2parrot1-amd64 
> (x86_64)
> Tue 05 Nov 2019 02:44:06 PM EST
> make: Entering directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64'
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/main.o
>   CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/noise.o
> gcc-8: internal compiler error: Segmentation fault signal terminated program 
> cc1
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See  for instructions.

It looks very likely to me to be a bug in your gcc installation, but
given that this is Parrot and not debian, i recommend reporting the bug
to Parrot directly. I'm closing this bug in the debian BTS with this
e-mail, but if you think it applies to debian as well, feel free to
re-open it.

It looks to me like this is ultimately a gcc issue, though, not a
wireguard issue.


Regards,

--dkg


signature.asc
Description: PGP signature


Bug#944203: dpkg: error processing package wireguard (--configure):

2019-11-05 Thread Bhagwan Jha
Package: wireguard-dkms
module: wireguard

Please find the attached make.log file for your reference.

I have tried to fix out using this method but it's not worked.

*Tried Method*
# echo "deb http://deb.debian.org/debian/ unstable main" >
/etc/apt/sources.list.d/unstable.list

# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' >
/etc/apt/preferences.d/limit-unstable
# apt update
# apt install wireguard

When I want to install wireguard it's throwing error for this also please
refer to make.log file.

Can you look into this and let me know if any thing required from my side.


Machine Information are as follows:-

1. Linux parrot 5.2.0-2parrot1-amd64 #1 SMP Debian 5.2.9-2parrot1
(2019-08-25) x86_64 GNU/Linux
2.
No LSB modules are available.
Distributor ID: Parrot
Description:Parrot GNU/Linux 4.7
Release:4.7
Codename:   sid
DKMS make.log for wireguard-0.0.20191012 for kernel 5.2.0-2parrot1-amd64 (x86_64)
Tue 05 Nov 2019 02:44:06 PM EST
make: Entering directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64'
  CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/main.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/noise.o
gcc-8: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[3]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/scripts/Makefile.build:284: /var/lib/dkms/wireguard/0.0.20191012/build/main.o] Error 4
make[3]: *** Waiting for unfinished jobs
  CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/device.o
gcc-8: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
  CC [M]  /var/lib/dkms/wireguard/0.0.20191012/build/peer.o
make[3]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/scripts/Makefile.build:284: /var/lib/dkms/wireguard/0.0.20191012/build/noise.o] Error 4
gcc-8: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
gcc-8: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make[3]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/scripts/Makefile.build:284: /var/lib/dkms/wireguard/0.0.20191012/build/device.o] Error 4
make[3]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/scripts/Makefile.build:284: /var/lib/dkms/wireguard/0.0.20191012/build/peer.o] Error 4
make[2]: *** [/usr/src/linux-headers-5.2.0-2parrot1-common/Makefile:1610: _module_/var/lib/dkms/wireguard/0.0.20191012/build] Error 2
make[1]: *** [Makefile:179: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-5.2.0-2parrot1-amd64'