Bug 5057

Summary: Conflict when building SDK for image containing dropbear and openssh-sftp-server
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ilovetogetspamed <ilovetogetspamed>
Component: devtools / tool chainAssignee: Mingli Yu <mingli.yu>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, randy.macleod
Version: 1.4.1   
Target Milestone: 2.7 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
log.do_populate_sdk none

Description Ilovetogetspamed 2013-08-27 19:32:59 UTC
Created attachment 1444 [details]
log.do_populate_sdk

results of command:
...
Collected errors:

    check_conflicts_for: The following packages conflict with openssh:
    check_conflicts_for: dropbear *
    opkg_install_cmd: Cannot install package openssh-dev.
    check_conflicts_for: The following packages conflict with openssh:
    check_conflicts_for: dropbear *
    opkg_install_cmd: Cannot install package openssh-dbg. DEBUG: Python function do_populate_sdk finished ERROR: Function failed: populate_sdk_image (see /media/toshiba-usb3/work/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/console-image/1.0-r0/temp/log.do_populate_sdk.3657 for further information)

````````````````````````````````````````````
my PC is Ubuntu 12.04.2
my Target is ARM/Beaglebone Black
I used http://www.angstrom-distribution.org/building-angstrom for documentation.
I used the https://github.com/angstrom-distribution/setup-scripts angstrom-v2013_06-yocto1.4 git branch for source code.
Comment 1 Saul Wold 2013-08-29 14:53:15 UTC
This is similar to 3749.

A possible workaround is to use openssh instead of dropbear.
Comment 2 Ilovetogetspamed 2013-08-29 18:09:52 UTC
i got around this by adding TASK_BASIC_SSHDAEMON = "openssh openssh-sftp openssh-sftp-server" to my local.conf file.
Comment 3 Mingli Yu 2018-11-15 08:05:40 UTC
Ilovetogetspamed, is this still a issue now?
Comment 4 Mingli Yu 2018-12-13 02:45:57 UTC
It works well as below:
$ mkdir -p /build/yocto
$ cd /build/yocto
$ git clone  git://git.yoctoproject.org/poky
$ git clone git://git.openembedded.org/openembedded-core
$ git clone git://git.openembedded.org/meta-openembedded
$ cd /build/yocto/poky
$ . oe-init-build-env build
$ bitbake core-image-minimal -c populate_sdk
$ bitbake core-image-sato -c populate_sdk