<?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>9983</bug_id>
          
          <creation_ts>2016-07-19 19:42:21 +0000</creation_ts>
          <short_desc>host-user-contaminated, invalid-chars, and invalid-packageconfig are missing from &apos;7.62. insane.bbclass&apos;</short_desc>
          <delta_ts>2016-07-19 21:18:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>2.2</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>19 July 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64194</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-19 19:42:21 +0000</bug_when>
    <thetext>Here&apos;s some suggested descriptions. I checked the implementations in
insane.bbclass.

 * host-user-contaminated: Checks that no package produced by the
   recipe contains any files outside of /home with a user or group ID that
   matches the user running BitBake. A match usually indicates that the files
   are being installed with an incorrect UID/GID, since target IDs are
   independent from host IDs. See also the description of the
   (do_install)[http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#ref-tasks-install]
   task.

 * invalid-chars: Checks that the recipe metadata variables DESCRIPTION, SUMMARY,
   LICENSE, and SECTION do not contain non-UTF-8 characters. Some package
   managers do not support such characters.

 * invalid-packageconfig: Checks that no undefined features are being added to
   PACKAGECONFIG, i.e. any name &quot;foo&quot; for which there is no

     PACKACONFIG[foo] = &quot;...&quot;

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64195</commentid>
    <comment_count>1</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-19 19:44:30 +0000</bug_when>
    <thetext>Ops... typo.

  PACKACONFIG[foo] = &quot;...&quot;

should have been

  PACKAGECONFIG[foo] = &quot;...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64198</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-19 20:54:09 +0000</bug_when>
    <thetext>Hi Ulf, 

Added host-user-contaminated.  Also, put a link from the do_install task description back into the insane.bbclass seciton since that host-user-contaminated is referenced there as well - http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#ref-tasks-install

Added both invalid-chars and invalid-packageconfig to the list as well.  See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#ref-classes-insane for these and the previous.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64200</commentid>
    <comment_count>3</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-19 21:07:16 +0000</bug_when>
    <thetext>Looks like there&apos;s an extra comma in &quot;...and SECTION, do not...&quot; in the description of invalid-chars. Looks fine to me otherwise.

Thanks,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64201</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-07-19 21:18:11 +0000</bug_when>
    <thetext>Yep - that is what cutting and pasting long cross-reference code links will do to you :)

Fixed - http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#ref-classes-insane

I am closing up the bug.

Thanks, 
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>