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

Problem installing CookieScanner #3

Open
koenr opened this issue Jan 13, 2020 · 6 comments
Open

Problem installing CookieScanner #3

koenr opened this issue Jan 13, 2020 · 6 comments

Comments

@koenr
Copy link

koenr commented Jan 13, 2020

~$ go get github.com/CovenantSQL/CookieScanner
# github.com/CovenantSQL/CookieScanner/vendor/github.com/gobs/httpclient
go/src/github.com/CovenantSQL/CookieScanner/vendor/github.com/gobs/httpclient/logging.go:251:19: unknown field 'WroteHeaderField' in struct literal of type httptrace.ClientTrace

~$ go version
go version go1.10.4 linux/amd64

Installation ends on error message.

@AureliusHogan
Copy link

Same Problem with me.
Using Ubuntu 18.04.4 LTS
go version go1.10.4 linux/amd64

@AureliusHogan
Copy link

Could solve the Problem with:
sudo snap install go --classic
go version go1.14.1 linux/amd64

@shumailasiddique
Copy link

i have updated go to go version go1.16.1 linux/amd64
but after running go get github.com/CovenantSQL/CookieScanner
this screen comes and
issue

@henriquenunez
Copy link

henriquenunez commented Jun 8, 2021

i have updated go to go version go1.16.1 linux/amd64
but after running go get github.com/CovenantSQL/CookieScanner
this screen comes and
issue

