public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] git: remove unpackaged perl-native files
@ 2013-01-25  8:06 wenzong.fan
  2013-01-25  8:06 ` [PATCH 1/1] " wenzong.fan
  0 siblings, 1 reply; 2+ messages in thread
From: wenzong.fan @ 2013-01-25  8:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Wenzong Fan <wenzong.fan@windriver.com>

These warnings appear in a build which enabled multilib:

${libdir} is not applicable for the install path of perl-native files,
files are always installed to /usr/lib no matter the target is 32/64
bits. After installing, remove unpackaged and unneeded perl-native
files to prevent warnings.
    
Fix warning:
    WARNING: For recipe git, the following files/directories were \
        installed but not shipped in any package:
    ...
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Error.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/auto
    
[YOCTO#3780]

The following changes since commit f0e02dc132c301c0a33a3a8cecddc867b1f0a70e:

  sample.extended: Add DISTRO_FEATURES_INITMAN (2013-01-24 20:09:46 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/3780-git
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/3780-git

Wenzong Fan (1):
  git: remove unpackaged perl-native files

 meta/recipes-devtools/git/git.inc        |    6 +++++-
 meta/recipes-devtools/git/git_1.8.0.2.bb |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] git: remove unpackaged perl-native files
  2013-01-25  8:06 [PATCH 0/1] git: remove unpackaged perl-native files wenzong.fan
@ 2013-01-25  8:06 ` wenzong.fan
  0 siblings, 0 replies; 2+ messages in thread
From: wenzong.fan @ 2013-01-25  8:06 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Wenzong Fan <wenzong.fan@windriver.com>

${libdir} is not applicable for the install path of perl-native files,
files are always installed to /usr/lib no matter the target is 32/64
bits. After installing, remove unpackaged and unneeded perl-native
files to prevent warnings.

Fix warning:
    WARNING: For recipe git, the following files/directories were \
        installed but not shipped in any package:
    ...
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Error.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/auto

[YOCTO#3780]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-devtools/git/git.inc        |    6 +++++-
 meta/recipes-devtools/git/git_1.8.0.2.bb |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 82df6e3..9829eec 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -28,7 +28,11 @@ do_install () {
 	oe_runmake install DESTDIR="${D}" bindir=${bindir} \
 		template_dir=${datadir}/git-core/templates \
 		GIT_PYTHON_DIR=${D}${datadir}/git-core/python
-	rm -rf ${D}${libdir}/perl-native
+
+	# ${libdir} is not applicable here, perl-native files are always
+	# installed to /usr/lib on both 32/64 bits targets.
+	rm -rf ${D}/usr/lib/perl-native
+	rmdir ${D}/usr/lib || true
 }
 
 do_install_append_class-native() {
diff --git a/meta/recipes-devtools/git/git_1.8.0.2.bb b/meta/recipes-devtools/git/git_1.8.0.2.bb
index 5e5a23e..ae6fc41 100644
--- a/meta/recipes-devtools/git/git_1.8.0.2.bb
+++ b/meta/recipes-devtools/git/git_1.8.0.2.bb
@@ -1,6 +1,6 @@
 require git.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://git-core.googlecode.com/files/git-${PV}.tar.gz"
 SRC_URI[md5sum] = "1aca109d4a719fe5bc43d25927fbc7d9"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-25  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25  8:06 [PATCH 0/1] git: remove unpackaged perl-native files wenzong.fan
2013-01-25  8:06 ` [PATCH 1/1] " wenzong.fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox