Bug 10855

Summary: Missing package in Quick Start Guide for fedora
Product: [Documentation] Quick Start Reporter: brian avery <brian.avery>
Component: quick-startAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact: oscar lopez arandas <oscarx.lopez.arandas>
Severity: normal    
Priority: Medium+ CC: bluelightning, jose.perez.carranza, poky.doc.watcher, poky.watcher, srifenbark
Version: 2.3   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: 20 Feb 2017: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description brian avery 2016-12-24 01:22:42 UTC
on fedora:24
Missing for bitbake to run:
sudo dnf install python cpio file
Comment 1 Scott Rifenbark 2016-12-30 18:57:55 UTC
Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#fedora-packages and let me know what we are missing regarding packages that the host must have.  Note that the section for Fedora (as well as all the distros) is arranged by categories for various packages.  Look them them over and let me know if we are needing something else in "essential", etc.

Thanks, 
Scott
Comment 2 Scott Rifenbark 2017-01-06 15:18:29 UTC
Still need some clarification on the packages per distro to move forward.

Thanks, 
Scott
Comment 3 brian avery 2017-01-09 20:10:29 UTC
Missing:
essential:
file cpio python

esdk:
xz

-----------
Also, for opensuse (I can open a separate bug for that if you want me to):

opensuse
Missing:
essential:
python3 python3-curses tar

esdk:
which

----------
Comment 4 Scott Rifenbark 2017-01-18 21:36:16 UTC
Hi Brian, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#fedora-packages for the Fedora "Essentials" package changes.

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#opensuse-packages for the openSUSE "Essentials" package changes.

Regarding what looks like a proposed new category for the extended SDK (esdk), I did not implement that.  I have some further questions on it.  I was talking with Paul Eggleton and he indicated that those packages would be on most systems.  I don't understand the specifics but enough doubt was raised that I thought it might warrant some extra explanation?

Thanks, 
Scott
Comment 5 Scott Rifenbark 2017-01-18 22:27:18 UTC
Hi, 

After discussing this with Brian a bit he explained (and I think Paul said this also to me) that if you make a bare bones container and install the packages from our list, the extended SDK won't work. Rather than introduce a separate category for packages, I think we could add "xz" and "which" to the existing essentials grouping.

Comments?

Scott
Comment 6 Scott Rifenbark 2017-02-16 19:20:57 UTC
I need some input on this bug.  See Comment 5.  I am setting it to NEEDINFO and putting the new target out to M4 since M3 cutoff is close.  Please look at it and comment on my question.

Thanks, 
Scott
Comment 7 brian avery 2017-02-16 20:13:20 UTC
I concur that adding "xz" and "which" to the existing essentials grouping makes sense.
Comment 8 Scott Rifenbark 2017-02-20 16:05:48 UTC
Thanks Brian for confirming.  See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#required-packages-for-the-host-development-system in the ref-manual and http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html#packages in the Quick Start for the additional packages under each distribution's "Essentials" grouping. 

I am going to mark this bug as RESOLVED and set the doc flag to "done" as the changes are straight forward. 

Scott
Comment 9 oscar lopez arandas 2017-04-12 19:11:04 UTC
On Ubuntu and Debian:

    STEPS:
 $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
   build-essential chrpath socat cpio python python3 python3-pip python3-expect \
     xz which libsdl1.2-dev xterm

    EXPECTED OUTCOME:
install python3 and cpio so the esdk intaller successfully

    ACTUAL OUTCOME:
install python3 and cpio so the esdk intaller successfully
    
NOTES:

oscar@oscar-ThinkPad-T540p:~/10854/build$  sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
> build-essential chrpath socat cpio python python3 python3-pip python3-expect \
> xz which libsdl1.2-dev xterm
Reading package lists... Done
Building dependency tree       
Reading state information... Done