<?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>4803</bug_id>
          
          <creation_ts>2013-07-02 19:18:51 +0000</creation_ts>
          <short_desc>systemd.class does not handle multilib well when package has multiple services</short_desc>
          <delta_ts>2013-09-11 11:40:58 +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>unspecified</version>
          <rep_platform>Other</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>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34284</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-07-02 19:18:51 +0000</bug_when>
    <thetext>I was building a multilib system with systemd enabled and found that avahi is 
reporting 
installed / not shipped issues with /lib/systemd.  I tracked this down to the 
systemd.bbclass
spliting and matching on SYSTEMD_SERVICE and SYSTEM_PACKAGES.

When I ran bitbake with -e, I got the following:

env:# $SYSTEMD_SERVICE_avahi-dnsconfd
env:SYSTEMD_SERVICE_avahi-dnsconfd=&quot;avahi-dnsconfd.service&quot;
env:# $SYSTEMD_PACKAGES [2 operations]
env:SYSTEMD_PACKAGES=&quot;lib64-avahi-daemon lib64-avahi-dnsconfd&quot;
env:# $SYSTEMD_SERVICE_avahi-daemon
env:SYSTEMD_SERVICE_avahi-daemon=&quot;avahi-daemon.service&quot;

Seems the SYSTEMD_PACKAGES has lib64- while the _SERVER is from
the recipe (ie not autogenerated from systemd.bbclass)

When there is only one PACKAGE/SERVICE then systemd.bbclass auto
generates the values and they look correct and both have the lib64- 
prefix

env.ssh:# $SYSTEMD_PACKAGES
env.ssh:SYSTEMD_PACKAGES=&quot;lib64-openssh&quot;
env.ssh:# $SYSTEMD_SERVICE_${PN} [2 operations]
env.ssh:#     &quot;SYSTEMD_SERVICE_lib64-openssh&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34315</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-07-03 16:15:00 +0000</bug_when>
    <thetext>I reviewed that class, so I&apos;ll take this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36429</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-09 16:16:32 +0000</bug_when>
    <thetext>&quot;[PATCH] avahi: use correct names in SYSTEMD_SERVICE_* variables&quot; sent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36532</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-09-11 11:40:58 +0000</bug_when>
    <thetext>Fixed in oe-core 013cc8b6397c29e8f0d7adf63d8e06caab778da2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>