Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 01:24:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254293] net/cloudflared: could not determine kind of name for C.BrotliDecoderSetCustomDictionary
Message-ID:  <bug-254293-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 254293
           Summary: net/cloudflared: could not determine kind of name for
                    C.BrotliDecoderSetCustomDictionary
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: egypcio@FreeBSD.org
          Reporter: orzodk@neomailbox.net
             Flags: maintainer-feedback?(egypcio@FreeBSD.org)
          Assignee: egypcio@FreeBSD.org

I am unable to build the net/cloudflared port.

This may be an upstream bug but nobody has reported it as an issue.

```
# uname -a
FreeBSD ox 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 7851f4a452d(HEAD) TRUENA=
S=20
amd64

# go env
GO111MODULE=3D""
GOARCH=3D"amd64"
GOBIN=3D""
GOCACHE=3D"/root/.cache/go-build"
GOENV=3D"/root/.config/go/env"
GOEXE=3D""
GOFLAGS=3D""
GOHOSTARCH=3D"amd64"
GOHOSTOS=3D"freebsd"
GOINSECURE=3D""
GOMODCACHE=3D"/root/go/pkg/mod"
GONOPROXY=3D""
GONOSUMDB=3D""
GOOS=3D"freebsd"
GOPATH=3D"/root/go"
GOPRIVATE=3D""
GOPROXY=3D"https://proxy.golang.org,direct"
GOROOT=3D"/usr/local/go"
GOSUMDB=3D"sum.golang.org"
GOTMPDIR=3D""
GOTOOLDIR=3D"/usr/local/go/pkg/tool/freebsd_amd64"
GOVCS=3D""
GOVERSION=3D"go1.16.2"
GCCGO=3D"gccgo"
AR=3D"ar"
CC=3D"clang"
CXX=3D"clang++"
CGO_ENABLED=3D"1"
GOMOD=3D"/dev/null"
CGO_CFLAGS=3D"-g -O2"
CGO_CPPFLAGS=3D""
CGO_CXXFLAGS=3D"-g -O2"
CGO_FFLAGS=3D"-g -O2"
CGO_LDFLAGS=3D"-g -O2"
PKG_CONFIG=3D"pkg-config"
GOGCCFLAGS=3D"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments
-fmessage-length=3D0 -fdebug-prefix-map=3D/tmp/go-build408488873=3D/tmp/go-=
build
-gno-record-gcc-switches"

# make install
=3D=3D=3D>  Building for cloudflared-2020.11.11
(cd /usr/ports/net/cloudflared/work/cloudflared-2020.11.11;  for t in
github.com/cloudflare/cloudflared/cmd/cloudflared; do  out=3D$(/usr/bin/bas=
ename
$(echo ${t} |  /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e
's/^\.$/cloudflared/'));  pkg=3D$(echo ${t} |  /usr/bin/sed -Ee
's/^([^:]*).*$/\1/' -e 's/^cloudflared$/./');  echo "=3D=3D=3D>  Building $=
{out} from
${pkg}";  /usr/bin/env XDG_DATA_HOME=3D/usr/ports/net/cloudflared/work=20
XDG_CONFIG_HOME=3D/usr/ports/net/cloudflared/work=20
HOME=3D/usr/ports/net/cloudflared/work
PATH=3D/usr/ports/net/cloudflared/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/=
usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe=
=20
-fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D""=
=20
LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-=
O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX=3D"/usr/local"
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  -s =
-m 0644"
 BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INSTALL_DATA=3D"install  -m 06=
44"=20
BSD_INSTALL_MAN=3D"install  -m 444" CGO_ENABLED=3D1=20
CGO_CFLAGS=3D"-I/usr/local/include"  CGO_LDFLAGS=3D"-L/usr/local/lib"  GOAR=
M=3D
GOPATH=3D"/usr/ports/distfiles/go/net_cloudflared"=20
GOBIN=3D"/usr/ports/net/cloudflared/work/bin"  GO111MODULE=3Don=20
GOFLAGS=3D-modcacherw  GOSUMDB=3Dsum.golang.org GO_NO_VENDOR_CHECKS=3D1 GOP=
ROXY=3Doff
/usr/local/bin/go build -ldflags '-s -w -X main.Version=3D2020.11.11' -v
-buildmode=3Dexe -mod=3Dvendor  -o /usr/ports/net/cloudflared/work/bin/${ou=
t}=20
${pkg};  done)
=3D=3D=3D>  Building cloudflared from
github.com/cloudflare/cloudflared/cmd/cloudflared
github.com/cloudflare/brotli-go
# github.com/cloudflare/brotli-go
vendor/github.com/cloudflare/brotli-go/reader.go:79:2: could not determine =
kind
of name for C.BrotliDecoderSetCustomDictionary
*** Error code 2

Stop.
make: stopped in /usr/ports/net/cloudflared
```

--=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-254293-7788>