Skip to content

cryptoauthlib_git.bb:do_install) failed with exit code '1' #261

@elockman

Description

@elockman

I am able to build the core image with:
MACHINE=sama5d27-som1-ek-sd bitbake core-image-minimal

But I run into a cryptoauthlib error when I run:
MACHINE=sama5d27-som1-ek-sd bitbake microchip-headless-image
I get the following error:

NOTE: Executing Tasks
ERROR: cryptoauthlib-1.0+gitAUTOINC+86b3046d2e-r0 do_install: ExecutionError('/home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/temp/run.do_install.3808492', 1, None, None)
ERROR: Logfile of failure stored in: /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/temp/log.do_install.3808492

I also see:

| cp: cannot stat '/home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/image/var/lib/cryptoauthlib/slot.conf.tmpl': No such file or directory
| WARNING: /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/temp/run.do_install.3808492:148 exit 1 from 'cp -p /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/image/var/lib/cryptoauthlib/slot.conf.tmpl /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/image/var/lib/cryptoauthlib/0.conf'
| WARNING: Backtrace (BB generated script):
| 	#1: do_install, /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/temp/run.do_install.3808492, line 148
| 	#2: main, /home/eric/Documents/repos/som1ek1/poky/build-microchip/tmp/work/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/cryptoauthlib/1.0+gitAUTOINC+86b3046d2e-r0/temp/run.do_install.3808492, line 173
ERROR: Task (/home/eric/Documents/repos/som1ek1/poky/../meta-atmel/recipes-security/cryptoauthlib/cryptoauthlib_git.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5451 tasks of which 5444 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/eric/Documents/repos/som1ek1/poky/../meta-atmel/recipes-security/cryptoauthlib/cryptoauthlib_git.bb:do_install
Summary: There was 1 ERROR message, returning a non-zero exit code.

The image builds if I comment out the image recipe line 20:
IMAGE_INSTALL:append:sama5d2 = " cryptoauthlib python3-cryptoauthlib p11-kit"
or if I change it to:
IMAGE_INSTALL:append:sama5d2 = " python3-cryptoauthlib p11-kit"

Any thoughts @Dharma-B?
Is anyone else seeing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions