Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails due to: #error your version is TOOOOOOOO low #323

Closed
3 of 15 tasks
anoduck opened this issue May 25, 2023 · 2 comments
Closed
3 of 15 tasks

Docker build fails due to: #error your version is TOOOOOOOO low #323

anoduck opened this issue May 25, 2023 · 2 comments

Comments

@anoduck
Copy link

anoduck commented May 25, 2023

Context

Please select one:

  • I use the docker image ullaakut/cameradar
  • I use my own build of the docker image
  • I use the pre-compiled binary
  • I use my own build of the binary
  • None of the above / I don't know

Please select one:

  • I use a specific version:
  • I use the latest commit of the master branch
  • I use the latest commit of the develop branch
  • I use a forked version of the repository:
  • I use a specific commit:

Environment

My operating system:

  • Windows
  • OSX
  • Linux
  • BSD <--- Needs adding...
  • Other

OS version: Kali Linux Rolling Release
OS architecture: AMD64

Issue

What was expected

I never know what to write here, because the answer is always obviously, “I expected it to work”.

What happened

After assuming building the docker image from the master repository would provide a more up-to-date version of the program, I proceeded to clone the repository and build the image.

Build of docker image from master repository failed due to a go-lang dependency requirement being too low.

Logs

If your issue is with Cameradar's binary or docker image, please run it with -v to print verbose logs, and paste them here:

(...)
Executing busybox-1.36.0-r9.trigger
OK: 189 MiB in 53 packages
Removing intermediate container c01c3ee594fa
 ---> bcf0fbbebde5
Step 5/16 : ENV GO111MODULE=on
 ---> Running in 7214a40f2623
Removing intermediate container 7214a40f2623
 ---> 81f3f2c5c4a2
Step 6/16 : RUN go version
 ---> Running in 14701730ed6e
go version go1.20.4 linux/amd64
Removing intermediate container 14701730ed6e
 ---> eb47714bb364
Step 7/16 : RUN go build -o cameradar
 ---> Running in e27e1c6405e1
go: downloading github.com/Ullaakut/disgo v0.3.1
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/spf13/viper v1.4.0
go: downloading github.com/Ullaakut/go-curl v0.0.0-20190525093431-597e157bbffd
go: downloading github.com/Ullaakut/nmap v2.0.0+incompatible
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/magiconair/properties v1.8.0
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/mattn/go-isatty v0.0.8
go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
go: downloading golang.org/x/text v0.3.0
# github.com/Ullaakut/go-curl
In file included from /go/pkg/mod/github.com/!ullaakut/[email protected]/const.go:5:
./compat.h:423:2: error: #error your version is TOOOOOOOO low
  423 | #error your version is TOOOOOOOO low
      |  ^~~~~
The command '/bin/sh -c go build -o cameradar' returned a non-zero code: 1

It appears the dependency version needs to be updated to a more recent release.

@Ullaakut
Copy link
Owner

Duplicate of #320

@Ullaakut Ullaakut marked this as a duplicate of #320 May 25, 2023
@anoduck
Copy link
Author

anoduck commented May 27, 2023

Thanks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants