Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] git: add site_perl to packaged files to fix QA install error
Date: Sun, 31 Jan 2016 13:27:55 -0500	[thread overview]
Message-ID: <1454264875-15715-1-git-send-email-paul.gortmaker@windriver.com> (raw)

Recently this started appearing on my x86_64 builds:

ERROR: QA Issue: git: Files/directories were installed but not shipped in any package:
  /usr/lib64
  /usr/lib64/site_perl
  /usr/lib64/site_perl/5.22.1
  /usr/lib64/site_perl/5.22.1/Git.pm
  /usr/lib64/site_perl/5.22.1/Error.pm
  /usr/lib64/site_perl/5.22.1/perllocal.pod
  /usr/lib64/site_perl/5.22.1/Git
  /usr/lib64/site_perl/5.22.1/auto
  /usr/lib64/site_perl/5.22.1/Git/IndexInfo.pm
  /usr/lib64/site_perl/5.22.1/Git/SVN.pm
  /usr/lib64/site_perl/5.22.1/Git/I18N.pm
  /usr/lib64/site_perl/5.22.1/Git/SVN
  /usr/lib64/site_perl/5.22.1/Git/SVN/Log.pm
  /usr/lib64/site_perl/5.22.1/Git/SVN/Prompt.pm
 [...]
  /usr/lib64/site_perl/5.22.1/Git/SVN/Memoize/YAML.pm
  /usr/lib64/site_perl/5.22.1/auto/Git
  /usr/lib64/site_perl/5.22.1/auto/Git/.packlist
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
git: 24 installed and not shipped files. [installed-vs-shipped]
ERROR: Fatal QA errors found, failing task.
ERROR: Function failed: do_package
ERROR: Logfile of failure stored in: /home/paul/poky/build/tmp/work/core2-64-overc-linux/git/2.7.0-r0/temp/log.do_package.15893
ERROR: Task 11 (/home/paul/poky/meta/recipes-devtools/git/git_2.7.0.bb, do_package) failed with exit code '1'

At first I thought it was the git uprev from 2.5 --> 2.7 but even
after reverting that, the problem remained.  So it must be related
to some other infrastructural or perl change.  As the fix was
relatively obvious, I did not investigate the root cause any
further -- as the perl magic in the git bb is enough to scare
small children.

Cc: Robert Yang <liezhi.yang@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 meta/recipes-devtools/git/git.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index c19e0d47483c..4a0a62888631 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -101,6 +101,7 @@ PACKAGES =+ "${PN}-perltools"
 FILES_${PN}-perltools += " \
     ${PERLTOOLS} \
     ${libdir}/perl \
+    ${libdir}/site_perl \
     ${datadir}/perl \
 "
 RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
-- 
2.1.4



             reply	other threads:[~2016-01-31 18:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31 18:27 Paul Gortmaker [this message]
2016-01-31 21:40 ` [PATCH] git: add site_perl to packaged files to fix QA install error Phil Blundell
2016-02-01 18:11   ` Paul Gortmaker
2016-02-01 21:16 ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454264875-15715-1-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox