do_populate_lic: Fatal QA errors found, failing task. #bitbake #systemd #ubuntu #honister


Ali
 

So I'm trying to build my recipe and it continuously fails at the do_populate_lic() phase. I've pasted my recipe file.

The Source

# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be fully functional.
# (Feel free to remove these comments when editing.)

# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
# your responsibility to verify that the values are complete and correct.
#
# The following license files were not able to be identified and are
# represented as "Unknown" below, you will need to check them yourself:
#   vendor/src/golang.org/x/sync/LICENSE
#   vendor/src/golang.org/x/oauth2/LICENSE
#   vendor/src/golang.org/x/crypto/LICENSE
#   vendor/src/golang.org/x/sys/LICENSE
#   vendor/src/golang.org/x/net/LICENSE
#   vendor/src/github.com/davecgh/go-spew/LICENSE
#   vendor/src/github.com/xanzy/ssh-agent/LICENSE
#   vendor/src/github.com/gorhill/cronexpr/GPLv3
#   vendor/src/github.com/gorilla/websocket/LICENSE
#   vendor/src/github.com/imdario/mergo/LICENSE
#   vendor/src/github.com/imdario/mergo/testdata/license.yml
#   vendor/src/github.com/go-yaml/yaml/LICENSE
#   vendor/src/github.com/go-yaml/yaml/LICENSE.libyaml
#   vendor/src/github.com/jmespath/go-jmespath/LICENSE
#   vendor/src/github.com/cihub/seelog/LICENSE.txt
#   vendor/src/github.com/pborman/ansi/LICENSE
#   vendor/src/github.com/aws/aws-sdk-go/vendor/github.com/jmespath/go-jmespath/LICENSE
#   vendor/src/github.com/aws/aws-sdk-go/awsmigrate/awsmigrate-renamer/vendor/golang.org/x/tools/LICENSE
#   vendor/src/github.com/google/go-querystring/LICENSE
#   vendor/src/github.com/go-ini/ini/LICENSE
#   vendor/src/github.com/Workiva/go-datastructures/LICENSE
#   vendor/src/github.com/emirpasic/gods/LICENSE
#   vendor/src/github.com/stretchr/testify/LICENCE.txt
#   vendor/src/github.com/stretchr/testify/LICENSE
#   vendor/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/LICENSE
#   vendor/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/LICENSE.md
#   vendor/src/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/LICENSE
#   vendor/src/github.com/stretchr/objx/LICENSE.md
#   vendor/src/github.com/go-github/LICENSE
#   vendor/src/github.com/go-github/github/licenses.go
#   vendor/src/github.com/go-github/github/licenses_test.go
#   vendor/src/github.com/Microsoft/go-winio/archive/tar/LICENSE
#   vendor/src/github.com/kevinburke/ssh_config/LICENSE
#   vendor/src/github.com/sergi/go-diff/APACHE-LICENSE-2.0
#   vendor/src/github.com/fsnotify/fsnotify/LICENSE
#   vendor/src/github.com/pmezard/go-difflib/LICENSE
#   vendor/src/github.com/go-git/go-billy/LICENSE
#   vendor/src/github.com/go-git/go-git/LICENSE
#   vendor/src/github.com/go-git/gcfg/LICENSE
#   vendor/src/gopkg.in/warnings.v0/LICENSE
#   Tools/src/LICENSE
#   Tools/src/insert_license.sh
#
# NOTE: multiple licenses have been detected; they have been separated with &
# in the LICENSE value for now since it is a reasonable assumption that all
# of the licenses apply. If instead there is a choice between the multiple
# licenses then you should change the value to separate the licenses with |
# instead of &. If there is any doubt, check the accompanying documentation
# to determine which situation is applicable.
LICENSE = "Apache-2.0 & Unknown & MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
                    file://vendor/src/golang.org/x/sync/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/golang.org/x/oauth2/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/golang.org/x/crypto/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/golang.org/x/sys/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/golang.org/x/net/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/github.com/davecgh/go-spew/LICENSE;md5=8bc888171b6c073957745dfa153bd402 \
                    file://vendor/src/github.com/kr/pty/License;md5=93958070863d769117fa33b129020050 \
                    file://vendor/src/github.com/xanzy/ssh-agent/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc \
                    file://vendor/src/github.com/mitchellh/go-ps/LICENSE.md;md5=56da355a12d4821cda57b8f23ec34bc4 \
                    file://vendor/src/github.com/mitchellh/go-homedir/LICENSE;md5=3f7765c3d4f58e1f84c4313cecf0f5bd \
                    file://vendor/src/github.com/gorhill/cronexpr/GPLv3;md5=f3d2b3f33b4cee4675268fdb8e76ca32 \
                    file://vendor/src/github.com/gorilla/websocket/LICENSE;md5=c007b54a1743d596f46b2748d9f8c044 \
                    file://vendor/src/github.com/lsegal/gucumber/LICENSE.txt;md5=5703931463421d2c0d877acd6e36049e \
                    file://vendor/src/github.com/imdario/mergo/LICENSE;md5=ff13e03bb57bf9c52645f2f942afa28b \
                    file://vendor/src/github.com/imdario/mergo/testdata/license.yml;md5=2b1121304f02116b8f95c8b3fed0f258 \
                    file://vendor/src/github.com/carlescere/scheduler/LICENSE;md5=b703b4a3f1096a4b6c00522ba2dd9cd3 \
                    file://vendor/src/github.com/go-yaml/yaml/LICENSE;md5=6964839e54f4fefcdae13f22b92d0fbb \
                    file://vendor/src/github.com/go-yaml/yaml/LICENSE.libyaml;md5=d0b68be4a2dc957aaf09144970bc6696 \
                    file://vendor/src/github.com/jmespath/go-jmespath/LICENSE;md5=9abfa8353fce3f2cb28364e1e9016852 \
                    file://vendor/src/github.com/xtaci/smux/LICENSE;md5=4f428bd6659d07efca179a1ea44b3cc1 \
                    file://vendor/src/github.com/gabs/LICENSE;md5=407c129d63c240b92eb245e25f74995e \
                    file://vendor/src/github.com/cihub/seelog/LICENSE.txt;md5=981ed23d3733a4b1505510215fc9d77f \
                    file://vendor/src/github.com/pborman/ansi/LICENSE;md5=d8f14631a6e5da377545cfaed3b67f55 \
                    file://vendor/src/github.com/cenkalti/backoff/LICENSE;md5=1571d94433e3f3aa05267efd4dbea68b \
                    file://vendor/src/github.com/jbenet/go-context/LICENSE;md5=62cacd6ebb7e5424324f85f9c3cc81b2 \
                    file://vendor/src/github.com/aws/aws-sdk-go/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
                    file://vendor/src/github.com/aws/aws-sdk-go/vendor/github.com/jmespath/go-jmespath/LICENSE;md5=9abfa8353fce3f2cb28364e1e9016852 \
                    file://vendor/src/github.com/aws/aws-sdk-go/awsmigrate/awsmigrate-renamer/vendor/golang.org/x/tools/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
                    file://vendor/src/github.com/google/go-querystring/LICENSE;md5=29f156828ca5f2df0d1c12543a75f12a \
                    file://vendor/src/github.com/go-ini/ini/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5 \
                    file://vendor/src/github.com/Workiva/go-datastructures/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
                    file://vendor/src/github.com/twinj/uuid/LICENSE;md5=8461bef24227ea497f2272793bf82c36 \
                    file://vendor/src/github.com/emirpasic/gods/LICENSE;md5=fedf3d71a271b921fbaa2734cfbed74c \
                    file://vendor/src/github.com/stretchr/testify/LICENCE.txt;md5=39cd1d751bc25944831de86496e3cf68 \
                    file://vendor/src/github.com/stretchr/testify/LICENSE;md5=39cd1d751bc25944831de86496e3cf68 \
                    file://vendor/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/LICENSE;md5=8bc888171b6c073957745dfa153bd402 \
                    file://vendor/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/LICENSE.md;md5=21e79cfe7201b9b64535bfae0895795b \
                    file://vendor/src/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/LICENSE;md5=e9a2ebb8de779a07500ddecca806145e \
                    file://vendor/src/github.com/stretchr/objx/LICENSE.md;md5=21e79cfe7201b9b64535bfae0895795b \
                    file://vendor/src/github.com/go-github/LICENSE;md5=1e963b0e87e58eede84916a77106415c \
                    file://vendor/src/github.com/go-github/github/licenses.go;md5=762a27bcda98d46079fd76d79290e44c \
                    file://vendor/src/github.com/go-github/github/licenses_test.go;md5=b66eebb6bd9e0f1ace3a77af0e0ae81d \
                    file://vendor/src/github.com/Microsoft/go-winio/LICENSE;md5=69205ff73858f2c22b2ca135b557e8ef \
                    file://vendor/src/github.com/Microsoft/go-winio/archive/tar/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81 \
                    file://vendor/src/github.com/kevinburke/ssh_config/LICENSE;md5=d95a448ae964e953f0a77aeca12959be \
                    file://vendor/src/github.com/shiena/ansicolor/LICENSE;md5=96be19b8e8e05f32d4916a4c142b1a34 \
                    file://vendor/src/github.com/sergi/go-diff/APACHE-LICENSE-2.0;md5=2ee41112a44fe7014dce33e26468ba93 \
                    file://vendor/src/github.com/sergi/go-diff/LICENSE;md5=16f703825b70b736d741a46be315b0d9 \
                    file://vendor/src/github.com/fsnotify/fsnotify/LICENSE;md5=c38914c9a7ab03bb2b96d4baaee10769 \
                    file://vendor/src/github.com/pmezard/go-difflib/LICENSE;md5=e9a2ebb8de779a07500ddecca806145e \
                    file://vendor/src/github.com/go-git/go-billy/LICENSE;md5=7b6086dcb6977f0ca57a7c47167999e7 \
                    file://vendor/src/github.com/go-git/go-git/LICENSE;md5=cd19105b8dee6a326c424d3112aaedd6 \
                    file://vendor/src/github.com/go-git/gcfg/LICENSE;md5=13cea479df204c85485b5db6eb1bc9d5 \
                    file://vendor/src/github.com/coreos/go-semver/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
                    file://vendor/src/github.com/nightlyone/lockfile/LICENSE;md5=a5e270dce65c71be8721c33b2602e514 \
                    file://vendor/src/github.com/hectane/go-acl/LICENSE.txt;md5=8756710788b01c015748ce43610c9bc9 \
                    file://vendor/src/go.nanomsg.org/mangos/v3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
                    file://vendor/src/gopkg.in/warnings.v0/LICENSE;md5=c6775875c9d604beb22447dfae3d7049 \
                    file://Tools/src/LICENSE;md5=a99d2256512b26ff62aa9a2f16acd1ed \
                    file://Tools/src/insert_license.sh;md5=184f0c8d471a8d19d7b134f3a27d490d"

