diff mbox

[v2,1/2] package/gdb (7.9): remove documentation

Message ID 1441531217-21814-1-git-send-email-romain.naour@openwide.fr
State Superseded
Headers show

Commit Message

Romain Naour Sept. 6, 2015, 9:20 a.m. UTC
If makeinfo is not found in the system then the missing
script is used to warn the user.

Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
script returned 0 after printing the message.

Now, missing return 127 (command not found) to the Makefile and
the build fail.

As suggested [1], disable the documentation by removing "doc"
directory from SUBDIRS.

[1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html

Fixes:
http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 .../gdb/7.9.1/0004-gdb-disable-documentation.patch | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 package/gdb/7.9.1/0004-gdb-disable-documentation.patch

Comments

Yann E. MORIN Sept. 6, 2015, 8:25 p.m. UTC | #1
Romain, All,

On 2015-09-06 11:20 +0200, Romain Naour spake thusly:
> If makeinfo is not found in the system then the missing
> script is used to warn the user.
> 
> Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
> script returned 0 after printing the message.
> 
> Now, missing return 127 (command not found) to the Makefile and
> the build fail.
> 
> As suggested [1], disable the documentation by removing "doc"
> directory from SUBDIRS.
> 
> [1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html
> 
> Fixes:
> http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log
> 
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  .../gdb/7.9.1/0004-gdb-disable-documentation.patch | 43 ++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 package/gdb/7.9.1/0004-gdb-disable-documentation.patch
> 
> diff --git a/package/gdb/7.9.1/0004-gdb-disable-documentation.patch b/package/gdb/7.9.1/0004-gdb-disable-documentation.patch
> new file mode 100644
> index 0000000..c04ff50
> --- /dev/null
> +++ b/package/gdb/7.9.1/0004-gdb-disable-documentation.patch
> @@ -0,0 +1,43 @@
> +From 5b7cb9de2cebb6a26ad649dfef346b43e0cacfbb Mon Sep 17 00:00:00 2001
> +From: Romain Naour <romain.naour@openwide.fr>
> +Date: Sun, 6 Sep 2015 10:54:28 +0200
> +Subject: [PATCH] gdb: disable documentation
> +
> +If makeinfo is not found in the system then the missing
> +script is used to warn the user.
> +
> +Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
> +script returned 0 after printing the message.
> +
> +Now, missing return 127 (command not found) to the Makefile and
> +the build fail.
> +
> +As suggested [1], disable the documentation by removing "doc"
> +directory from SUBDIRS.
> +
> +[1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html
> +
> +Fixes:
> +http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log
> +
> +Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> +---
> + gdb/Makefile.in | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/gdb/Makefile.in b/gdb/Makefile.in
> +index 7937801..f4da17e 100644
> +--- a/gdb/Makefile.in
> ++++ b/gdb/Makefile.in
> +@@ -1065,7 +1065,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
> + 
> + TSOBS = inflow.o
> + 
> +-SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR)
> ++SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR)
> + CLEANDIRS = $(SUBDIRS)
> + 
> + # List of subdirectories in the build tree that must exist.
> +-- 
> +2.4.3
> +
> -- 
> 2.4.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff --git a/package/gdb/7.9.1/0004-gdb-disable-documentation.patch b/package/gdb/7.9.1/0004-gdb-disable-documentation.patch
new file mode 100644
index 0000000..c04ff50
--- /dev/null
+++ b/package/gdb/7.9.1/0004-gdb-disable-documentation.patch
@@ -0,0 +1,43 @@ 
+From 5b7cb9de2cebb6a26ad649dfef346b43e0cacfbb Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@openwide.fr>
+Date: Sun, 6 Sep 2015 10:54:28 +0200
+Subject: [PATCH] gdb: disable documentation
+
+If makeinfo is not found in the system then the missing
+script is used to warn the user.
+
+Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing
+script returned 0 after printing the message.
+
+Now, missing return 127 (command not found) to the Makefile and
+the build fail.
+
+As suggested [1], disable the documentation by removing "doc"
+directory from SUBDIRS.
+
+[1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html
+
+Fixes:
+http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log
+
+Signed-off-by: Romain Naour <romain.naour@openwide.fr>
+---
+ gdb/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gdb/Makefile.in b/gdb/Makefile.in
+index 7937801..f4da17e 100644
+--- a/gdb/Makefile.in
++++ b/gdb/Makefile.in
+@@ -1065,7 +1065,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
+ 
+ TSOBS = inflow.o
+ 
+-SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR)
++SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR)
+ CLEANDIRS = $(SUBDIRS)
+ 
+ # List of subdirectories in the build tree that must exist.
+-- 
+2.4.3
+