Bug 5057 - Conflict when building SDK for image containing dropbear and openssh-sftp-server
Summary: Conflict when building SDK for image containing dropbear and openssh-sftp-server
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.4.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.7 M2
Assignee: Mingli Yu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-27 19:32 UTC by Ilovetogetspamed
Modified: 2018-12-13 02:45 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
log.do_populate_sdk (409.50 KB, application/octet-stream)
2013-08-27 19:32 UTC, Ilovetogetspamed
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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