GO_IMPORT = "github.com/aws/amazon-ssm-agent"
SRC_URI = "git://github.com/aws/amazon-ssm-agent.git;protocol=https;branch=master"

# Modify these as desired
PV = "3.0.0.0+git${SRCPV}"
SRCREV = "a62919edde2dccc0b84044d55d1b863ebc7baf00"

S = "${WORKDIR}/git"

# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
# recipe automatically - you will need to examine the Makefile yourself and ensure
# that the appropriate arguments are passed in.

SYSTEMD_AUTO_ENABLE = "enable"

inherit go systemd

do_compile () {
        # You will almost certainly need to add additional arguments here
        ${GO} build -trimpath -o ${B}/amazon-ssm-agent -v core/agent.go core/agent_unix.go core/agent_parser.go

        ${GO} build -trimpath -o ${B}/ssm-agent-worker -v agent/agent.go agent/agent_unix.go agent/agent_parser.go

        ${GO} build -trimpath -o ${B}/updater -v agent/update/updater/updater.go agent/update/updater/updater_unix.go

        ${GO} build -trimpath -o ${B}/ssm-cli -v agent/cli-main/cli-main.go

        ${GO} build -trimpath -o ${B}/ssm-document-worker -v agent/framework/processor/executer/outofproc/worker/main.go

        ${GO} build -trimpath -o ${B}/ssm-session-logger -v agent/session/logging/main.go

        ${GO} build -trimpath -o ${B}/ssm-session-worker -v agent/framework/processor/executer/outofproc/sessionworker/main.go

        ${GO} build -trimpath -o ${B}/ssm-setup-cli -v agent/setupcli/setupcli.go
}

do_install () {
        # NOTE: unable to determine what to put here - there is a Makefile but no
        # target named "install", so you will need to define this yourself
        install -d ${D}${bindir}/
        install -m 755 amazon-ssm-agent ${D}${bindir}/
        install -m 755 ssm-agent-worker ${D}${bindir}/
        install -m 755 updater ${D}${bindir}/
        install -m 755 ssm-cli ${D}${bindir}/
        install -m 755 ssm-document-worker ${D}${bindir}/
        install -m 755 ssm-session-logger ${D}${bindir}/
        install -m 755 ssm-session-worker ${D}${bindir}/
        install -m 755 ssm-setup-cli ${D}${bindir}/

        install -d ${D}/etc/amazon/ssm
        install -m 644 ${S}/src/${GO_IMPORT}/seelog_unix.xml ${D}/etc/amazon/ssm/seelog.xml
        install -d ${D}${systemd_unitdir}/system/
        install -m 644 ${S}/src/${GO_IMPORT}/packaging/linux/amazon-ssm-agent.service ${D}${systemd_unitdir}/system/amazon-ssm-agent.service
}

FILES_${PN} = " /usr/bin"
INSANE_SKIP:${PN} += "already-stripped"

SYSTEMD_SERVICE:${PN} = "amazon-ssm-agent.service"

The Error

The errors that are show are regarding the Licences and i've pasted a quick snippet below.


ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/go-github/github/licenses.go [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/go-github/github/licenses_test.go [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/Microsoft/go-winio/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/Microsoft/go-winio/archive/tar/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/kevinburke/ssh_config/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/shiena/ansicolor/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/sergi/go-diff/APACHE-LICENSE-2.0 [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/sergi/go-diff/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/fsnotify/fsnotify/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/pmezard/go-difflib/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/go-git/go-billy/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/go-git/go-git/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/go-git/gcfg/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/coreos/go-semver/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/nightlyone/lockfile/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/github.com/hectane/go-acl/LICENSE.txt [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/go.nanomsg.org/mangos/v3/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/vendor/src/gopkg.in/warnings.v0/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/Tools/src/LICENSE [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: QA Issue: amazon-ssm-agent: LIC_FILES_CHKSUM points to an invalid file: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/git/Tools/src/insert_license.sh [license-checksum]
ERROR: amazon-ssm-agent-3.0.0.0+gitAUTOINC+a62919edde-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/ubuntu/workplace/poky/build/tmp/work/corei7-64-poky-linux/amazon-ssm-agent/3.0.0.0+gitAUTOINC+a62919edde-r0/temp/log.do_populate_lic.3057694
ERROR: Task (/home/ubuntu/workplace/poky/meta-ottoman/recipes-core/amazon-ssm-agent/amazon-ssm-agent_3.0.0.bb:do_populate_lic) failed with exit code '1'

Things I've tried

  • bitbake -c clean amazon-ssm-agent
  • bitbake -c cleanall amazon-ssm-agent

Any help is appreciated.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.