Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2024 12:05:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277974] www/grafana: 10.3.3 fails to build
Message-ID:  <bug-277974-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277974

            Bug ID: 277974
           Summary: www/grafana: 10.3.3 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mfechner@FreeBSD.org
                CC: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(drtr0jan@yandex.ru)
                CC: drtr0jan@yandex.ru

Building it, gives the following error message:
```
=3D=3D=3D>  Generating wire_gen.go
panic: runtime error: invalid memory address or nil pointer dereference
[recovered]
        panic: runtime error: invalid memory address or nil pointer derefer=
ence
[signal SIGSEGV: segmentation violation code=3D0x1 addr=3D0x0 pc=3D0x57afcf]

goroutine 59 [running]:
go/types.(*Checker).handleBailout(0x86d106200, 0x87e2c3ca8)
        go/types/check.go:367 +0x88
panic({0x67a6c0?, 0x87f310?})
        runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0x71ceb8, 0x883600})
        go/types/sizes.go:228 +0x30f
go/types.(*Config).sizeof(...)
        go/types/sizes.go:333
go/types.representableConst.func1({0x71ceb8?, 0x883600?})
        go/types/const.go:76 +0x9e
go/types.representableConst({0x71e8a8, 0x877ce0}, 0x86d106200, 0x883600,
0x87e2c28c0)
        go/types/const.go:92 +0x192
go/types.(*Checker).representation(0x86d106200, 0x86cbfef80, 0x883600)
        go/types/const.go:256 +0x65
go/types.(*Checker).implicitTypeAndValue(0x86d106200, 0x86cbfef80, {0x71ceb=
8,
0x883600})
        go/types/expr.go:375 +0x2d7
go/types.(*Checker).assignment(0x86d106200, 0x86cbfef80, {0x71ceb8, 0x88360=
0},
{0x6baa27, 0x10})
        go/types/assignments.go:52 +0x2e5
go/types.(*Checker).initVar(0x86d106200, 0x87e2d0060, 0x86cbfef80, {0x6baa2=
7,
0x10})
        go/types/assignments.go:163 +0x3b2
go/types.(*Checker).initVars(0x86d106200, {0x87e29e1a0, 0x1, 0x86c1c6d48?},
{0x86cb48230, 0x87e2b0e30?, 0x9f84c78a36adff32?}, {0x71de70, 0x86e9349c0})
        go/types/assignments.go:382 +0x638
go/types.(*Checker).stmt(0x86d106200, 0x0, {0x71de70, 0x86e9349c0})
        go/types/stmt.go:524 +0x1fc5
go/types.(*Checker).stmtList(0x86d106200, 0x0, {0x86cb48240?, 0x0?, 0x0?})
        go/types/stmt.go:121 +0x85
go/types.(*Checker).funcBody(0x86d106200, 0x71ceb8?, {0x87e2881f4?, 0x88360=
0?},
0x86cbfee80, 0x87e29a6c0, {0x0?, 0x0?})
        go/types/stmt.go:41 +0x331
go/types.(*Checker).funcDecl.func1()
        go/types/decl.go:852 +0x3a
go/types.(*Checker).processDelayed(0x86d106200, 0x0)
        go/types/check.go:467 +0x162
go/types.(*Checker).checkFiles(0x86d106200, {0x86cb48020, 0x2, 0x2})
        go/types/check.go:411 +0x1cc
go/types.(*Checker).Files(...)
        go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0x86c1d81e0, 0x86c747a=
40)
=20=20=20=20=20=20=20
golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.=
go:819
+0x5c5
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
=20=20=20=20=20=20=20
golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.=
go:677
+0x1a9
sync.(*Once).doSlow(0x6e692f6f74707972?, 0x622f6c616e726574?)
        sync/once.go:74 +0xc2
sync.(*Once).Do(...)
        sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x2209090a2c226769?,
0x692f6f7470797263?)
=20=20=20=20=20=20=20
golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.=
go:664
+0x4a
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x6f74707972=
632209?)
=20=20=20=20=20=20=20
golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.=
go:671
+0x26
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in
goroutine 58
=20=20=20=20=20=20=20
golang.org/x/tools@v0.0.0-20190422233926-fe54fb35175b/go/packages/packages.=
go:670
+0x94
*** Error code 2
```

The full buildlog can be found here:
https://pkg.fechner.net/data/132amd64-default/2024-03-26_13h01m41s/logs/err=
ors/grafana-10.3.3_1.log

Do you have an idea what the problem can be?
I see exactly the same error message with www/grafana9.

Thanks
Matthias

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277974-7788>