Skip to content

Failed to build client on Debian bookworm linux - go flashlight checksum mismatch #1351

@eugeneRover

Description

@eugeneRover
# uname -a
Linux 9ab0d55ae1ef 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
# cat /etc/debian_version
12.11

# cd ~
# apt-get update
# apt-get install git libclang-dev build-essential wget xxd
# wget https://go.dev/dl/go1.24.4.linux-amd64.tar.gz
# rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.4.linux-amd64.tar.gz
# export PATH=$PATH:/usr/local/go/bin
# git clone https://github.com/getlantern/lantern-client.git
# cd lantern-client/
# make linux-amd64

Following is the output:

** VERSION was not set, using default version. This is OK while in development.
Build tags: ' lantern'
Extra ldflags: -X github.com/getlantern/lantern-client/internalsdk/common.ApplicationVersion=9999.99.99 -linkmode external -s -w
Library name: build/liblantern.so
GOOS: linux
GOARCH: amd64
CGO_ENABLED=1 go build -v -trimpath -a -buildmode=c-shared -o "build/liblantern.so" -tags="' lantern'" -ldflags="-X github.com/getlantern/lantern-client/internalsdk/common.RevisionDate=20250618.195016 -X github.com/getlantern/lantern-client/internalsdk/common.BuildDate=20250619.074948 -X github.com/getlantern/lantern-client/internalsdk/common.ApplicationVersion=9999.99.99 -linkmode external -s -w" desktop/*.go
go: downloading github.com/getlantern/flashlight/v7 v7.6.232
go: downloading github.com/getlantern/jibber_jabber v0.0.0-20210901195950-68955124cc42
go: downloading github.com/getlantern/timezone v0.0.0-20210901200113-3f9de9d360c9
go: downloading github.com/getlantern/autoupdate v0.0.0-20250424174856-0404978f0400
go: downloading github.com/getlantern/notifier v0.0.0-20240830181717-11f4c6c3fa95
go: downloading github.com/getlantern/errors v1.0.5-0.20240410211607-f268a297d5d1
go: downloading github.com/getlantern/eventual v1.0.0
go: downloading github.com/getlantern/filepersist v0.0.0-20210901195658-ed29a1cb0b7c
verifying github.com/getlantern/flashlight/v7@v7.6.232: checksum mismatch
	downloaded: h1:GMdt071IB8dvHlA1VQ5Uy4ymdppujii7Snq6z/uLEBY=
	go.sum:     h1:kSWobMxLMz5LcHcJd+OqaqTWPOrGUIS7lOcMjUcPp54=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
make: *** [Makefile:482: desktop-lib] Error 1

Would you plz be so kind to help me with the build ?
Maybe there are some other ways ?

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