DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing shell function do_packagedata
DEBUG: Shell function do_packagedata finished
DEBUG: Executing python function sstate_task_postfunc
NOTE: Using umask 0o002 (not 22) for sstate packaging
DEBUG: Preparing tree TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/pkgdata for packaging at TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/sstate-build-packagedata/pkgdata
DEBUG: Executing python function sstate_hardcode_path
NOTE: Removing hardcoded paths from sstate package: 'find TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/sstate-build-packagedata/ \( -name "*.la" -o -name "*-config" -o -name "*_config" -o -name "postinst-*" \) -type f | xargs grep -l -e 'TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/recipe-sysroot' -e 'TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/recipe-sysroot-native' -e 'TOPDIR/build/tmpfs/hosttools' | tee TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/sstate-build-packagedata/fixmepath | xargs --no-run-if-empty sed -i -e 's:TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/recipe-sysroot:FIXMESTAGINGDIRTARGET:g' -e 's:TOPDIR/build/tmpfs/hosttools:FIXME_HOSTTOOLS_DIR:g''
DEBUG: Python function sstate_hardcode_path finished
DEBUG: Executing shell function sstate_create_package
DEBUG: Shell function sstate_create_package finished
DEBUG: Executing python function sstate_sign_package
DEBUG: Python function sstate_sign_package finished
DEBUG: Executing python function sstate_hardcode_path_unpack
DEBUG: Python function sstate_hardcode_path_unpack finished
DEBUG: Executing python function buildhistory_emit_outputsigs
DEBUG: Python function buildhistory_emit_outputsigs finished
DEBUG: Executing python function uninative_changeinterp
DEBUG: Python function uninative_changeinterp finished
DEBUG: Staging files from TOPDIR/build/tmpfs/work/aarch64-yoe-linux/freerdp/2.0.0+gitrAUTOINC+1648deb435-r0/pkgdata to TOPDIR/build/tmpfs/pkgdata/qemuarm64
DEBUG: Executing python function buildhistory_emit_pkghistory
DEBUG: Writing recipe history
ERROR: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:buildhistory_emit_pkghistory(d)
     0003:
File: 'TOPDIR/sources/openembedded-core/meta/classes/buildhistory.bbclass', lineno: 262, function: buildhistory_emit_pkghistory
     0258:        if lastversion:
     0259:            last_pkge = lastversion.pkge
     0260:            last_pkgv = lastversion.pkgv
     0261:            last_pkgr = lastversion.pkgr
 *** 0262:            r = bb.utils.vercmp((pkge, pkgv, pkgr), (last_pkge, last_pkgv, last_pkgr))
     0263:            if r < 0:
     0264:                msg = "Package version for package %s went backwards which would break package feeds from (%s:%s-%s to %s:%s-%s)" % (pkg, last_pkge, last_pkgv, last_pkgr, pkge, pkgv, pkgr)
     0265:                package_qa_handle_error("version-going-backwards", msg, d)
     0266:
File: 'TOPDIR/sources/bitbake/lib/bb/utils.py', lineno: 135, function: vercmp
     0131:    (eb, vb, rb) = tb
     0132:
     0133:    r = int(ea or 0) - int(eb or 0)
     0134:    if (r == 0):
 *** 0135:        r = vercmp_part(va, vb)
     0136:    if (r == 0):
     0137:        r = vercmp_part(ra, rb)
     0138:    return r
     0139:
File: 'TOPDIR/sources/bitbake/lib/bb/utils.py', lineno: 124, function: vercmp_part
     0120:        if oa < ob:
     0121:            return -1
     0122:        elif oa > ob:
     0123:            return 1
 *** 0124:        elif ca < cb:
     0125:            return -1
     0126:        elif ca > cb:
     0127:            return 1
     0128:
Exception: TypeError: '<' not supported between instances of 'int' and 'NoneType'

DEBUG: Python function buildhistory_emit_pkghistory finished
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: buildhistory_emit_pkghistory

Error details

Submitted on:
02/12/18 08:17
Error type:
Recipe
Task:
do_packagedata
Recipe:
freerdp
Recipe version:
2.0.0+gitrAUTOINC+1648deb435-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
x86_64-linux
Target system:
aarch64-yoe-linux
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
16e40dddf9c84386f2e4edafcce229e81d09b907
Build:
#72645
Submitter:
jenkins@abaco
Similar errors:
0
Open a bug