diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-07 06:55:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-11 17:40:06 +0000 |
commit | 6c3ccc8ae92753ee123b1676032ef5f12fcd3496 (patch) | |
tree | 1f074ec06d77bd5c01f4c256139e3c9c162e4269 /meta | |
parent | 0cf128ca1b3b2c1c2d250842cd5f02c5f78eef24 (diff) | |
download | poky-6c3ccc8ae92753ee123b1676032ef5f12fcd3496.tar.gz |
guile: fixed installed-vs-shipped error
Fixed:
guile-2.0.11: guile: Files/directories were installed but not shipped
/usr/lib64/libguile-2.0*-gdb.scm [installed-vs-shipped]
This is because when there is no file in the directory:
for f in libguile-2.0*; do
[snip]
done
The f would be libguile-2.0* itself, make sure the libs are installed
firstly will fix the problem.
(From OE-Core rev: adf32ca3d0657cb5d363ae7a3fdb539c6627cf39)
(From OE-Core rev: f6305b451fd5f13e62642b8ac34edc0e6ab19542)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/guile/files/libguile-Makefile.am-depends.patch | 39 | ||||
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.11.bb | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guile/files/libguile-Makefile.am-depends.patch b/meta/recipes-devtools/guile/files/libguile-Makefile.am-depends.patch new file mode 100644 index 0000000000..1045cbe21c --- /dev/null +++ b/meta/recipes-devtools/guile/files/libguile-Makefile.am-depends.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From 9c4e120a7a87db34d22a50883a5a525170b480d7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Tue, 6 Jan 2015 23:10:51 -0800 | ||
4 | Subject: [PATCH] libguile/Makefile.am: install-data-hook: depends on | ||
5 | install-libLTLIBRARIES | ||
6 | |||
7 | It may install such a file: | ||
8 | /usr/lib64/libguile-2.0*-gdb.scm | ||
9 | |||
10 | This is because when there is no file in the directory: | ||
11 | for f in libguile-2.0*; do | ||
12 | [snip] | ||
13 | done | ||
14 | |||
15 | The f would be libguile-2.0* itself. | ||
16 | |||
17 | Upstream-Status: Pending | ||
18 | |||
19 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
20 | --- | ||
21 | libguile/Makefile.am | 2 +- | ||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/libguile/Makefile.am b/libguile/Makefile.am | ||
25 | index 281faac..fe0a3ba 100644 | ||
26 | --- a/libguile/Makefile.am | ||
27 | +++ b/libguile/Makefile.am | ||
28 | @@ -449,7 +449,7 @@ EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES = _scm.h \ | ||
29 | install-exec-hook: | ||
30 | rm -f $(DESTDIR)$(bindir)/guile-snarf.awk | ||
31 | |||
32 | -install-data-hook: libguile-2.0-gdb.scm | ||
33 | +install-data-hook: libguile-2.0-gdb.scm install-libLTLIBRARIES | ||
34 | @$(MKDIR_P) $(DESTDIR)$(libdir) | ||
35 | ## We want to install libguile-2.0-gdb.scm as SOMETHING-gdb.scm. | ||
36 | ## SOMETHING is the full name of the final library. We want to ignore | ||
37 | -- | ||
38 | 1.7.9.5 | ||
39 | |||
diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb index bd23c2b918..8fda850fc2 100644 --- a/meta/recipes-devtools/guile/guile_2.0.11.bb +++ b/meta/recipes-devtools/guile/guile_2.0.11.bb | |||
@@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \ | |||
20 | file://guile_2.0.6_fix_sed_error.patch \ | 20 | file://guile_2.0.6_fix_sed_error.patch \ |
21 | file://arm_endianness.patch \ | 21 | file://arm_endianness.patch \ |
22 | file://workaround-ice-ssa-corruption.patch \ | 22 | file://workaround-ice-ssa-corruption.patch \ |
23 | file://libguile-Makefile.am-depends.patch \ | ||
23 | " | 24 | " |
24 | 25 | ||
25 | # file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch | 26 | # file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch |