Skip to content
New issue

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

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

Already on GitHub? # to your account

Docker Build Error - fatal: could not read Username for 'https://github.com': terminal prompts disabled #319

Open
StefanRichardson opened this issue Aug 30, 2023 · 0 comments
Assignees

Comments

@StefanRichardson
Copy link

StefanRichardson commented Aug 30, 2023

Apologies in advance if there is a specific structure on how these issues are supposed to be created, if i am missing any information that would be useful or if this is supposed to be opened as a discussion instead. Please let me know if any of the above needs changing and will adjust accordingly.

Some possibly useful information:
Docker version: 24.0.5
OS: Ubuntu 22.04.3


So the issue at hand is I'm trying to build the docker instance for this with the following command:

docker build -t 'xdc-poschain' .

This failed on line of the Dockefile: RUN cd /XDPoSChain && make XDC


I believe looking at the stacktrace, the offending lines are:

55.72 go: github.com/olumuyiwadad/XDPoSChain@v0.0.0-20210822085431-3aa327803aed: git fetch -f https://github.com/olumuyiwadad/XDPoSChain refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/600349f54fcb7d5d0f8522c55555d3957beee8378a1c4a3231fb3385f50c9fe3: exit status 128:
55.72 	fatal: could not read Username for 'https://github.com': terminal prompts disabled

Looking at this, the link does appear to be incorrect as when looking up the link, you are hit with a 404 whereas the other packages here seem to appear.

Has this package been moved and if so, is this file supposed to be updated.

Or am I doing something fundamentally wrong here?


The fill stacktrace is the following:

docker build  -t 'xdc-poschain' .

[+] Building 62.9s (13/15)                                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                            0.0s
 => => transferring dockerfile: 401B                                                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                               0.0s
 => => transferring context: 138B                                                                                                                                               0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                                                                                                2.0s
 => [internal] load metadata for docker.io/library/golang:1.12-alpine                                                                                                           1.9s
 => [auth] library/alpine:pull token for registry-1.docker.io                                                                                                                   0.0s
 => [auth] library/golang:pull token for registry-1.docker.io                                                                                                                   0.0s
 => [builder 1/4] FROM docker.io/library/golang:1.12-alpine@sha256:3f8e3ad3e7c128d29ac3004ac8314967c5ddbfa5bfa7caa59b0de493fc01686a                                             0.0s
 => [stage-1 1/4] FROM docker.io/library/alpine:latest@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a                                                  0.0s
 => [internal] load build context                                                                                                                                               0.1s
 => => transferring context: 60.17kB                                                                                                                                            0.1s
 => CACHED [stage-1 2/4] WORKDIR /XDPoSChain                                                                                                                                    0.0s
 => CACHED [builder 2/4] RUN apk add --no-cache make gcc musl-dev linux-headers git                                                                                             0.0s
 => CACHED [builder 3/4] ADD . /XDPoSChain                                                                                                                                      0.0s
 => ERROR [builder 4/4] RUN cd /XDPoSChain && make XDC                                                                                                                         60.8s
------                                                                                                                                                                               
 > [builder 4/4] RUN cd /XDPoSChain && make XDC:                                                                                                                                     
