<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8398</bug_id>
          
          <creation_ts>2015-09-25 15:23:39 +0000</creation_ts>
          <short_desc>Want to unbreak systemd &lt;=&gt; dbus circular DEPENDS but unable to for a DISTRO which includes ptest</short_desc>
          <delta_ts>2016-02-09 10:16:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54677</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-09-25 15:23:39 +0000</bug_when>
    <thetext>I&apos;m trying to break the systemd&lt;=&gt;dbus circular dependency in order to be able to build dbus with systemd support (with the end goal of using systemd user sessions in the distro I&apos;m working on).

With systemd &gt; 222 systemd only needs dbus to build some tests, therefore we can remove dbus from the systemd DEPENDS and pass --disable-dbus without any loss of functionality in systemd (we&apos;re doing this with a PACKAGECONFIG).

In the non-ptest case this breaks the circular systemd&lt;=&gt;dbus dependency and enables us to have dbus DEPENDS on systemd and make use of --enable-systemd.

However with ptest in DISTRO_FEATURES glib-2.0 gains a dbus DEPENDS which creates a circular dependency because systemd DEPENDS on glib-2.0 which DEPENDS on dbus which DEPENDS on systemd.

I&apos;m working around this by using a glib-2.0_%.bbappend file to remove dbus DEPENDS and disable ptest for that recipe, but this is less than ideal.

What I&apos;d really like to do is come up with a clean way to break this circular dependency in the core metadata so that we can provide systemd support in dbus as a PACKAGECONFIG for more folks to make use of. Unfortunately I haven&apos;t yet come up with a clean way to implement this, hence this bug report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54680</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-09-25 15:45:39 +0000</bug_when>
    <thetext>As discussed on IRC it&apos;s likely that the glib dependency in systemd can be removed now, which should solve this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54681</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-09-25 15:52:41 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; As discussed on IRC it&apos;s likely that the glib dependency in systemd can be
&gt; removed now, which should solve this.

I shall prepare &amp; test a patch for this on Wednesday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54906</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-01 16:48:04 +0000</bug_when>
    <thetext>*Cough*.

Patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55189</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-12 14:58:26 +0000</bug_when>
    <thetext>Fixed in oe-core 5e124c2ad5d961cdab954ab054f9ae7718ab1b55 (in jethro).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>