Closed egberts closed 3 years ago
Debian hasn't marked their golang-1.13
as the starting point yet for their latest testing
(10.5) Bullseye yet.
The simple workaround is to upgrade the golang
to v1.13 from its Debian-default of v1.11.
apt purge golang-1.11
apt install golang-1.13 # long time
# Now the go binary is in /usr/lib/go-1.13/bin/go
cd /usr/bin
ln -s /usr/lib/go-1.13/bin/go go
cd $HOME
mkdir mycrowdsec
cd mycrowdsec
git clone https://github.com/crowdsecurity/crowdsec.git
cd crowdsec
make
cd cmd/crowdsec-cli
make
make install
cd ../..
cd cmd/crowdsec
make
make install
make systemd
systemctl enable crowdsec
systemctl start crowdsec
And the'e ye go.
I do not know why the make install
does not work at the top-level source directory.
Describe the bug
Followed this Wiki on how to do a master build (after
git clone
) on a fresh installed Debian Bullseye/testing/11.Got an error during Go compiling of
runtime.go
inparser()
.Perhaps this is a documentation error? Such that additional steps are required to upgrade to
go v1.13
from Debian's latest v1.11?To Reproduce Steps to reproduce the behavior:
and it errors out here:
Expected behavior
A clean build without any error (and perhaps warning).
Technical Information (please complete the following information):
Additional context Full console output of the build: