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

Error: panic error instead of missing package information #519

Open
wpiet opened this issue May 25, 2023 · 0 comments
Open

Error: panic error instead of missing package information #519

wpiet opened this issue May 25, 2023 · 0 comments

Comments

@wpiet
Copy link

wpiet commented May 25, 2023

I have had not installed 'arm-none-eabi-objdump' and while attempting to create an image the following error appears:

$ newt create-image nrf52_blinky 1.0.0

anic: unexpected error type: *exec.Error
 
goroutine 1 [running]:
mynewt.apache.org/newt/newt/cli.NewtUsage(0x0, {0x863b00, 0xc000161ca0})
        /tmp/mynewt.gS57lNxSZ3/src/mynewt.apache.org/newt/newt/cli/util.go:54 +0x26d
mynewt.apache.org/newt/newt/cli.createImageRunCmd(0xc0001d1b00?, {0xc000160ae0, 0x2, 0x2})
        /tmp/mynewt.gS57lNxSZ3/src/mynewt.apache.org/newt/newt/cli/image_cmds.go:146 +0x672
github.com/spf13/cobra.(*Command).execute(0xc0001d1b00, {0xc000160a80, 0x2, 0x2})
        /home/michal/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x847
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001d0000)
        /home/michal/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        /home/michal/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
main.main()
        /tmp/mynewt.gS57lNxSZ3/src/mynewt.apache.org/newt/newt/newt.go:184 +0x26e

I managed to fix it by installing the package 'binutils-arm-none-eabi'.

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

No branches or pull requests

1 participant