[oe] openssh-dev package and populate_sdk conflicts

Khem Raj raj.khem at gmail.com
Fri Sep 24 14:29:26 AEST 2021



On 9/23/21 20:08, Matt Johnston wrote:
> Hi OE list,
> 
> Recently OpenBMC merged a change to install openssh-sftp-server package
> alongside dropbear sshd [1]. That caused a conflict in "populate_sdk" which
> installs all available -dev packages [2]. 'openssh-dev' pulls in an
> 'openssh' -> 'openssh-sshd' dependency which conflicts with 'dropbear' [3].
> 
> What would be the recommended way to handle that situation? For now OpenBMC
> has merged a change to disable building openssh-dev (it's empty since
> openssh doesn't have libraries) [4].
> 
> Should non-library packages handle -dev packages differently? The default
> -dev package comes from bitbake.conf .
> 

perhaps set

RDEPENDS:${PN}-dev = ""

in openssh

> Cheers,
> Matt
> 
> [1]
> https://github.com/openbmc/openbmc/commit/26dbcdbd917e4f22fb400153da0d3e7255c8e646
> [2]
> https://github.com/openbmc/openbmc/blob/49465582e16221caf74cbdea11c87600a02bf47b/poky/meta/classes/populate_sdk_base.bbclass#L5
> 
> [3] https://github.com/openbmc/openbmc/issues/3819
>   *   - package openssh-8.7p1-r0.arm1176jzs conflicts with dropbear provided
> by dropbear-2020.81-r0.arm1176jzs
>   *   - package openssh-dev-8.7p1-r0.arm1176jzs requires openssh = 8.7p1-r0,
> but none of the providers can be installed
> 
> [4] https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/47089
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93114): https://lists.openembedded.org/g/openembedded-devel/message/93114
> Mute This Topic: https://lists.openembedded.org/mt/85831414/1997914
> Group Owner: openembedded-devel+owner at lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem at gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


More information about the openbmc mailing list