Hey Kalin,

That's some messed up eclass. Check this out:

>From your log:
> make --jobs=8 --load-average=12 HOSTCC=x86_64-pc-linux-gnu-gcc 
> CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' 
> KERNELDIR=/usr/src/linux V=1 clean module
> make -C /usr/src/linux 
> M=/tmp/portage/net-misc/wireguard-0.0.20161105/work/WireGuard-experimental-0.0.20161105/src
>  clean
> make -C /usr/src/linux 
> M=/tmp/portage/net-misc/wireguard-0.0.20161105/work/WireGuard-experimental-0.0.20161105/src
>  modules

By default linux-mod.eclass calls make clean and make module, at the
same time, which results in files randomly getting deleted as it
goes... That seems like a pretty bad default:

>   BUILD_TARGETS=${BUILD_TARGETS:-clean module}

I could override this in the ebuild, which I guess I'll do. But I
think I'd prefer for the eclass to be fixed. I'm CCing the Gentoo team
who manages this, for their input.

Thanks for the report.

Jason
_______________________________________________
WireGuard mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to