summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils-6.9
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-03-17 10:25:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-18 11:36:55 +0000
commit21d5d3cf5e2062f8d76ef052681c2111255c043b (patch)
treefee7ecd4d8cdb2000c734e915929458433566847 /meta/recipes-core/coreutils/coreutils-6.9
parent97d3ddedcc9b27f0e3e6c3da71029bee2c326684 (diff)
downloadpoky-21d5d3cf5e2062f8d76ef052681c2111255c043b.tar.gz
coreutils-6.9: fix man page building for the gplv2 recipe
Added a new patch: coreutils-6.9/fix_for_manpage_building.patch And the target recipe now depends on the native recipe for the manpage generation. Similar fix may be needed to the GPLv3 version of this recipe. (From OE-Core rev: 543577c25b5a4e89a3ab15ee28e754b71c2a43d5) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-6.9')
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/fix_for_manpage_building.patch83
1 files changed, 83 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/fix_for_manpage_building.patch b/meta/recipes-core/coreutils/coreutils-6.9/fix_for_manpage_building.patch
new file mode 100644
index 0000000000..67e12795da
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/fix_for_manpage_building.patch
@@ -0,0 +1,83 @@
1Use native coreutils binaries to build manpages in cross environment.
2This avoids man page build issues like this:
3
4| Making all in man
5| make[1]: Entering directory `/build_disk/poky_build/build1/tmp/work/i586-poky-linux/coreutils-6.9-r0/coreutils-6.9/man'
6| Updating man page cut.1
7| Updating man page dir.1
8| Updating man page expand.1
9| Updating man page fold.1
10| Updating man page install.1
11| Updating man page join.1
12| Updating man page pr.1
13| Updating man page ls.1
14| Updating man page sort.1
15| Updating man page unexpand.1
16| Updating man page uniq.1
17| Updating man page who.1
18| Updating man page vdir.1
19| help2man: can't get `--help' info from dir.td/dir
20| help2man: can't get `--help' info from cut.td/cut
21| make[1]: *** [dir.1] Error 126
22| make[1]: *** Waiting for unfinished jobs....
23| help2man: can't get `--help' info from fold.td/fold
24| help2man: can't get `--help' info from install.td/install
25| help2man: can't get `--help' info from expand.td/expand
26| help2man: can't get `--help' info from join.td/join
27| make[1]: *** [cut.1] Error 126
28| make[1]: *** [fold.1] Error 126
29| make[1]: *** [install.1] Error 126
30| help2man: can't get `--help' info from sort.td/sort
31| make[1]: *** [expand.1] Error 126
32| help2man: can't get `--help' info from pr.td/pr
33| make[1]: *** [join.1] Error 126
34| help2man: can't get `--help' info from ls.td/ls
35| help2man: can't get `--help' info from unexpand.td/unexpand
36| help2man: can't get `--help' info from uniq.td/uniq
37| help2man: can't get `--help' info from who.td/who
38| make[1]: *** [sort.1] Error 126
39| make[1]: *** [pr.1] Error 126
40| help2man: can't get `--help' info from vdir.td/vdir
41| make[1]: *** [ls.1] Error 126
42| make[1]: *** [uniq.1] Error 126
43| make[1]: *** [unexpand.1] Error 126
44| make[1]: *** [who.1] Error 126
45| make[1]: *** [vdir.1] Error 126
46| make[1]: Leaving directory `/build_disk/poky_build/build1/tmp/work/i586-poky-linux/coreutils-6.9-r0/coreutils-6.9/man'
47| make: *** [all-recursive] Error 1
48| FATAL: oe_runmake failed
49| ERROR: Function 'do_compile' failed (see /build_disk/poky_build/build1/tmp/work/i586-poky-linux/coreutils-6.9-r0/temp/log.do_compile.12780 for further information)
50NOTE: package coreutils-6.9-r0: task do_compile: Failed
51ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-core/coreutils/coreutils_6.9.bb, do_compile) failed with exit code '1'
52
53
54This patch is made for gplv2 coreutils the recipe
55Nitin A Kamble <nitin.a.kamble@intel.com>
562011/03/17
57
58Index: man/Makefile.am
59===================================================================
60--- a/man.orig/Makefile.am
61+++ b/man/Makefile.am
62@@ -167,7 +167,7 @@ mapped_name = `echo $*|sed 's/install/gi
63 $(PERL) -- $(srcdir)/help2man \
64 --source='$(PACKAGE_STRING)' \
65 --include=$(srcdir)/$*.x \
66- --output=$t/$@ $t/$*; \
67+ --output=$t/$@ $*; \
68 } \
69 && sed 's|$*\.td/||g' $t/$@ > $@ \
70 && chmod a-w $@ \
71Index: man/Makefile.in
72===================================================================
73--- a/man.orig/Makefile.in
74+++ b/man/Makefile.in
75@@ -865,7 +865,7 @@ yes.1: $(common_dep) $(srcdir)/yes.x .
76 $(PERL) -- $(srcdir)/help2man \
77 --source='$(PACKAGE_STRING)' \
78 --include=$(srcdir)/$*.x \
79- --output=$t/$@ $t/$*; \
80+ --output=$t/$@ $*; \
81 } \
82 && sed 's|$*\.td/||g' $t/$@ > $@ \
83 && chmod a-w $@ \