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

x/perf: build fails on tip #28545

Closed
dmitshur opened this issue Nov 2, 2018 · 1 comment
Closed

x/perf: build fails on tip #28545

dmitshur opened this issue Nov 2, 2018 · 1 comment
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@dmitshur
Copy link
Contributor

dmitshur commented Nov 2, 2018

From https://build.golang.org/log/245d56a18159497a1da90c35d2bda88f596eb123:

# golang.org/x/perf/vendor/github.com/mattn/go-sqlite3
../../gopath/src/golang.org/x/perf/vendor/github.com/mattn/go-sqlite3/callback.go:331:105: cannot use _cgo2 (type int) as type _Ctype_int in argument to _Cfunc_sqlite3_result_error
../../gopath/src/golang.org/x/perf/vendor/github.com/mattn/go-sqlite3/sqlite3.go:592: cannot use _cgo2 (type int) as type _Ctype_int in argument to _Cfunc__sqlite3_open_v2
../../gopath/src/golang.org/x/perf/vendor/github.com/mattn/go-sqlite3/sqlite3.go:644: cannot use _cgo2 (type int) as type _Ctype_int in argument to _Cfunc_sqlite3_prepare_v2
FAIL	golang.org/x/perf/storage/app [build failed]

The dashboard for x/perf shows the failures have started with Go commit 90df377, and continue with latest Go commit a70a2a8.

It seems related to the recent cmd/cgo changes. Perhaps it's correct behavior and the go-sqlite3 needs to be updated now that #14210 and #25941 are fixed, or perhaps it's a regression in cmd/cgo. /cc @ianlancetaylor @bradfitz

Putting the milestone as Go 1.12 in case it's a problem with cgo; otherwise this should be moved to Unreleased milestone.

@dmitshur dmitshur added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 2, 2018
@dmitshur dmitshur added this to the Go1.12 milestone Nov 2, 2018
@gopherbot
Copy link

Change https://golang.org/cl/146900 mentions this issue: cmd/cgo: accept expressions as untyped constants

@golang golang locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants