Bug 3014 - Bug while installing packages which inherit setuptools.bbclass
Summary: Bug while installing packages which inherit setuptools.bbclass
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-24 20:18 UTC by Andrei Gherzan
Modified: 2012-08-24 20:58 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Gherzan 2012-08-24 20:18:52 UTC
agherzan@otp-agherzan-l1:~/work/personal/yocto/2012-08-23-rpi$ bitbake python-argparse 
Loading cache: 100% |#################################################################################################################################################################| ETA:  00:00:00
Loaded 1129 entries from dependency cache.

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "raspberrypi"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120824"
TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
TARGET_FPU        = "vfp"
meta              
meta-yocto        = "ag/master:054d95edad8d79ef1c6b30681395d50f3c6335b4"
meta-raspberrypi  = "review:3725f04e066e4f1d9afd1cf065f635dcda54715a"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: QA Issue: python-argparse: Files/directories were installed but not shipped
  /home
  /home/agherzan
  /home/agherzan/work
  /home/agherzan/work/personal
  /home/agherzan/work/personal/yocto
  /home/agherzan/work/personal/yocto/2012-08-23-rpi
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse.pyo
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse.py
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse-1.2.1-py2.7.egg-info
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse-1.2.1-py2.7.egg-info/top_level.txt
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse-1.2.1-py2.7.egg-info/PKG-INFO
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse-1.2.1-py2.7.egg-info/SOURCES.txt
  /home/agherzan/work/personal/yocto/2012-08-23-rpi/tmp/work/armv6-vfp-poky-linux-gnueabi/python-argparse-1.2.1-r2/image/usr/lib/python2.7/argparse-1.2.1-py2.7.egg-info/dependency_links.txt
NOTE: Tasks Summary: Attempted 991 tasks of which 984 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.


This is because of these 2 commits:
commit c7cfe7759e4816d870595e901496ae53e0452726
Author: Matthew McClintock <msm@freescale.com>
Date:   Tue Aug 21 13:44:21 2012 -0500

    distutils.bblass: change order of args to install step
    
    This let's the user override install-lib argument again if it needs
    to be something else, otherwise things like python-setuptools
    won't be able to modify the install-lib dir
    
    This fixes a new issue exposed by my previous distutils patch
    that fixed the python modules default install location. AlsoD,
    it removes running the install step twice which was inadvertant
    
    (From OE-Core rev: 3b23feca31480cc56f55301fd0274e622c40b522)
    
    Signed-off-by: Matthew McClintock <msm@freescale.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

commit 3a51c0c6b08738b93b8d38f53cf6ad43f6644c44
Author: Matthew McClintock <msm@freescale.com>
Date:   Mon Aug 13 14:44:31 2012 -0500

    distutils.bbclass: fix libdir for 64-bit python modules built with distutils
    
    Without this some modules will be intalled in /usr/lib/python2.6/
    instead of /usr/${libdir}/python2.6
    
    (From OE-Core rev: bc6bd774aa8a3e085e9cabcefb11c3fc537139d5)
    
    Signed-off-by: Matthew McClintock <msm@freescale.com>
    Signed-off-by: Saul Wold <sgw@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org


The idea is that we have --root={D} and again --lib-dir={D}/libdir. Which means that the final path will be ${D}/${D}/... Obviously wrong.

Andrei
Comment 1 Andrei Gherzan 2012-08-24 20:48:57 UTC
Forget my last 2 sentences. That is not the root of the problem (again obviously).

Andrei
Comment 2 Andrei Gherzan 2012-08-24 20:58:58 UTC
:)

commit 3ea34e035a2cd32e2aa64659c1171dda9d44025d
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Aug 24 16:12:39 2012 +0000