<?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>8696</bug_id>
          
          <creation_ts>2015-11-17 14:34:29 +0000</creation_ts>
          <short_desc>Quick Start - Build Host Packages suggests dnf on CentOS</short_desc>
          <delta_ts>2015-11-18 16:18:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Quick Start</product>
          <component>quick-start</component>
          <version>2.0</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>18 Nov 2015: FIXED/RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>benjamin.esquivel</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>56530</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-17 14:34:29 +0000</bug_when>
    <thetext>In the Build Host Packages section of the Quick Start guide the CentOS instructions suggest using dnf but that&apos;s not available on a machine I just set up with the latest CentOS 7.

This should be changed to yum, i.e.


     $ sudo dnf install gawk make wget tar bzip2 gzip python unzip perl patch \
     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat SDL-devel xterm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56531</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-17 14:35:07 +0000</bug_when>
    <thetext>Didn&apos;t actually edit the command I pasted, apologies.

I used the following command to set up my system for YP:

     $ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat SDL-devel xterm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56534</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-11-17 15:11:46 +0000</bug_when>
    <thetext>Benjamin,

I added you to this bug as I think it was you that told me we should switch to using &apos;dnf&apos; to install packages for CentOS. Right now the section in the QS is http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html#packages.  I have a note regarding CentOS 6.x users but nothing that indicates the possibility of the host machine not having dnf.  Are there CentOS versions that don&apos;t have this?  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56562</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-17 21:07:28 +0000</bug_when>
    <thetext>Note: the perl packages in the Fedora Build Host Packages section are equally valid for CentOS. Without perl-Thread-queue installed I was unable to build automake-native.

Latest suggested command for CentOS:

     $ sudo dnf install gawk make wget tar bzip2 gzip python unzip perl patch \
     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
     SDL-devel xterm perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56565</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-11-17 23:00:02 +0000</bug_when>
    <thetext>Hi Joshua, in your last comment you posted a &apos;dnf&apos; command, I assume you wanted to post a &apos;yum&apos; command?

Scott, indeed Centos 7 and RHEL 7 seem to have not caught the dnf replacing yum, like Fedora did, apologies for that.

This is a bug effectively</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56568</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-18 09:15:49 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Hi Joshua, in your last comment you posted a &apos;dnf&apos; command, I assume you
&gt; wanted to post a &apos;yum&apos; command?

Yes, apologies - I made the same copy/paste error again.


     $ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
     SDL-devel xterm perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56583</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-11-18 14:40:49 +0000</bug_when>
    <thetext>Hi, 

I have a question on this change.  First - I will replace &apos;dnf&apos; with &apos;yum&apos; for CentOS.  Second - There are some extra packages that appear in Joshua&apos;s Comment 3.  They are &apos;perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue&apos;.  If you look at the section in the ref-manual (http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#centos-packages) you will see some categories for packages.  We have added an extra one for 2.0 called &quot;Graphical and Eclipse Plug-in Extras&quot;, which have the &apos;SDL-devel xterm&apos; packages.  What category would the &apos;perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue&apos; packages fall under?  I am guessing in the &quot;Essentials&quot; area since that is where Fedora has them listed.  Is that correct?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56584</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-18 14:44:54 +0000</bug_when>
    <thetext>Hi Scott,

(In reply to comment #6)
&gt; Hi, 
&gt; 
&gt; I have a question on this change.  First - I will replace &apos;dnf&apos; with &apos;yum&apos;
&gt; for CentOS.  Second - There are some extra packages that appear in Joshua&apos;s
&gt; Comment 3.  They are &apos;perl-Data-Dumper perl-Text-ParseWords
&gt; perl-Thread-Queue&apos;.  If you look at the section in the ref-manual
&gt; (http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#centos-
&gt; packages) you will see some categories for packages.  We have added an extra
&gt; one for 2.0 called &quot;Graphical and Eclipse Plug-in Extras&quot;, which have the
&gt; &apos;SDL-devel xterm&apos; packages.  What category would the &apos;perl-Data-Dumper
&gt; perl-Text-ParseWords perl-Thread-Queue&apos; packages fall under?  I am guessing
&gt; in the &quot;Essentials&quot; area since that is where Fedora has them listed.  Is
&gt; that correct?


That is correct.

Interestingly enough I was looking at the quick start and hadn&apos;t noticed this section of the reference manual - as there is similar information in two places it would be good if it could be unified (and ideally only edited in a single place).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56587</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-11-18 15:21:02 +0000</bug_when>
    <thetext>Joshua, 

I think I have these sections in the manuals synced up now.  Both Fedora and CentOS are very similar.  I am now using &apos;yum&apos; in the CentOS section.  While working on this I noticed a slight inconsistency in the Fedora section.  I had the &apos;perl-Thread-Queue&apos; package listed in both the Essentials and the Graphical and Eclipse Plug-in Extras section.  I assumed that it should go in the Essentials sub-section only so I got rid of the redundant entry in the other section for Fedora. 

Please look over the following sections and let me know if this is all okay:

http://www.yoctoproject.org/docs/2.0/yocto-project-qs/yocto-project-qs.html#packages - for the QS 

http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#centos-packages - For the ref-manual. 

Here is the section for the slight change for Fedora in the ref-manual - http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html#fedora-packages

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56588</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2015-11-18 15:43:12 +0000</bug_when>
    <thetext>Hi Scott,

These changes look good to me.

Thanks,

Joshua</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56593</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-11-18 16:18:42 +0000</bug_when>
    <thetext>The additions have been reviewed and approved by Joshua.  I have marked the doc flag to &quot;done&quot; and set the status to RESOLVED/FIXED.

Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>