| Summary: | packagegroup-core-tools-debug has hard dependency on openssh-sftp-server | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | tf <tf+bugs.yocto> |
| Component: | core | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Medium | CC: | jessica.zhang, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
tf
2012-10-09 06:50:01 UTC
Sorry, I obviously meant it's not possible to select tools-debug for images using dropbear. Based on initial investigation by Paul and myself, we could not directly reproduce this issue, it could be a host issue. More details about packaging system used, what the actual failure mode is. I attempted both a RPM and ipk installation and was able to login to both dropbear ssh and sftp with no root password. I happened to build a qemumips, just because that what I had available. If you could provide more data that would be very helpful. I am going to downgrade this to just medium based on the current non-reproducibility. The packaging system is ipkg, and you need to select ssh-server-dropbear, dbg-pkgs and tools-debug image features. The problem is quite simple: open-sftp-server dbg symbols are in openssh-dbg which depends on openssh which conflicts with dropbear, so you get rootfs-time failure: Collected errors: * check_conflicts_for: The following packages conflict with openssh: * check_conflicts_for: dropbear * * opkg_install_cmd: Cannot install package openssh-dbg. The easiest fix is to remove open-sftp-server from packagegroup-core-tools-debug, this addition is a new feature in Danny, so it will not be much missed. Ah, so the crucial bit we were missing was dbg-pkgs, which triggers openssh-dbg to be installed since openssh-sftp-server is installed, and openssh-dbg by default depends on the openssh package, which conflicts with dropbear. I'm not sure what the correct solution is here but somehow the dependency chain needs to be broken. Bug #2605 was how openssh-sftp-server got added to packagegroup-tools-debug; it looks like it was added to support tcf-agent which in turn is there to support Eclipse. One solution would be to move tcf-agent and anything else that is specifically there for Eclipse support to a separate packagegroup that is actually marked as being for Eclipse (e.g. has eclipse in the name) since not everyone needs it. Perhaps I might be better to fix the openssh packaging and add open-sftp-server-dbg instead of bundling it all together? I've posted some RFC patches but I would really like feedback from Jessica (and anyone else who makes use of the tools-debug packagegroup) before they are proposed for merging: http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/037205.html http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/037206.html Paul, The package group breakup looks reasonable to me. Thanks, Jessica Thanks! Patches merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e95ccb7d57b1a2a1cd5cdeb2871c0a0cd334d33e http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1eb2b3dd6363516ffc1ddc4db4af2c2f5dd595cd Also dropped rsync from packagegroup-tools-debug at the same time (since it was added for Anjuta and is already handled elsewhere): http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=131b66802eea49011ac25d022460ef83dbe86239 |