<?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>4949</bug_id>
          
          <creation_ts>2013-07-29 14:38:45 +0000</creation_ts>
          <short_desc>core-image-basic outputs that PAM might not work correctly</short_desc>
          <delta_ts>2014-03-31 07:19:25 +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>configuration</component>
          <version>1.6</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>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Iorga">cristian.iorga</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>razvanx.ionescu</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>35112</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-07-29 14:38:45 +0000</bug_when>
    <thetext>Test case:
bitbake core-image-basic

Warning:
Building libpam but &apos;pam&apos; isn&apos;t in DISTRO_FEATURES, PAM won&apos;t work correctly

Output:
ubik@sentry:/mnt/Yo/yoctoproject/build$ MACHINE=qemumips bitbake core-image-basic
Parsing recipes: 100% |######################################################################################################################################################################| ETA:  00:00:00
Parsing of 848 .bb files complete (0 cached, 848 parsed). 1175 targets, 53 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = &quot;1.19.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-13.04&quot;
TARGET_SYS        = &quot;mips-poky-linux&quot;
MACHINE           = &quot;qemumips&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.4+snapshot-20130729&quot;
TUNE_FEATURES     = &quot;o32 bigendian fpu-hard mips32&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    
meta-hob          = &quot;PUs:a67adcec5e8a6e900f91a46e0cbfe0ca20358305&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Building libpam but &apos;pam&apos; isn&apos;t in DISTRO_FEATURES, PAM won&apos;t work correctly
NOTE: Tasks Summary: Attempted 3134 tasks of which 2510 didn&apos;t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35113</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-07-29 14:39:36 +0000</bug_when>
    <thetext>poky version: master commit 67864ca79da08df752487a3a4e1a975546da123d.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35116</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-07-29 14:53:57 +0000</bug_when>
    <thetext>On a initial investigation seems that:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b5c49e6032a05f1c452010010f97b81d9100196f is related.
Reverting this patch makes the issue go away.
I might be wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35243</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-01 06:29:14 +0000</bug_when>
    <thetext>Something in core-image-basic is requiring PAM when pam is disabled, pam is only enabled for LSB based builds, so using bitbake -g -u depexp might show what is depending on pam and this should be setup to use PACKAGECONFIG</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35475</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-07 21:32:38 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1cf75b5fd35026f90fb606897d4cb902ff0d960c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35476</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-07 22:26:25 +0000</bug_when>
    <thetext>See prior comment for commit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37732</commentid>
    <comment_count>6</comment_count>
    <who name="Razvan Ionescu">razvanx.ionescu</who>
    <bug_when>2013-10-08 09:44:26 +0000</bug_when>
    <thetext>I can reproduce the bug using: poky: 1cf75b5fd35026f90fb606897d4cb902ff0d960c .
Also, the command bitbake -g -u depexp returns an error stating: NameError: global name &apos;logger&apos; is not defined

It is hapenning also on a newer poky, such as: dora:a02280f99f05b1c21de2a78de9222a2f62a0dabc (1.5 M5 RC6).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37954</commentid>
    <comment_count>7</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-10-15 22:22:57 +0000</bug_when>
    <thetext>I see what happened, I already had a libpam built so it did not warn me on 
subsequent runs.  If I cleansstate between runs I found the issue again, turns 
out libuser has a hard depenedency on libpam, so I have a fix for that now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38834</commentid>
    <comment_count>8</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-11-15 18:41:35 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=99d33f27781a7780ae3ec55ece7e6160c33f1ece</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41608</commentid>
    <comment_count>9</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-03-24 09:20:19 +0000</bug_when>
    <thetext>Reopened the issue, issue is still reproducible while building a core-image-lsb:

bitbake core-image-lsb
Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
Loaded 1216 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.21.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-13.10&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20140324&quot;
TUNE_FEATURES     = &quot;m64 core2&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;YB5795:24979a1f7ecc155cf36f61ffb2d2a32c2fb64734&quot;

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Building libpam but &apos;pam&apos; isn&apos;t in DISTRO_FEATURES, PAM won&apos;t work correctly

Present in: 
poky master HEAD: commit 24979a1f7ecc155cf36f61ffb2d2a32c2fb64734.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41936</commentid>
    <comment_count>10</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-03-31 07:19:25 +0000</bug_when>
    <thetext>My re-open of the issue was a mistake, because building a proper core-image-lsb requires setting accordingly the distro, which in case of core-image-lsb is:
DISTRO = &quot;poky-lsb&quot;
I didn&apos;t do that config, as such I received the proper warning:
&quot;WARNING: Building libpam but &apos;pam&apos; isn&apos;t in DISTRO_FEATURES, PAM won&apos;t work correctly&quot;.
Which is correct.

Regards,
Cristian</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>