[OE-core] oe-core (master branch) build failed during enable ptest

Rahul Kumar rahulk at mvista.com
Wed Mar 18 09:10:13 UTC 2020


Hi,

I Created OE-Core Standalone Setup.
I am building core-image-minimal with openembedded-core (master branch) ,
bitbake (master branch) and trying to enable ptest for bzip2-ptest.

To enable ptest added below lines in local.conf
DISTRO_FEATURES_append = " ptest"
CORE_IMAGE_EXTRA_INSTALL += "bzip2-ptest"

but I am facing below error.

=========================
ERROR: busybox-1.31.1-r0 do_package: 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:ptest_update_alternatives(d)
     0003:
File: '/opt/opensource/openembedded-core.git/meta/classes/ptest.bbclass',
lineno: 98, function: ptest_update_alternatives
     0094:        for alt_name, alt_link, alt_target, _ in alternatives:
     0095:            # Some alternatives are for man pages,
     0096:            # check if the alternative is in PATH
     0097:            if os.path.dirname(alt_link) in bin_paths:
 *** 0098:                os.symlink(alt_target, os.path.join(ptest_bindir,
alt_name))
     0099:}
     0100:
     0101:do_configure_ptest_base[dirs] = "${B}"
     0102:do_compile_ptest_base[dirs] = "${B}"
Exception: FileExistsError: [Errno 17] File exists: '/bin/busybox.suid' ->
'/opt/opensource/openembedded-core.git/build-master/tmp-glibc/work/core2-64-oe-linux/busybox/1.31.1-r0/package/usr/lib/busybox/ptest/bin/login'

ERROR: Logfile of failure stored in:
/opt/opensource/openembedded-core.git/build-master/tmp-glibc/work/core2-64-oe-linux/busybox/1.31.1-r0/temp/log.do_package.16217
ERROR: Task
(/opt/opensource/openembedded-core.git/meta/recipes-core/busybox/busybox_1.31.1.bb:do_package)
failed with exit code '1'
================================

Can group member please provide any pointers on this issue.

*Thanks & Regards,*
Rahul Kumar
Software Engineer,Linux Solutions Engineering
Group,Montavista Software LLC
Email Id: rahulk at mvista.com
<https://plus.google.com/+CodeTwoSoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200318/58197bb4/attachment.html>


More information about the Openembedded-core mailing list