From: Martin Jansa <martin.jansa@gmail.com>
To: "Belal, Awais" <Awais_Belal@mentor.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: Issue with debian packaging - packagegroup-core-x11
Date: Tue, 18 Aug 2015 09:56:43 +0200 [thread overview]
Message-ID: <20150818075643.GB2458@jama> (raw)
In-Reply-To: <2021B186DC632746BD5A3CE32F12BD28FAB93191@EU-MBX-03.mgc.mentorg.com>
[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]
On Fri, Aug 07, 2015 at 02:08:48PM +0000, Belal, Awais wrote:
> Hi guys,
>
> I have run into a do_rootfs failure which is only evident when debian packaging is used. The issue roots up due to incompatibility of xserver-nodm-init between oe-core and meta-oe. I see that it has been discussed quite a few times. It also seems that debian packaging (apt-get I believe) is unable to handle the package dependencies accurately in this case. The dependency chain (when both oe-core and meta-oe are used) is as follows:
>
> packagegroup-core-x11-utils ---> x11-common
> \
> \--> xserver-nodm-init --> xserver-common
>
> x11-common does not get installed because xserver-common conflicts and replaces it. But then installation of packagegroup-core-x11-utils fails because it does not see x11-common installed. This failure, as said earlier, is only visible with debian packaging hence I believe it is either a bug in packaging or it simply does not support such a case. I tested this more generically by creating two empty packages 'a' and 'b', where 'b' RCONFLICTS and RREPLACES 'a'. If I add both these packages to my image's RDEPENDS the do_rootfs fails with same error. I am not very familiar with debian packaging hence I cannot comment whether this is a fault from package manager or the recipe (xserver-common) so I though it best to ask here.
> Doing an RPROVIDES_${PN} = "x11-common" in xserver-common fixes the issue but fires up:
> NOTE: multiple providers are available for runtime x11-common (x11-common, xserver-common)
> NOTE: consider defining a PREFERRED_PROVIDER entry to match x11-common
>
> Any pointers will be highly appreciated!
Set VIRTUAL-RUNTIME_xserver_common = "xserver-common" in your DISTRO.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
prev parent reply other threads:[~2015-08-18 7:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 14:08 Issue with debian packaging - packagegroup-core-x11 Belal, Awais
2015-08-18 7:56 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150818075643.GB2458@jama \
--to=martin.jansa@gmail.com \
--cc=Awais_Belal@mentor.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox