Is it possible for src/make.* to detect and warn users if their prepackaged source tree mixes 1.x and 1.y?

30 views
Skip to first unread message

Pietro Gagliardi

unread,
Oct 21, 2016, 4:19:31 PM10/21/16
to golang-nuts
This seems to be a common issue where people confuse problems building Go programs with problems building Go because they do an in-place upgrade from the prepackaged source, causing go build to mix, say, 1.5 and 1.6 files that are not compatible.

https://github.com/andlabs/ui/issues/185
https://github.com/andlabs/ui/issues/190 (unconfirmed)
http://stackoverflow.com/questions/39064285/go-project-build-failed-lfstackpack-redeclared-in-this-block
https://github.com/jmoiron/sqlx/issues/203

Is it possible to have a check for this situation in the build scripts, or would that be too hard to do right?
Reply all
Reply to author
Forward
0 new messages