Make Run Throwing Error Exit Status 2

  • What Grafana version and what operating system are you using? : 10.3.4

  • What are you trying to achieve? : Run Grafana in Local

  • How are you trying to achieve it? : Using make run

  • What happened? : make [build-go] - exit status 2

  • What did you expect to happen? : To Run without error

  • Can you copy/paste the configuration(s) that you are having problems with? Node : v20.11.1
    Go: go version go1.20.8 darwin/arm64

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. : Didint go till UI

  • Did you follow any online instructions? If so, what is the URL? Make run giving error tried this but didnt work for me


panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1004adc14]

goroutine 389 [running]:
go/types.(*Checker).handleBailout(0x14001230e00, 0x140065bbc78)
	/usr/local/go/src/go/types/check.go:367 +0x9c
panic({0x1005fd8c0?, 0x10079a580?})
	/usr/local/go/src/runtime/panic.go:770 +0x124
go/types.(*StdSizes).Sizeof(0x0, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/sizes.go:228 +0x314
go/types.(*Config).sizeof(...)
	/usr/local/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0x10063ce18?, 0x10079e880?})
	/usr/local/go/src/go/types/const.go:76 +0x9c
go/types.representableConst({0x10063e808, 0x100792f40}, 0x14001230e00, 0x10079e880, 0x140065ba078)
	/usr/local/go/src/go/types/const.go:92 +0x138
go/types.(*Checker).representation(0x14001230e00, 0x14000b0ae80, 0x10079e880)
	/usr/local/go/src/go/types/const.go:256 +0x68
go/types.(*Checker).implicitTypeAndValue(0x14001230e00, 0x14000b0ae80, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/expr.go:375 +0x304
go/types.(*Checker).convertUntyped(0x14001230e00, 0x14000b0ae80, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/const.go:289 +0x30
go/types.(*Checker).matchTypes(0x14001230e00, 0x14000b0ae40, 0x14000b0ae80)
	/usr/local/go/src/go/types/expr.go:926 +0x7c
go/types.(*Checker).binary(0x14001230e00, 0x14000b0ae40, {0x10063daa0, 0x14006594bd0}, {0x10063db30, 0x14001254980}, {0x10063e070, 0x14001254a00}, 0x28, 0x58437)
	/usr/local/go/src/go/types/expr.go:800 +0x114
go/types.(*Checker).exprInternal(0x14001230e00, 0x0, 0x14000b0ae40, {0x10063daa0, 0x14006594bd0}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x14001230e00, 0x0, 0x14000b0ae40, {0x10063daa0?, 0x14006594bd0?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x14001230e00, 0x10063d1b0?, 0x14000b0ae40, {0x10063daa0?, 0x14006594bd0?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).stmt(0x14001230e00, 0x0, {0x10063de90, 0x14000b0a5c0})
	/usr/local/go/src/go/types/stmt.go:570 +0xda4
go/types.(*Checker).stmtList(0x14001230e00, 0x0, {0x14001254b60?, 0x0?, 0x0?})
	/usr/local/go/src/go/types/stmt.go:121 +0x88
go/types.(*Checker).funcBody(0x14001230e00, 0x10063ce18?, {0x14005504350?, 0x10079ea60?}, 0x14000b0ac40, 0x14006594c60, {0x0?, 0x0?})
	/usr/local/go/src/go/types/stmt.go:41 +0x21c
go/types.(*Checker).funcDecl.func1()
	/usr/local/go/src/go/types/decl.go:852 +0x44
go/types.(*Checker).processDelayed(0x14001230e00, 0x0)
	/usr/local/go/src/go/types/check.go:467 +0x12c
go/types.(*Checker).checkFiles(0x14001230e00, {0x140065980c0, 0x1, 0x1})
	/usr/local/go/src/go/types/check.go:411 +0x188
go/types.(*Checker).Files(...)
	/usr/local/go/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x140000da1e0, 0x14000625160)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:819 +0x4f4
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:677 +0x178
sync.(*Once).doSlow(0x0?, 0x0?)
	/usr/local/go/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:664 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:671 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 62
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:670 +0x84
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1004adc14]

goroutine 520 [running]:
go/types.(*Checker).handleBailout(0x1400110d800, 0x140069f3c78)
	/usr/local/go/src/go/types/check.go:367 +0x9c
panic({0x1005fd8c0?, 0x10079a580?})
	/usr/local/go/src/runtime/panic.go:770 +0x124
go/types.(*StdSizes).Sizeof(0x0, {0x10063ce18, 0x10079e920})
	/usr/local/go/src/go/types/sizes.go:228 +0x314
go/types.(*Config).sizeof(...)
	/usr/local/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0x10063ce18?, 0x10079e920?})
	/usr/local/go/src/go/types/const.go:76 +0x9c
go/types.representableConst({0x10063e808, 0x100792f40}, 0x1400110d800, 0x10079e920, 0x14004fdcfa8)
	/usr/local/go/src/go/types/const.go:106 +0x2b0
go/types.(*Checker).conversion.func1({0x10063ce18?, 0x10079e920?}, 0x14004fdcfa8)
	/usr/local/go/src/go/types/conversions.go:24 +0x74
go/types.(*Checker).conversion(0x1400110d800, 0x14004fdcf80, {0x10063ce18, 0x10079e920})
	/usr/local/go/src/go/types/conversions.go:44 +0x18c
go/types.(*Checker).callExpr(0x1400110d800, 0x14004fdcf80, 0x14000c78200)
	/usr/local/go/src/go/types/call.go:224 +0xa54
go/types.(*Checker).exprInternal(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063e190, 0x14000c78200}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1374 +0xd0
go/types.(*Checker).rawExpr(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063e190?, 0x14000c78200?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x1400110d800, 0x0?, 0x14004fdcf80, {0x10063e190?, 0x14000c78200?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).unary(0x1400110d800, 0x14004fdcf80, 0x140044e7140)
	/usr/local/go/src/go/types/expr.go:127 +0x44
go/types.(*Checker).exprInternal(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063dad0, 0x140044e7140}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1406 +0x1328
go/types.(*Checker).rawExpr(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063dad0?, 0x140044e7140?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x1400110d800, 0x140068296b0?, 0x14004fdcf80, {0x10063dad0?, 0x140044e7140?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x1400110d800, 0x14004fdcf80, {0x10063daa0, 0x14005c2ad80}, {0x10063dad0, 0x140044e7140}, {0x10063e070, 0x140044e7160}, 0x15, 0x5368d)
	/usr/local/go/src/go/types/expr.go:783 +0x70
go/types.(*Checker).exprInternal(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063daa0, 0x14005c2ad80}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063daa0?, 0x14005c2ad80?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).exprInternal(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063e100, 0x140044e7180}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1320 +0x150
go/types.(*Checker).rawExpr(0x1400110d800, 0x0, 0x14004fdcf80, {0x10063e100?, 0x140044e7180?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x1400110d800, 0x10000?, 0x14004fdcf80, {0x10063e100?, 0x140044e7180?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x1400110d800, 0x14004fdcf40, {0x10063daa0, 0x14005c2adb0}, {0x10063e070, 0x140044e70e0}, {0x10063e100, 0x140044e7180}, 0x14, 0x53680)
	/usr/local/go/src/go/types/expr.go:784 +0x88
go/types.(*Checker).exprInternal(0x1400110d800, 0x0, 0x14004fdcf40, {0x10063daa0, 0x14005c2adb0}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x1400110d800, 0x0, 0x14004fdcf40, {0x10063daa0?, 0x14005c2adb0?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x1400110d800, 0x140069840f0?, 0x14004fdcf40, {0x10063daa0?, 0x14005c2adb0?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).constDecl(0x1400110d800, 0x14005c130e0, {0x0, 0x0}, {0x10063daa0, 0x14005c2adb0}, 0x0)
	/usr/local/go/src/go/types/decl.go:488 +0x23c
go/types.(*Checker).objDecl(0x1400110d800, {0x100640bd8, 0x14005c130e0}, 0x0)
	/usr/local/go/src/go/types/decl.go:191 +0x84c
go/types.(*Checker).packageObjects(0x1400110d800)
	/usr/local/go/src/go/types/resolver.go:693 +0x468
go/types.(*Checker).checkFiles(0x1400110d800, {0x14005a0e1c8, 0x3, 0x3})
	/usr/local/go/src/go/types/check.go:408 +0x164
go/types.(*Checker).Files(...)
	/usr/local/go/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x140000da1e0, 0x14000625220)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:819 +0x4f4
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:677 +0x178
sync.(*Once).doSlow(0x0?, 0x0?)
	/usr/local/go/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:664 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:671 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 43
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:670 +0x84
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1004adc14]

goroutine 676 [running]:
go/types.(*Checker).handleBailout(0x140010dc000, 0x14006945c78)
	/usr/local/go/src/go/types/check.go:367 +0x9c
panic({0x1005fd8c0?, 0x10079a580?})
	/usr/local/go/src/runtime/panic.go:770 +0x124
go/types.(*StdSizes).Sizeof(0x0, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/sizes.go:228 +0x314
go/types.(*Config).sizeof(...)
	/usr/local/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0x10063ce18?, 0x10079e880?})
	/usr/local/go/src/go/types/const.go:76 +0x9c
go/types.representableConst({0x10063e808, 0x100792f40}, 0x140010dc000, 0x10079e880, 0x14006941c68)
	/usr/local/go/src/go/types/const.go:92 +0x138
go/types.(*Checker).representation(0x140010dc000, 0x14000a92cc0, 0x10079e880)
	/usr/local/go/src/go/types/const.go:256 +0x68
go/types.(*Checker).implicitTypeAndValue(0x140010dc000, 0x14000a92cc0, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/expr.go:375 +0x304
go/types.(*Checker).convertUntyped(0x140010dc000, 0x14000a92cc0, {0x10063ce18, 0x10079e880})
	/usr/local/go/src/go/types/const.go:289 +0x30
go/types.(*Checker).matchTypes(0x140010dc000, 0x14000a92bc0, 0x14000a92cc0)
	/usr/local/go/src/go/types/expr.go:926 +0x7c
go/types.(*Checker).binary(0x140010dc000, 0x14000a92bc0, {0x10063daa0, 0x14005af4150}, {0x10063e190, 0x14000a92180}, {0x10063e070, 0x140013b21c0}, 0x29, 0x16f5)
	/usr/local/go/src/go/types/expr.go:800 +0x114
go/types.(*Checker).exprInternal(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0, 0x14005af4150}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0?, 0x14005af4150?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x140010dc000, 0x0?, 0x14000a92bc0, {0x10063daa0?, 0x14005af4150?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x140010dc000, 0x14000a92bc0, {0x10063daa0, 0x14005af41b0}, {0x10063daa0, 0x14005af4150}, {0x10063daa0, 0x14005af4180}, 0x22, 0x16f9)
	/usr/local/go/src/go/types/expr.go:783 +0x70
go/types.(*Checker).exprInternal(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0, 0x14005af41b0}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0?, 0x14005af41b0?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x140010dc000, 0x0?, 0x14000a92bc0, {0x10063daa0?, 0x14005af41b0?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x140010dc000, 0x14000a92bc0, {0x10063daa0, 0x14005af42a0}, {0x10063daa0, 0x14005af41b0}, {0x10063daa0, 0x14005af4270}, 0x22, 0x1707)
	/usr/local/go/src/go/types/expr.go:783 +0x70
go/types.(*Checker).exprInternal(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0, 0x14005af42a0}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0?, 0x14005af42a0?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x140010dc000, 0x10063d3e0?, 0x14000a92bc0, {0x10063daa0?, 0x14005af42a0?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x140010dc000, 0x14000a92bc0, {0x10063daa0, 0x14005af4390}, {0x10063daa0, 0x14005af42a0}, {0x10063daa0, 0x14005af4360}, 0x22, 0x1754)
	/usr/local/go/src/go/types/expr.go:783 +0x70
go/types.(*Checker).exprInternal(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0, 0x14005af4390}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x140010dc000, 0x0, 0x14000a92bc0, {0x10063daa0?, 0x14005af4390?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x140010dc000, 0x10079e860?, 0x14000a92bc0, {0x10063daa0?, 0x14005af4390?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).initVars(0x140010dc000, {0x14005abc0b8, 0x1, 0x1004bdbdc?}, {0x14000934170, 0x1004bdb20?, 0x1400688cdd8?}, {0x10063ddd0, 0x140013b26c0?})
	/usr/local/go/src/go/types/assignments.go:381 +0x570
go/types.(*Checker).stmt(0x140010dc000, 0x0, {0x10063ddd0, 0x140013b26c0})
	/usr/local/go/src/go/types/stmt.go:524 +0x1898
go/types.(*Checker).stmtList(0x140010dc000, 0x0, {0x14000934180?, 0x0?, 0x0?})
	/usr/local/go/src/go/types/stmt.go:121 +0x88
go/types.(*Checker).funcBody(0x140010dc000, 0x10063ce18?, {0x14005606094?, 0x10079e860?}, 0x14000a92900, 0x14005af43c0, {0x0?, 0x0?})
	/usr/local/go/src/go/types/stmt.go:41 +0x21c
go/types.(*Checker).funcDecl.func1()
	/usr/local/go/src/go/types/decl.go:852 +0x44
go/types.(*Checker).processDelayed(0x140010dc000, 0x0)
	/usr/local/go/src/go/types/check.go:467 +0x12c
go/types.(*Checker).checkFiles(0x140010dc000, {0x14005abc000, 0x1, 0x1})
	/usr/local/go/src/go/types/check.go:411 +0x188
go/types.(*Checker).Files(...)
	/usr/local/go/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x140000da1e0, 0x14000625680)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:819 +0x4f4
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:677 +0x178
sync.(*Once).doSlow(0x0?, 0x0?)
	/usr/local/go/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:664 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:671 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 542
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:670 +0x84
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1004adc14]

goroutine 277 [running]:
go/types.(*Checker).handleBailout(0x14000f7d400, 0x140065b7c78)
	/usr/local/go/src/go/types/check.go:367 +0x9c
panic({0x1005fd8c0?, 0x10079a580?})
	/usr/local/go/src/runtime/panic.go:770 +0x124
go/types.(*StdSizes).Sizeof(0x0, {0x10063ce18, 0x10079e920})
	/usr/local/go/src/go/types/sizes.go:228 +0x314
go/types.(*Config).sizeof(...)
	/usr/local/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0x10063ce18?, 0x10079e920?})
	/usr/local/go/src/go/types/const.go:76 +0x9c
