<?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>8048</bug_id>
          
          <creation_ts>2015-07-24 15:32:13 +0000</creation_ts>
          <short_desc>python3 modules won&apos;t install</short_desc>
          <delta_ts>2015-10-20 12:51:22 +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>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52589</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2015-07-24 15:32:13 +0000</bug_when>
    <thetext>Built using Poky/Yocto master:901be2cb69892595443ed41ab4be285932db15eb

On build system:
  % bitbake python3; bitbake package-index

On target:
  # opkg install python3-modules
  Installing python3-modules (3.4.3-r1.0.0) on root.
  Downloading http://192.168.1.116/teton-p0382-feeds/cortexa9hf-vfp-neon/python3-modules_3.4.3-r1.0.0_cortexa9hf-vfp-neon..
  Collected errors:
   * satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-modules:
   *      python3-gdbm *  python3-robotparser * 
   * opkg_install_cmd: Cannot install package python3-modules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52790</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2015-08-03 15:58:33 +0000</bug_when>
    <thetext>Fixed here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0b69680a3385aeac76311ba4301fd5149dc2c1ad</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55491</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-20 12:51:22 +0000</bug_when>
    <thetext>Verified on master e35c404537db0b46047fcb2ee7d3645e3e0935c5:
I have built a qemux86: core-image-sato with: 
conf/local.conf 
IMAGE_FEATURES += &quot; package-management ssh-server-openssh&quot;
CORE_IMAGE_EXTRA_INSTALL += &quot; opkg ssh&quot;
PACKAGE_CLASSES ?= &quot;package_ipk&quot;

Run: 
bitbake python3; bitbake package-index

Setup package feeds: 
Install webserver (if is the case)
sudo apt-get install nginx

Setup webserver:
sudo vi /etc/nginx/sites-available/i586
Replace TMPDIR with your tmpdir
server {
    listen 80 default_server;

    # set root to $(TMPDIR)/deploy/ipk/
    root $(TMPDIR)/deploy/ipk/;

    autoindex on;
}
Remove the nginx default enabled site
sudo rm /etc/nginx/sites-enabled/default

Enable the new i586-repo site

sudo ln -s /etc/nginx/sites-available/dart-repo /etc/nginx/sites-enabled/i586-repo

Restart the server

sudo /etc/init.d/nginx restart

Boot qemu: runqemu qemux86 


On target - qemu: 

Setup opkg: the opkg configuration file is /etc/opkg/opkg.conf.

Edit the opkg.conf and add these lines

src/gz all http://$YOUR_IP/all
src/gz qemux86 http://$YOUR_IP/qemux86
src/gz i586 http://$YOUR_IP/i586

dest root /
lists_dir ext /var/lib/opkg

Run an opkg update.

Run opkg install python3-modules

No errors should appear and python should be successful installed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>