Bug 8048 - python3 modules won't install
Summary: python3 modules won't install
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Alejandro Hernandez
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-24 15:32 UTC by Gary Thomas
Modified: 2015-10-20 12:51 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Thomas 2015-07-24 15:32:13 UTC
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.
Comment 2 Bogdan Alexandru Voiculescu 2015-10-20 12:51:22 UTC
Verified on master e35c404537db0b46047fcb2ee7d3645e3e0935c5:
I have built a qemux86: core-image-sato with: 
conf/local.conf 
IMAGE_FEATURES += " package-management ssh-server-openssh"
CORE_IMAGE_EXTRA_INSTALL += " opkg ssh"
PACKAGE_CLASSES ?= "package_ipk"

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.