go/types.representableConst({0x10063e808, 0x100792f78}, 0x14000f7d400, 0x10079e920, 0x140065b5d58)
	/usr/local/go/src/go/types/const.go:106 +0x2b0
go/types.(*Checker).representation(0x14000f7d400, 0x14005357440, 0x10079e920)
	/usr/local/go/src/go/types/const.go:256 +0x68
go/types.(*Checker).representable(0x14000f7d400, 0x14005357440, 0x10079e920)
	/usr/local/go/src/go/types/const.go:239 +0x28
go/types.(*Checker).shift(0x14000f7d400, 0x14005357340, 0x14005357440, {0x10063daa0, 0x14006788060}, 0x14)
	/usr/local/go/src/go/types/expr.go:650 +0x1d8
go/types.(*Checker).binary(0x14000f7d400, 0x14005357340, {0x10063daa0, 0x14006788060}, {0x10063e070, 0x1400485c780}, {0x10063e070, 0x1400485c7a0}, 0x14, 0x387d)
	/usr/local/go/src/go/types/expr.go:796 +0x100
go/types.(*Checker).exprInternal(0x14000f7d400, 0x0, 0x14005357340, {0x10063daa0, 0x14006788060}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x14000f7d400, 0x0, 0x14005357340, {0x10063daa0?, 0x14006788060?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x14000f7d400, 0x0?, 0x14005357340, {0x10063daa0?, 0x14006788060?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).binary(0x14000f7d400, 0x14005357340, {0x10063daa0, 0x14006788090}, {0x10063daa0, 0x14006788060}, {0x10063e070, 0x1400485c7c0}, 0xd, 0x3881)
	/usr/local/go/src/go/types/expr.go:783 +0x70
go/types.(*Checker).exprInternal(0x14000f7d400, 0x0, 0x14005357340, {0x10063daa0, 0x14006788090}, {0x0, 0x0})
	/usr/local/go/src/go/types/expr.go:1416 +0x1d4
go/types.(*Checker).rawExpr(0x14000f7d400, 0x0, 0x14005357340, {0x10063daa0?, 0x14006788090?}, {0x0?, 0x0?}, 0x0)
	/usr/local/go/src/go/types/expr.go:979 +0x12c
go/types.(*Checker).expr(0x14000f7d400, 0x140057951a0?, 0x14005357340, {0x10063daa0?, 0x14006788090?})
	/usr/local/go/src/go/types/expr.go:1513 +0x38
go/types.(*Checker).constDecl(0x14000f7d400, 0x14005795260, {0x0, 0x0}, {0x10063daa0, 0x14006788090}, 0x0)
	/usr/local/go/src/go/types/decl.go:488 +0x23c
go/types.(*Checker).objDecl(0x14000f7d400, {0x100640bd8, 0x14005795260}, 0x0)
	/usr/local/go/src/go/types/decl.go:191 +0x84c
go/types.(*Checker).packageObjects(0x14000f7d400)
	/usr/local/go/src/go/types/resolver.go:693 +0x468
go/types.(*Checker).checkFiles(0x14000f7d400, {0x140000a0078, 0x1, 0x1})
	/usr/local/go/src/go/types/check.go:408 +0x164
go/types.(*Checker).Files(...)
	/usr/local/go/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x140000da1e0, 0x14000625260)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:819 +0x4f4
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:677 +0x178
sync.(*Once).doSlow(0x0?, 0x0?)
	/usr/local/go/src/sync/once.go:74 +0x100
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:664 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:671 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 240
	/Users/ck/go/pkg/mod/golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.go:670 +0x84
make[1]: *** [gen-go] Error 2
[Bra] 03-22 19:44:25 [ WARN] Fail to execute command: [GO_BUILD_DEV=1 LC_CTYPE=UTF-8 SHELL=/bin/zsh _=/usr/bin/make __CFBundleIdentifier=com.apple.Terminal INFOPATH=/opt/homebrew/share/info: PATH=/Users/ck/go/bin:/usr/local/go/bin:/opt/homebrew/opt/node@20/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin GOPATH=/Users/ck/go SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ErEbjJcvc9/Listeners PWD=/Users/ck/Desktop/Greyscale Code Base/Grafana/grafana HOMEBREW_CELLAR=/opt/homebrew/Cellar MANPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man:/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/share/man:/opt/homebrew/share/man:: HOME=/Users/ck LOGNAME=ck XPC_FLAGS=0x0 SHLVL=1 TERM_SESSION_ID=63053E6E-6BBA-4682-A33D-5A3C3BF180FD USER=ck GOROOT=/usr/local/go OLDPWD=/Users/ck/Desktop/Greyscale Code Base/Grafana/grafana TERM_PROGRAM=Apple_Terminal TMPDIR=/var/folders/dl/jkz387v14f7bdqnlm07q_klr0000gn/T/ MAKEFLAGS= MFLAGS= TERM_PROGRAM_VERSION=453 XPC_SERVICE_NAME=0 HOMEBREW_PREFIX=/opt/homebrew HOMEBREW_REPOSITORY=/opt/homebrew __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 TERM=xterm-256color MAKELEVEL=1] make [build-go] - exit status 2

Hello @chandra96

This looks as complicated as a kernel panic… Can you tell us how did you install your instance on which OS?
Please take a look here.

Regards

i am trying to do a make run from terminal, did all the prequiquisites mentioned in Developer-guide.md

I have run the same things in a different laptop with 14.1 -Sonoma , but when i am running the same in Version 14.4 (23E214) - Sonoma. I am facing this issue not sure if the version is the issue or not.

generate go files
/Users/test/go/bin/wire-v0.5.0 gen -tags “oss” ./pkg/server ./pkg/cmd/grafana-cli/runner
[Bra] 03-25 17:44:43 [DEBUG] Skipped “$WORKDIR/pkg/api/api.go”: CHMOD

while generating this issue is occuring

Okay, I finally found that Sonoma was MacOS.

I just looked at the documentation and didn’t find anything about a make run.
I also found that it seams you are trying to install Grafana using developing version. Is there a reason for this? If you just want to use Grafana, please try the “classical” documentation…

Regards

1 Like