Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: make exec failed #933

Merged
merged 1 commit into from
Jan 5, 2022
Merged

bugfix: make exec failed #933

merged 1 commit into from
Jan 5, 2022

Conversation

ccqy66
Copy link
Contributor

@ccqy66 ccqy66 commented Jan 5, 2022

Signed-off-by: Chen Chen chenchen_839@126.com

after execute make command, then output:

make
go get golang.org/x/tools/cmd/goyacc
cd "bfe_basic/condition/parser" && go generate
go test -race -cover ./...
../../../../pkg/mod/github.com/abbot/go-http-auth@v0.4.1-0.20181019201920-860ed7f246ff/auth.go:7:2: missing go.sum entry for module providing package golang.org/x/net/context (imported by github.com/abbot/go-http-auth); to add:
	go get github.com/abbot/go-http-auth@v0.4.1-0.20181019201920-860ed7f246ff
../../../../pkg/mod/github.com/microcosm-cc/bluemonday@v1.0.16/sanitize.go:41:2: missing go.sum entry for module providing package golang.org/x/net/html (imported by github.com/microcosm-cc/bluemonday); to add:
	go get github.com/microcosm-cc/bluemonday@v1.0.16
bfe_http2/transport.go:19:2: missing go.sum entry for module providing package golang.org/x/net/http2 (imported by github.com/bfenetworks/bfe/bfe_http2); to add:
	go get github.com/bfenetworks/bfe/bfe_http2
../../../../pkg/mod/github.com/miekg/dns@v1.1.29/udp.go:8:2: missing go.sum entry for module providing package golang.org/x/net/ipv4 (imported by github.com/miekg/dns); to add:
	go get github.com/miekg/dns@v1.1.29
../../../../pkg/mod/github.com/miekg/dns@v1.1.29/udp.go:9:2: missing go.sum entry for module providing package golang.org/x/net/ipv6 (imported by github.com/miekg/dns); to add:
	go get github.com/miekg/dns@v1.1.29
bfe_websocket/server_tester.go:29:2: missing go.sum entry for module providing package golang.org/x/net/websocket (imported by github.com/bfenetworks/bfe/bfe_websocket); to add:
	go get github.com/bfenetworks/bfe/bfe_websocket
../../../../pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/chacha20poly1305/chacha20poly1305_amd64.go:13:2: missing go.sum entry for module providing package golang.org/x/sys/cpu (imported by golang.org/x/crypto/chacha20poly1305); to add:
	go get golang.org/x/crypto/chacha20poly1305@v0.0.0-20200622213623-75b288015ac9
bfe_util/socket_util.go:20:2: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/bfenetworks/bfe/bfe_util); to add:
	go get github.com/bfenetworks/bfe/bfe_util
Makefile:75: recipe for target 'test-case' failed
make: *** [test-case] Error 1

expect output no error info. for example:

go vet ./...
go build -ldflags "-X main.version=1.4.0 -X main.commit=7c26f3049e1221de248501738aee717b84eda604 -extldflags=-static"
# github.com/bfenetworks/bfe
/tmp/go-link-383919656/000019.o: In function `pluginOpen':
/usr/local/go/src/plugin/plugin_dlopen.go:19: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-383919656/000004.o: In function `_cgo_26061493d47f_C2func_getaddrinfo':
/tmp/go-build/cgo-gcc-prolog:58: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
mkdir -p /data00/home/chenchen.ccqy66/go/src/github.com/bfenetworks/bfe/output/bin
mv bfe  /data00/home/chenchen.ccqy66/go/src/github.com/bfenetworks/bfe/output/bin
cp -r conf /data00/home/chenchen.ccqy66/go/src/github.com/bfenetworks/bfe/output

Signed-off-by: chenchen.ccqy66 <chenchen.ccqy66@bytedance.com>
@ccqy66
Copy link
Contributor Author

ccqy66 commented Jan 5, 2022

#933

@iyangsj iyangsj merged commit 68b570b into bfenetworks:develop Jan 5, 2022
@iyangsj
Copy link
Member

iyangsj commented Jan 5, 2022

@ccqy66 请回复微信号或添加微信好友 iyangsj , 将邀请你加入开源BFE开发者群方便交流

@ccqy66
Copy link
Contributor Author

ccqy66 commented Jan 5, 2022

@iyangsj 已加

@clarinette9
Copy link
Collaborator

#934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants