Skip to content

Oniro Migration: cp -afl --preserve=xattr failed!

OTE: Running setscene task 178 of 179 (/tmp/workspace.m5ykO2ziqV/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot_setscene)
NOTE: recipe quilt-native-0.67-r0: task do_populate_sysroot_setscene: Started
ERROR: quilt-native-0.67-r0 do_populate_sysroot_setscene: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_populate_sysroot_setscene(d)
     0003:
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/classes/staging.bbclass', lineno: 133, function: do_populate_sysroot_setscene
     0129:do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}"
     0130:do_populate_sysroot[sstate-fixmedir] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}"
     0131:
     0132:python do_populate_sysroot_setscene () {
 *** 0133:    sstate_setscene(d)
     0134:}
     0135:addtask do_populate_sysroot_setscene
     0136:
     0137:def staging_copyfile(c, target, dest, postinsts, seendirs):
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/classes/sstate.bbclass', lineno: 795, function: sstate_setscene
     0791:
     0792:
     0793:def sstate_setscene(d):
     0794:    shared_state = sstate_state_fromvars(d)
 *** 0795:    accelerate = sstate_installpkg(shared_state, d)
     0796:    if not accelerate:
     0797:        msg = "No sstate archive obtainable, will run full task instead."
     0798:        bb.warn(msg)
     0799:        raise bb.BBHandledException(msg)
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/classes/sstate.bbclass', lineno: 395, function: sstate_installpkg
     0391:    for f in (d.getVar('SSTATEPREINSTFUNCS') or '').split() + ['sstate_unpack_package']:
     0392:        # All hooks should run in the SSTATE_INSTDIR
     0393:        bb.build.exec_func(f, d, (sstateinst,))
     0394:
 *** 0395:    return sstate_installpkgdir(ss, d)
     0396:
     0397:def sstate_installpkgdir(ss, d):
     0398:    import oe.path
     0399:    import subprocess
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/classes/sstate.bbclass', lineno: 418, function: sstate_installpkgdir
     0414:
     0415:    for state in ss['dirs']:
     0416:        prepdir(state[1])
     0417:        bb.utils.rename(sstateinst + state[0], state[1])
 *** 0418:    sstate_install(ss, d)
     0419:
     0420:    for plain in ss['plaindirs']:
     0421:        workdir = d.getVar('WORKDIR')
     0422:        sharedworkdir = os.path.join(d.getVar('TMPDIR'), "work-shared")
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/classes/sstate.bbclass', lineno: 343, function: sstate_install
     0339:
     0340:    # Run the actual file install
     0341:    for state in ss['dirs']:
     0342:        if os.path.exists(state[1]):
 *** 0343:            oe.path.copyhardlinktree(state[1], state[2])
     0344:
     0345:    for postinst in (d.getVar('SSTATEPOSTINSTFUNCS') or '').split():
     0346:        # All hooks should run in the SSTATE_INSTDIR
     0347:        bb.build.exec_func(postinst, d, (sstateinst,))
File: '/tmp/workspace.m5ykO2ziqV/oe-core/meta/lib/oe/path.py', lineno: 132, function: copyhardlinktree
     0128:        else:
     0129:            source = src
     0130:            s_dir = os.getcwd()
     0131:        cmd = 'cp -afl --preserve=xattr %s %s' % (source, os.path.realpath(dst))
 *** 0132:        subprocess.check_output(cmd, shell=True, cwd=s_dir, stderr=subprocess.STDOUT)
     0133:    else:
     0134:        copytree(src, dst)
     0135:
     0136:def copyhardlink(src, dst):
File: '/usr/lib/python3.8/subprocess.py', lineno: 415, function: check_output
     0411:        else:
     0412:            empty = b''
     0413:        kwargs['input'] = empty
     0414:
 *** 0415:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0416:               **kwargs).stdout
     0417:
     0418:
     0419:class CompletedProcess(object):
File: '/usr/lib/python3.8/subprocess.py', lineno: 516, function: run
     0512:            # We don't call process.wait() as .__exit__ does that for us.
     0513:            raise
     0514:        retcode = process.poll()
     0515:        if check and retcode:
 *** 0516:            raise CalledProcessError(retcode, process.args,
     0517:                                     output=stdout, stderr=stderr)
     0518:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0519:
     0520:
Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./* /tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native' returned non-zero exit status 1.
Subprocess output:
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/etc/bash_completion.d': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/etc': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/sysroot-providers': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr/share/quilt/scripts': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr/share/quilt/compat': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr/share/quilt': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr/share': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr/bin': Operation not supported
cp: setting attributes for '/tmp/workspace.m5ykO2ziqV/build/tmp/sysroots-components/x86_64/quilt-native/usr': Operation not supported
WARNING: Logfile for failed setscene task is /tmp/workspace.m5ykO2ziqV/build/tmp/work/x86_64-linux/quilt-native/0.67-r0/temp/log.do_populate_sysroot_setscene.812
WARNING: Setscene task (/tmp/workspace.m5ykO2ziqV/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot_setscene) failed with exit code '1' - real task will be run instead