Same here :(

Did you manage to fix it?

@ibexnet
Copy link

ibexnet commented Aug 3, 2021

Hi everybody, I have same problem installing it.
I tried on macOS 10.14.5 with go version go1.16.3 darwin/amd64
On macOS this is the problem:

go: downloading github.com/CovenantSQL/CovenantSQL v0.8.1
go get: create zip: metric/fixtures/sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/dirty_data: malformed file path "metric/fixtures/sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/dirty_data": invalid char ':'
metric/fixtures/sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/bypassed: malformed file path "metric/fixtures/sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/stats_day/bypassed": invalid char ':'
.....

On Linux (debian based) with go version go1.15.9 linux/amd64 I have the following error:

user@host ~# go get github.com/CovenantSQL/CookieScanner
# github.com/CovenantSQL/CookieScanner/vendor/github.com/CovenantSQL/go-sqlite3-encrypt
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:121469:10: warning: function may return address of local variable [-Wreturn-local-addr]
121469 |   return pNew;
       |          ^~~~
sqlite3-binding.c:121431:10: note: declared here
121431 |   Select standin;
       |          ^~~~~~~

@ibexnet
Copy link

ibexnet commented Aug 3, 2021

Hi evrybody,
I have also a problem installing it using doker:

[+] Building 70.9s (12/13)                                                                                                             
 => [internal] load build definition from Dockerfile                                                                              0.0s
 => => transferring dockerfile: 487B                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                 0.0s
 => => transferring context: 34B                                                                                                  0.0s
 => [internal] load metadata for docker.io/zenika/alpine-chrome:latest                                                            2.8s
 => [internal] load metadata for docker.io/library/golang:stretch                                                                 2.8s
 => [builder 1/4] FROM docker.io/library/golang:stretch@sha256:9be20fec15ebf0f28d16b03cd93a2152513da0e85af45e3f3d3381deab818bf5  65.5s
 => => resolve docker.io/library/golang:stretch@sha256:9be20fec15ebf0f28d16b03cd93a2152513da0e85af45e3f3d3381deab818bf5           0.0s
 => => sha256:2208817acd638f91490fbd1e344932f56ea86f070b798006f991ac4a2d77c551 1.80kB / 1.80kB                                    0.0s
 => => sha256:9be20fec15ebf0f28d16b03cd93a2152513da0e85af45e3f3d3381deab818bf5 988B / 988B                                        0.0s
 => => sha256:2ce6f9197da39b00526c3f2cb9d0aa6489ded41d8fd485a7070b43815526b897 7.02kB / 7.02kB                                    0.0s
 => => sha256:08224db8ce18b31a78a0a26d1b344d173528e50a7067797c9df4de5d8df353e2 45.38MB / 45.38MB                                 12.9s
 => => sha256:abd3caf86f5b9d8f8e63437571297df5fa6d454140b9c1985c47d6ad526da824 11.29MB / 11.29MB                                  9.1s
 => => sha256:71c316554a558d4aa95c0be17c01e4a0366d6026a98eeba53dca5baa6091e815 4.34MB / 4.34MB                                   11.6s
 => => sha256:721081de66bfc648ce19234c6333d6e031344f6ac90904476c9ec2dba2917e3a 49.76MB / 49.76MB                                 30.9s
 => => sha256:1af257da41adcb8638119e474f1f7bcf54686c18e508a51e4328ff77f42d87a4 57.85MB / 57.85MB                                 27.3s
 => => extracting sha256:08224db8ce18b31a78a0a26d1b344d173528e50a7067797c9df4de5d8df353e2                                        13.7s
 => => sha256:aa72e54ce7bd1caea801cb7f5e7ce072d05d32c69a4863151948b1170f4cc3b2 129.05MB / 129.05MB                               44.0s
 => => extracting sha256:abd3caf86f5b9d8f8e63437571297df5fa6d454140b9c1985c47d6ad526da824                                         2.6s
 => => extracting sha256:71c316554a558d4aa95c0be17c01e4a0366d6026a98eeba53dca5baa6091e815                                         0.9s
 => => sha256:3472b61adffa44153a64a1d0a5914cd70c29a00207440c8e069423f22aecd48d 155B / 155B                                       31.2s
 => => extracting sha256:721081de66bfc648ce19234c6333d6e031344f6ac90904476c9ec2dba2917e3a                                        14.0s
 => => extracting sha256:1af257da41adcb8638119e474f1f7bcf54686c18e508a51e4328ff77f42d87a4                                         6.2s
 => => extracting sha256:aa72e54ce7bd1caea801cb7f5e7ce072d05d32c69a4863151948b1170f4cc3b2                                        11.9s
 => => extracting sha256:3472b61adffa44153a64a1d0a5914cd70c29a00207440c8e069423f22aecd48d                                         0.0s
 => [internal] load build context                                                                                                13.7s
 => => transferring context: 65.68MB                                                                                             13.7s
 => [stage-1 1/4] FROM docker.io/zenika/alpine-chrome:latest@sha256:7e3b38744596dacbd8d37491a206ab6fce1eb8bcbbff4b8314af92b1546  56.6s
 => => resolve docker.io/zenika/alpine-chrome:latest@sha256:7e3b38744596dacbd8d37491a206ab6fce1eb8bcbbff4b8314af92b154638887      0.0s
 => => sha256:7e3b38744596dacbd8d37491a206ab6fce1eb8bcbbff4b8314af92b154638887 1.16kB / 1.16kB                                    0.0s
 => => sha256:4e0b42c679f076246b13ac8c117c9e810e3afd113c49e6319928b409ff71232f 5.62kB / 5.62kB                                    0.0s
 => => sha256:ba3557a56b150f9b813f9d02274d62914fd8fce120dd374d9ee17b87cf1d277d 2.81MB / 2.81MB                                    0.6s
 => => sha256:1974f92782f1738cd7d2b3c58097da28342734d0a94eee0878fadf4ad0024577 173.12MB / 173.12MB                               33.6s
 => => sha256:8615748b990408609eedff86eb9a4fe27ad6cf8530c9dcff9e00ec311152956c 348B / 348B                                        0.7s
 => => extracting sha256:ba3557a56b150f9b813f9d02274d62914fd8fce120dd374d9ee17b87cf1d277d                                         3.0s
 => => sha256:33c2fbb485a9e4dc7783411e03b57b69068aa20b05f620839d85b44984331a86 1.27kB / 1.27kB                                    0.9s
 => => extracting sha256:1974f92782f1738cd7d2b3c58097da28342734d0a94eee0878fadf4ad0024577                                        21.4s
 => => extracting sha256:8615748b990408609eedff86eb9a4fe27ad6cf8530c9dcff9e00ec311152956c                                         0.0s
 => => extracting sha256:33c2fbb485a9e4dc7783411e03b57b69068aa20b05f620839d85b44984331a86                                         0.0s
 => [stage-1 2/4] WORKDIR /app                                                                                                    0.2s
 => [stage-1 3/4] RUN apk --no-cache add ca-certificates tini                                                                     2.8s 
 => [builder 2/4] WORKDIR /go/src/github.com/CovenantSQL/CookieScanner                                                            0.3s 
 => [builder 3/4] COPY . .                                                                                                        1.5s 
 => ERROR [builder 4/4] RUN CGO_ENABLED=1 GOOS=linux go install -ldflags '-linkmode external -extldflags -static'                 0.6s 
------                                                                                                                                 
 > [builder 4/4] RUN CGO_ENABLED=1 GOOS=linux go install -ldflags '-linkmode external -extldflags -static':                            
#12 0.559 go: cannot find main module, but found Gopkg.lock in /go/src/github.com/CovenantSQL/CookieScanner                            
#12 0.559 	to create a module there, run:
#12 0.559 	go mod init
------
executor failed running [/bin/sh -c CGO_ENABLED=1 GOOS=linux go install -ldflags '-linkmode external -extldflags -static']: exit code: 1

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

5 participants