0.368 go: finding github.com/aristanetworks/goarista v0.0.0-20191023202215-f096da5361bb                                                                                              
0.368 go: finding github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8                                                                                                       
0.368 go: finding github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf                                                                                                      
0.369 go: finding github.com/cespare/cp v1.1.1                                                                                                                                       
0.370 go: finding github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6
0.371 go: finding github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3
0.371 go: finding github.com/VictoriaMetrics/fastcache v1.5.7
0.372 go: finding github.com/ethereum/go-ethereum v1.9.9
0.377 go: finding github.com/davecgh/go-spew v1.1.1
0.718 go: finding bazil.org/fuse v0.0.0-20180421153158-65cc252bf669
1.230 go: finding github.com/go-stack/stack v1.8.0
1.235 go: finding github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c
1.252 go: finding github.com/pkg/errors v0.8.1
1.394 go: finding github.com/btcsuite/winsvc v1.0.0
1.483 go: finding github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7
1.561 go: finding google.golang.org/grpc v1.23.1
2.830 go: finding github.com/tjfoc/gmsm v1.0.1
2.852 go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
2.887 go: finding github.com/deckarep/golang-set v1.8.0
3.438 go: finding golang.org/x/sys v0.0.0-20190912141932-bc967efca4b8
3.507 go: finding gotest.tools v2.2.0+incompatible
4.113 go: finding github.com/mattn/go-colorable v0.1.0
4.337 go: finding github.com/prometheus/prometheus v1.7.2-0.20170814170113-3101606756c5
4.409 go: finding github.com/golang/protobuf v1.3.2
4.523 go: finding golang.org/x/sync v0.0.0-20190423024810-112230192c58
5.007 go: finding github.com/golang/protobuf v1.2.0
5.113 go: finding gopkg.in/redis.v4 v4.2.4
5.174 go: finding github.com/satori/go.uuid v1.2.0
5.742 go: finding github.com/klauspost/cpuid v1.2.1
5.754 go: finding github.com/elastic/gosigar v0.10.5
6.686 go: finding github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416
7.749 go: finding github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23
8.119 go: finding github.com/BurntSushi/toml v0.3.1
8.565 go: finding github.com/nsf/termbox-go v0.0.0-20170211012700-3540b76b9c77
8.568 go: finding github.com/golang/mock v1.1.1
8.722 go: finding golang.org/x/tools v0.0.0-20190912185636-87d9f09c5d89
9.226 go: finding github.com/gizak/termui v2.2.0+incompatible
9.433 go: finding github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7
10.02 go: finding golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
10.12 go: finding github.com/rs/cors v1.6.0
10.50 go: finding github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d
10.69 go: finding github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458
11.00 go: finding gopkg.in/yaml.v2 v2.2.2
11.19 go: finding github.com/aristanetworks/glog v0.0.0-20180419172825-c15b03b3054f
11.60 go: finding github.com/huin/goupnp v1.0.0
11.88 go: finding github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00
12.21 go: finding honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc
12.40 go: finding github.com/stretchr/testify v1.3.0
12.97 go: finding github.com/karalabe/xgo v0.0.0-20191115072854-c5ccff8648a7
13.17 go: finding github.com/Azure/go-autorest/autorest/adal v0.8.0
13.70 go: finding github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e
13.74 go: finding gopkg.in/olebedev/go-duktape.v3 v3.0.0-20190213234257-ec84240a7772
14.09 go: finding gopkg.in/karalabe/cookiejar.v2 v2.0.0-20150724131613-8dcd6a7f4951
14.83 go: finding github.com/VictoriaMetrics/fastcache v1.5.3
15.76 go: finding golang.org/x/net v0.0.0-20190912160710-24e19bdeb0f2
15.76 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a
16.05 go: finding github.com/rjeczalik/notify v0.9.1
16.16 go: finding github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89
16.20 go: finding github.com/pmezard/go-difflib v1.0.0
16.21 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
16.21 go: finding github.com/influxdata/influxdb v1.7.9
17.19 go: finding github.com/templexxx/xor v0.0.0-20181023030647-4e92f724b73b
17.28 go: finding github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521
17.31 go: finding github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc
17.51 go: finding golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1
18.52 go: finding github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150
18.56 go: finding github.com/cespare/xxhash/v2 v2.1.1
18.61 go: finding gopkg.in/bsm/ratelimit.v1 v1.0.0-20160220154919-db14e161995a
19.21 go: finding github.com/xtaci/lossyconn v0.0.0-20190602105132-8df528c0c9ae
19.22 go: finding github.com/Azure/azure-storage-blob-go v0.7.0
19.22 go: finding github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c
19.78 go: finding github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad
19.78 go: finding github.com/gorilla/websocket v1.4.1-0.20190629185528-ae1634f6a989
19.91 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
19.92 go: finding github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff
20.14 go: finding golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
20.21 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
20.24 go: finding github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570
20.36 go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
20.57 go: finding github.com/edsrzf/mmap-go v1.0.0
20.58 go: finding github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035
20.66 go: finding github.com/google/go-cmp v0.3.1
20.80 go: finding github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea
20.88 go: finding github.com/klauspost/reedsolomon v1.9.2
21.43 go: finding golang.org/x/text v0.3.2
21.43 go: finding github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847
21.44 go: finding github.com/davecgh/go-spew v1.1.0
21.46 go: finding github.com/onsi/ginkgo v1.7.0
21.93 go: finding github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9
22.17 go: finding github.com/Azure/go-autorest/autorest/date v0.2.0
22.18 go: finding golang.org/x/text v0.3.0
22.27 go: finding github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
22.55 go: finding github.com/jrick/logrotate v1.0.0
23.11 go: finding golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135
23.13 go: finding github.com/golang/protobuf v1.3.2-0.20190517061210-b285ee9cfc6c
23.16 go: finding github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150
23.62 go: finding gopkg.in/sourcemap.v1 v1.0.5
23.84 go: finding github.com/client9/misspell v0.3.4
24.51 go: finding gopkg.in/urfave/cli.v1 v1.20.0
25.49 go: finding github.com/olumuyiwadad/XDPoSChain v0.0.0-20210822085431-3aa327803aed
25.86 go: finding github.com/aristanetworks/fsnotify v1.4.2
26.24 go: finding github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c
26.24 go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
26.55 go: github.com/olumuyiwadad/XDPoSChain@v0.0.0-20210822085431-3aa327803aed: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/600349f54fcb7d5d0f8522c55555d3957beee8378a1c4a3231fb3385f50c9fe3: exit status 128:
26.55 	fatal: could not read Username for 'https://github.com': terminal prompts disabled
26.72 go: finding golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3
26.74 go: finding github.com/Azure/go-autorest/autorest v0.9.0
27.09 go: finding github.com/mattn/go-runewidth v0.0.3
27.23 go: finding github.com/rjeczalik/notify v0.9.2
27.48 go: finding github.com/aristanetworks/splunk-hec-go v0.3.3
27.53 go: finding github.com/OneOfOne/xxhash v1.2.5
27.74 go: finding github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208
27.84 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
27.85 go: finding github.com/robertkrimen/otto v0.0.0-20170205013659-6a77b7cbc37d
27.94 go: finding github.com/julienschmidt/httprouter v1.1.1-0.20170430222011-975b5c4c7c21
28.07 go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
28.89 go: finding github.com/onsi/ginkgo v1.10.1
28.89 go: finding github.com/google/go-cmp v0.2.0
29.13 go: finding golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
29.15 go: finding github.com/stretchr/testify v1.7.0
29.31 go: finding cloud.google.com/go v0.26.0
29.55 go: finding github.com/urfave/cli v1.22.1
29.75 go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
29.77 go: finding github.com/Azure/azure-pipeline-go v0.2.1
30.25 go: finding github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277
30.31 go: finding google.golang.org/appengine v1.1.0
30.40 go: finding github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef
31.16 go: finding github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222
31.42 go: finding github.com/stretchr/objx v0.1.0
31.55 go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
31.73 go: finding github.com/Azure/azure-pipeline-go v0.2.2
31.87 go: finding github.com/cespare/cp v0.1.0
31.99 go: finding github.com/huin/goupnp v0.0.0-20161224104101-679507af18f3
32.13 go: finding golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7
32.15 go: finding github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356
32.44 go: finding github.com/Shopify/sarama v1.23.1
32.47 go: finding github.com/stretchr/testify v1.4.0
32.53 go: finding github.com/openconfig/reference v0.0.0-20190727015836-8dfd928c9696
32.58 go: finding github.com/spaolacci/murmur3 v1.0.1-0.20190317074736-539464a789e9
32.74 go: finding gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce
32.96 go: finding github.com/fatih/color v1.3.0
33.11 go: finding github.com/kr/pretty v0.1.0
33.22 go: finding github.com/aead/siphash v1.0.1
33.43 go: finding github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156
33.59 go: finding golang.org/x/net v0.0.0-20190620200207-3b0461eec859
33.61 go: finding github.com/onsi/gomega v1.4.3
33.62 go: finding github.com/naoina/go-stringutil v0.1.0
33.81 go: finding github.com/kylelemons/godebug v1.1.0
33.82 go: finding github.com/golang/snappy v0.0.1
34.02 go: finding github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4
34.13 go: finding github.com/go-ole/go-ole v1.2.1
34.35 go: finding github.com/cespare/xxhash/v2 v2.0.1-0.20190104013014-3767db7a7e18
34.59 go: finding github.com/elastic/gosigar v0.8.1-0.20180330100440-37f05ff46ffa
34.65 go: finding github.com/Azure/go-autorest/tracing v0.5.0
34.66 go: finding github.com/garyburd/redigo v1.6.0
35.11 go: finding github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161
35.11 go: finding golang.org/x/crypto v0.0.0-20191105034135-c7e5f84aec59
35.14 go: finding github.com/mattn/go-runewidth v0.0.4
35.21 go: finding github.com/olekukonko/tablewriter v0.0.1
35.25 go: finding github.com/fatih/color v1.6.0
35.52 go: finding golang.org/x/net v0.0.0-20190628185345-da137c7871d7
35.54 go: finding github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883
35.55 go: finding github.com/onsi/gomega v1.7.0
35.62 go: finding github.com/hashicorp/golang-lru v0.5.3
35.64 go: finding github.com/karalabe/hid v1.0.0
35.80 go: finding gopkg.in/jcmturner/goidentity.v3 v3.0.0
35.87 go: finding github.com/maruel/panicparse v0.0.0-20160720141634-ad661195ed0e
36.06 go: finding golang.org/x/tools v0.0.0-20191104232314-dc038396d1f0
36.09 go: finding github.com/julienschmidt/httprouter v1.3.0
36.11 go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6
36.28 go: finding github.com/xtaci/kcp-go v5.4.5+incompatible
36.34 go: finding github.com/modern-go/reflect2 v1.0.1
36.72 go: finding github.com/Azure/go-autorest/autorest/mocks v0.3.0
36.74 go: finding github.com/prometheus/client_golang v1.1.0
36.94 go: finding github.com/pborman/uuid v1.2.0
55.29 go: error loading module requirements
55.30 go run build/ci.go install ./cmd/XDC
55.31 go: finding github.com/olumuyiwadad/XDPoSChain v0.0.0-20210822085431-3aa327803aed
55.31 go: finding github.com/onsi/ginkgo v1.6.0
55.32 go: finding github.com/hpcloud/tail v1.0.0
55.32 go: finding github.com/kr/text v0.1.0
55.51 go: finding golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
55.51 go: finding golang.org/x/sys v0.0.0-20190412213103-97732733099d
55.51 go: finding golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7
55.53 go: finding github.com/fsnotify/fsnotify v1.4.7
55.55 go: finding gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
55.58 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
55.61 go: finding gopkg.in/fsnotify.v1 v1.4.7
55.64 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
55.66 go: finding github.com/eapache/queue v1.1.0
55.72 go: github.com/olumuyiwadad/XDPoSChain@v0.0.0-20210822085431-3aa327803aed: git fetch -f https://github.com/olumuyiwadad/XDPoSChain refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /go/pkg/mod/cache/vcs/600349f54fcb7d5d0f8522c55555d3957beee8378a1c4a3231fb3385f50c9fe3: exit status 128:
55.72 	fatal: could not read Username for 'https://github.com': terminal prompts disabled
55.73 go: finding github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03
55.87 go: finding gopkg.in/yaml.v2 v2.2.1
56.13 go: finding github.com/xdg/stringprep v1.0.0
56.24 go: finding github.com/eapache/go-resiliency v1.1.0
56.25 go: finding github.com/Shopify/toxiproxy v2.1.4+incompatible
56.40 go: finding github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c
56.42 go: finding github.com/google/uuid v1.0.0
56.57 go: finding github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
56.60 go: finding github.com/hashicorp/go-uuid v1.0.1
56.76 go: finding gopkg.in/jcmturner/rpc.v1 v1.1.0
56.92 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
56.94 go: finding github.com/pierrec/lz4 v0.0.0-20190327172049-315a67e90e41
57.17 go: finding gopkg.in/jcmturner/dnsutils.v1 v1.0.1
57.22 go: finding github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149
57.30 go: finding github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
57.31 go: finding github.com/DataDog/zstd v1.3.6-0.20190409195224-796139022798
57.32 go: finding golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5
57.35 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
57.37 go: finding gopkg.in/jcmturner/aescts.v1 v1.0.1
57.48 go: finding gopkg.in/jcmturner/gokrb5.v7 v7.2.3
60.71 go: error loading module requirements
60.71 make: *** [Makefile:14: XDC] Error 1
------
Dockerfile:6
--------------------
   4 |     
   5 |     ADD . /XDPoSChain
   6 | >>> RUN cd /XDPoSChain && make XDC
   7 |     
   8 |     FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /XDPoSChain && make XDC" did not complete successfully: exit code: 2
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants