> On Oct 25, 2016, at 4:52 PM, Christopher Collins <[email protected]> wrote: > > Hi David, > > On Tue, Oct 25, 2016 at 09:41:04AM -0400, David G. Simmons wrote: > [...] >> DSimmons-Pro:newt dsimmons$ ./build.sh >> Building newt. This may take a minute... >> Successfully built executable: >> /Users/dsimmons/dev/go/src/mynewt.apache.org/newt/newt/newt >> DSimmons-Pro:newt dsimmons$ >> /Users/dsimmons/dev/go/src/mynewt.apache.org/newt/newt/newt version >> Apache Newt (incubating) version: 0.9.0 >> DSimmons-Pro:newt dsimmons$ which newt >> /Users/dsimmons/dev/go/bin/newt > > I think this might be the issue. The build.sh script doesn't copy the > newt binary to your $GOPATH/bin directory. Instead, it builds it in > your current directory. I would recomment not using the build.sh script > at all. Instead, just run "go install" from the newt/newt directory. > This command will put the built executable at $GOPATH/bin/newt
DSimmons-Pro:mynewt.apache.org dsimmons$ cd newt/ DSimmons-Pro:newt dsimmons$ git branch * develop master So I'm definitely on the develop branch. I edited newtutil.go and changed var NewtVersionStr string = "Apache Newt (incubating) version: 1.0.0-dev" and then DSimmons-Pro:newt dsimmons$ go clean DSimmons-Pro:newt dsimmons$ go install DSimmons-Pro:newt dsimmons$ which newt /Users/dsimmons/dev/go/bin/newt DSimmons-Pro:newt dsimmons$ newt version Apache Newt (incubating) version: 1.0.0-dev So I have what should be the most recent version of newt installed. Now, from the repo in the project: DSimmons-Pro:apache-mynewt-core dsimmons$ git branch * develop master DSimmons-Pro:apache-mynewt-core dsimmons$ git checkout Your branch is up-to-date with 'origin/develop'. DSimmons-Pro:apache-mynewt-core dsimmons$ So my repo in the project is up to date on the develop branch. DSimmons-Pro:nrf52dk dsimmons$ newt clean nrf52_boot DSimmons-Pro:nrf52dk dsimmons$ newt build nrf52_boot Building target targets/nrf52_boot Error: Compiler package not specified by BSP DSimmons-Pro:nrf52dk dsimmons$ So there is some failure somewhere. Could be a PEBKAC, and I'm happy to have it pointed out to me if so. :-) dg > >> DSimmons-Pro:newt dsimmons$ newt version >> Apache Newt (incubating) version: 0.9.0 > > Yikes, this is indeed a problem. We should have updated the version > string immediately after releasing 0.9.0. > > Thanks, > Chris -- David G. Simmons (919) 534-5099 Web <https://davidgs.com/> • Blog <https://davidgs.com/davidgs_blog> • Linkedin <http://linkedin.com/in/davidgsimmons> • Twitter <http://twitter.com/TechEvangelist1> • GitHub <http://github.com/davidgs> /** Message digitally signed for security and authenticity. * If you cannot read the PGP.sig attachment, please go to * http://www.gnupg.com/ <http://www.gnupg.com/> Secure your email!!! * Public key available at keyserver.pgp.com <http://keyserver.pgp.com/> **/ ♺ This email uses 100% recycled electrons. Don't blow it by printing! There are only 2 hard things in computer science: Cache invalidation, naming things, and off-by-one errors.
