[Bug 268608] www/grafana9-9.3.1 fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Dec 2022 06:12:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268608

            Bug ID: 268608
           Summary: www/grafana9-9.3.1 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sgs@pichove.org

Grafana 9.3.1 fails to build wit the following error:

[root@SagaBOX /usr/ports/www/grafana9]# make
===>  License AGPLv3 accepted by the user
===>   grafana9-9.3.1 depends on file: /usr/local/sbin/pkg - found
===>   grafana9-9.3.1 depends on file: /usr/local/bin/go119 - found
===>   grafana9-9.3.1 depends on package: ca_root_nss>0 - found
===> Fetching all distfiles required by grafana9-9.3.1 for building
===> Fetching github.com/grafana/grafana dependencies
===>  Extracting for grafana9-9.3.1
=> SHA256 Checksum OK for
go/www_grafana9/grafana-grafana-v9.3.1_GH0/grafana-9.3.1.linux-amd64.tar.gz.
=> SHA256 Checksum OK for go/www_grafana9/grafana-grafana-v9.3.1_GH0/go.mod.
=> SHA256 Checksum OK for
go/www_grafana9/grafana-grafana-v9.3.1_GH0/grafana-grafana-v9.3.1_GH0.tar.gz.
===> Tidying github.com/grafana/grafana dependencies
go: finding module for package github.com/cortexproject/cortex/pkg/util
go: finding module for package github.com/russross/blackfriday/v2
github.com/grafana/grafana/pkg/extensions imports
        github.com/cortexproject/cortex/pkg/util: module
github.com/cortexproject/cortex@latest found
(v1.10.1-0.20211014125347-85c378182d0d), but does not contain package
github.com/cortexproject/cortex/pkg/util
github.com/grafana/grafana/pkg/build/cmd imports
        github.com/urfave/cli imports
        github.com/cpuguy83/go-md2man/v2/md2man imports
        github.com/russross/blackfriday/v2: module
github.com/russross/blackfriday/v2@latest found (v2.1.0), but does not contain
package github.com/russross/blackfriday/v2
===> Vendoring github.com/grafana/grafana dependencies
github.com/grafana/grafana/pkg/extensions imports
        github.com/cortexproject/cortex/pkg/util: no required module provides
package github.com/cortexproject/cortex/pkg/util; to add it:
        go get github.com/cortexproject/cortex/pkg/util
github.com/grafana/grafana/pkg/build/cmd imports
        github.com/urfave/cli imports
        github.com/cpuguy83/go-md2man/v2/md2man imports
        github.com/russross/blackfriday/v2: no required module provides package
github.com/russross/blackfriday/v2; to add it:
        go get github.com/russross/blackfriday/v2
===>  Patching for grafana9-9.3.1
===>   grafana9-9.3.1 depends on executable: wire - found
===>   grafana9-9.3.1 depends on file: /usr/local/bin/go119 - found
===>  Configuring for grafana9-9.3.1
===>  Building for grafana9-9.3.1
===>  Generating wire_gen.go
wire: go [list -e -json -compiled=true -test=false -export=false -deps=true
-find=false -tags=wireinject oss -- ./pkg/server ./pkg/cmd/grafana-cli/runner]:
exit status 1: go build github.com/cortexproject/cortex/pkg/util: no Go files
in
/usr/ports/www/grafana9/work/grafana-9.3.1/vendor/github.com/cortexproject/cortex/pkg/util

wire: generate failed
*** Error code 1

Stop.
make: stopped in /usr/ports/www/grafana9


That doesn't seem to be a duplicate of:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266960

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