cx icon indicating copy to clipboard operation
cx copied to clipboard

`make build` fails when using 0.8.0 source archive

Open 0pcom opened this issue 3 years ago • 2 comments

updating the AUR package for CX to the latest version ; the build fails for me like this

package github.com/skycoin/cx/cmd/cx
	imports github.com/skycoin/cx/cxfx
	imports github.com/skycoin/cx/cx/base: build constraints exclude all Go files in /home/user/.cache/AUR/cx/src/go/src/github.com/skycoin/cx/cx/base

while make build hangs indefinitely instead of producing an error

0pcom avatar Jan 04 '22 19:01 0pcom

Hello @0pcom , may I ask for more details about this? You ran make build for this cx repo and you got that result?

kenje4090 avatar Jan 06 '22 06:01 kenje4090

ok the issue with the AUR package may have been a wrong path / artifact from when the github organization was SkycoinProject. I noticed that afterwards and forgot to update this issue.

I was able to compile cx from the source archive here but when I try to execute it I get the error:

[user@host cx-0.8.0]$ bin/cx help
flag "--min-heap-free" begins with -
panic: flag "--min-heap-free" begins with -

goroutine 1 [running, locked to thread]:
flag.(*FlagSet).Var(0xc000078540, {0xa196e8, 0xc000126550}, {0x96356e, 0x2}, {0x989ae2, 0x15})
	/usr/lib/go/src/flag/flag.go:864 +0x439
flag.(*FlagSet).Float64Var(...)
	/usr/lib/go/src/flag/flag.go:788
main.parseFlags(0xc000126500, {0xc000020050, 0x455487, 0x1})
	/home/user/go/src/github.com/skycoin/cx-0.8.0/cmd/cx/flags.go:80 +0x3ae
main.Run({0xc000020050, 0x1, 0x1})
	/home/user/go/src/github.com/skycoin/cx-0.8.0/cmd/cx/main.go:33 +0xf8
main.main()
	/home/user/go/src/github.com/skycoin/cx-0.8.0/cmd/cx/main.go:24 +0x45

0pcom avatar Jan 17 '22 18:01 0pcom