Bug 3780 - git: WARNING: perl-native files were installed but not shipped
Summary: git: WARNING: perl-native files were installed but not shipped
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Peter A. Bigot
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-23 07:02 UTC by Wenzong.Fan
Modified: 2014-10-27 18:08 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenzong.Fan 2013-01-23 07:02:00 UTC
build git with multilib enabled:
--------------------------
MACHINE ?= "qemux86-64"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
--------------------------

$ bitbake git
WARNING: QA Issue: git: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/perl-native
  /usr/lib/perl-native/perl
  /usr/lib/perl-native/perl/5.14.2
  /usr/lib/perl-native/perl/5.14.2/Error.pm
  /usr/lib/perl-native/perl/5.14.2/perllocal.pod
  /usr/lib/perl-native/perl/5.14.2/Git.pm
  /usr/lib/perl-native/perl/5.14.2/auto
  /usr/lib/perl-native/perl/5.14.2/Git
  /usr/lib/perl-native/perl/5.14.2/auto/Git
  /usr/lib/perl-native/perl/5.14.2/auto/Git/.packlist
  /usr/lib/perl-native/perl/5.14.2/Git/IndexInfo.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN.pm
  /usr/lib/perl-native/perl/5.14.2/Git/I18N.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Log.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/GlobSpec.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Migration.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Utils.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Fetcher.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Prompt.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Editor.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Ra.pm
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Memoize
  /usr/lib/perl-native/perl/5.14.2/Git/SVN/Memoize/YAML.pm
Comment 1 Wenzong.Fan 2013-01-31 07:26:42 UTC
Commit merged: b77d5679c4d15e1053b7a78849b0acfe9fdef593
Comment 2 Peter A. Bigot 2014-09-19 17:36:20 UTC
Removing these files was the wrong thing to do: some of the applications in git-perltools (such as add--interactive) need the Git module.  Patch incoming.
Comment 3 Peter A. Bigot 2014-09-19 17:59:53 UTC
See http://patches.openembedded.org/patch/80651/
Comment 4 Peter A. Bigot 2014-10-27 18:08:16 UTC
commit 804f8e650f433d00907ec04282c22aaff2e5c044
Author: Peter A. Bigot <pab@pabigot.com>
Date:   Thu Sep 25 08:28:29 2014 -0500

    git: add Git perl module to perltools package
    
    Git perl tools such as add--interactive load the Git module at runtime.
    A previous patch to eliminate a QA error by deleting it instead of
    packaging it was incorrect.
    
        beaglebone[62]$ git add -i
        Can't locate Git.pm in @INC (you may need to install the Git module) (@I
        BEGIN failed--compilation aborted at /usr/lib/git/git-core/git-add--inte
    
    [YOCTO#3780]
    
    Signed-off-by: Peter A. Bigot <pab@pabigot.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>