And could you also make sure you are running the latest docker container? docker pull mynewt/newt:latest
thanks, aditi > On Jan 18, 2017, at 10:42 AM, aditi hilbert <[email protected]> wrote: > > Lichun, > > That particular package path actually does not exist - so the documentation > is incorrect. I can fix that. > > Try testing with the package with a valid path e.g. > > newt test @apache-mynewt-core/kernel/os > > thanks, > aditi > >> On Jan 18, 2017, at 3:59 AM, Li-Chun Ko <[email protected]> wrote: >> >> Hi all, >> >> I am a noob here and I am trying to build Mynewt applications with the >> Docker Container (using the Docker Quickstart Terminal). >> >> I followed the instructions I found here: >> http://mynewt.apache.org/os/get_started/project_create/ and encountered a >> problem in the step when executing this command: >> >> newt test @apache-mynewt-core/libs/os >> >> The error messages are shown below. >> I have googled the problem and it seems this caused by the "go" command >> (ref: https://github.com/golang/go/issues/16566). >> However I have no clue, how this problem can be fixed. >> For instance, how do I access the GOPATH parameter from the Docker >> Quickstart Terminal? >> >> Any suggestion? >> >> BTW, I am running the Docker Container on a 64 bit Windows 10 platform. >> >> Br, >> Lichun >> >> $ ./newt test @repos/apache-mynewt-core/libs/os panic: runtime error: >> invalid memory address or nil pointer dereference [signal SIGSEGV: >> segmentation violation code=0x1 addr=0x0 pc=0x626295] goroutine 1 >> [running]: panic(0x7f8480, 0xc420012080) >> /usr/local/go/src/runtime/panic.go:500 +0x1a1 >> mynewt.apache.org/newt/newt/repo.(*Repo).Name(0x0, 0x1a, 0x0) /go/src/ >> mynewt.apache.org/newt/newt/repo/repo.go:289 +0x5 >> mynewt.apache.org/newt/newt/pkg.(*Dependency).setRepoAndName(0xc420322f60, >> 0xa4b180, 0x0, 0x7fffe9ebeef1, 0x1a, 0x7fffe9ebee01, 0xc420322f60) /go/src/ >> mynewt.apache.org/newt/newt/pkg/dependency.go:63 +0x169 >> mynewt.apache.org/newt/newt/pkg.(*Dependency).Init(0xc420322f60, 0xa4b180, >> 0x0, 0x7fffe9ebeef1, 0x1a, 0x7fffffffffffff, 0x0) /go/src/ >> mynewt.apache.org/newt/newt/pkg/dependency.go:74 +0x57 >> mynewt.apache.org/newt/newt/pkg.NewDependency(0xa4b180, 0x0, >> 0x7fffe9ebeef1, 0x1a, 0xa89980, 0x1a, 0x0) /go/src/ >> mynewt.apache.org/newt/newt/pkg/dependency.go:84 +0x8b >> mynewt.apache.org/newt/newt/project.(*Project).ResolvePackage(0xc420052660, >> 0xa4b180, 0xc42006e3f0, 0x7fffe9ebeeea, 0x21, 0x0, 0x7f3e80, 0xc42000d6e0) >> /go/src/mynewt.apache.org/newt/newt/project/project.go:547 +0xfe >> mynewt.apache.org/newt/newt/cli.testRunCmd(0xc420208b40, 0xc4201c7a00, 0x1, >> 0x1) /go/src/mynewt.apache.org/newt/newt/cli/build_cmds.go:225 +0x119 >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra.(*Command).execute(0xc420208b40, >> 0xc4201c79c0, 0x1, 0x1, 0xc420208b40, 0xc4201c79c0) /go/src/ >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra/command.go:636 >> +0x443 >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420074fc0, >> 0x4, 0x2c, 0x87a8a3) /go/src/ >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra/command.go:722 >> +0x367 >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420074fc0, >> 0x87a8a3, 0x4) /go/src/ >> mynewt.apache.org/newt/newt/vendor/github.com/spf13/cobra/command.go:681 >> +0x2b main.main() /go/src/mynewt.apache.org/newt/newt/newt.go:146 +0x1b6 >
