Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2039BC636D6 for ; Mon, 20 Feb 2023 20:57:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C52C0408F9; Mon, 20 Feb 2023 20:57:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org C52C0408F9 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yA6NwDZLGxqx; Mon, 20 Feb 2023 20:57:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 1142341D55; Mon, 20 Feb 2023 20:57:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1142341D55 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 16D3D1BF2E3 for ; Mon, 20 Feb 2023 20:51:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 87B0C40C1F for ; Mon, 20 Feb 2023 20:51:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 87B0C40C1F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88LC-nH8bGOE for ; Mon, 20 Feb 2023 20:51:47 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id 733C740C03 for ; Mon, 20 Feb 2023 20:51:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 733C740C03 Received: by busybox.osuosl.org (Postfix, from userid 4053) id 615018648F; Mon, 20 Feb 2023 20:51:47 +0000 (UTC) To: buildroot@buildroot.org Date: Sat, 5 Nov 2022 23:43:05 +0100 X-Git-Refname: refs/heads/next X-Git-Oldrev: ca6f38a340bf7eaac76aafcdf7dd78f5c61b0ba6 X-Git-Newrev: fbf3253d76399f2b310120e87c29569dd65749cc X-Patchwork-Hint: ignore Message-Id: <20230220205147.615018648F@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/next] package/freeipmi: fix build without makeinfo X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Petazzoni via buildroot Reply-To: Thomas Petazzoni MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=fbf3253d76399f2b310120e87c29569dd65749cc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next Disable documentation to avoid the following build failure without makeinfo raised at least since bump to version 1.6.10 in commit f0faa3b71c585cb70bcd6fa4bafb756b98130bd5 (and probably since the addition of the package in commit 663f39c88c01593855c18355a4decdceeffd884b): /home/buildroot/autobuild/instance-0/output-1/build/freeipmi-1.6.10/config/missing: line 81: makeinfo: command not found WARNING: 'makeinfo' is missing on your system. You should only need it if you modified a '.texi' file, or any other file indirectly affecting the aspect of the manual. You might want to install the Texinfo package: The spurious makeinfo call might also be the consequence of using a buggy 'make' (AIX, DU, IRIX), in which case you might want to install GNU make: Makefile:442: recipe for target 'freeipmi-faq.info' failed Fixes: - http://autobuild.buildroot.org/results/ac6ff1c746a354f885fc1674d10e7bff9e536134 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/freeipmi/0001-add-disable-doc.patch | 72 +++++++++++++++++++++++++++++ package/freeipmi/freeipmi.mk | 2 + 2 files changed, 74 insertions(+) diff --git a/package/freeipmi/0001-add-disable-doc.patch b/package/freeipmi/0001-add-disable-doc.patch new file mode 100644 index 0000000000..e410d2b52f --- /dev/null +++ b/package/freeipmi/0001-add-disable-doc.patch @@ -0,0 +1,72 @@ +From 5324c88632c021a87251370b03067d857e9a9892 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 2 Nov 2022 19:02:42 +0100 +Subject: [PATCH] add --disable-doc + +Allow the user to disable documentation through --disable-doc to avoid +the following build failure without makeinfo: + +/home/buildroot/autobuild/instance-0/output-1/build/freeipmi-1.6.10/config/missing: line 81: makeinfo: command not found +WARNING: 'makeinfo' is missing on your system. + You should only need it if you modified a '.texi' file, or + any other file indirectly affecting the aspect of the manual. + You might want to install the Texinfo package: + + The spurious makeinfo call might also be the consequence of + using a buggy 'make' (AIX, DU, IRIX), in which case you might + want to install GNU make: + +Makefile:442: recipe for target 'freeipmi-faq.info' failed + +Fixes: + - http://autobuild.buildroot.org/results/ac6ff1c746a354f885fc1674d10e7bff9e536134 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/chu11/freeipmi-mirror/pull/61] +--- + Makefile.am | 6 +++++- + configure.ac | 4 ++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index cf757f634..d74952e30 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -3,7 +3,6 @@ + ACLOCAL_AMFLAGS = -I config + + SUBDIRS = \ +- doc \ + etc \ + common \ + libfreeipmi \ +@@ -33,6 +32,11 @@ SUBDIRS = \ + rmcpping \ + contrib + ++if ENABLE_DOC ++SUBDIRS += \ ++ doc ++endif ++ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + +diff --git a/configure.ac b/configure.ac +index 54fdf6367..7a94b958b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -341,6 +341,10 @@ else + fi + AC_SUBST(WITH_DEBUG) + ++AC_ARG_ENABLE(doc, ++ AC_HELP_STRING([--disable-doc], [turn off documentation])) ++AM_CONDITIONAL(ENABLE_DOC, test "$enable_doc" != "no") ++ + dnl Allow advanced developers to compile with raw dumping + AC_ARG_ENABLE(rawdumps, + AC_HELP_STRING([--enable-rawdumps], [output raw packet dumps when debugging])) +-- +2.35.1 + diff --git a/package/freeipmi/freeipmi.mk b/package/freeipmi/freeipmi.mk index 916f2eb68a..3e0ac0ffa9 100644 --- a/package/freeipmi/freeipmi.mk +++ b/package/freeipmi/freeipmi.mk @@ -12,6 +12,8 @@ FREEIPMI_LICENSE_FILES = \ COPYING.ipmidetect COPYING.ipmi-fru COPYING.ipmimonitoring \ COPYING.ipmiping COPYING.ipmipower COPYING.ipmiseld COPYING.pstdout \ COPYING.sunbmc COPYING.ZRESEARCH +# We're patching configure.ac +FREEIPMI_AUTORECONF = YES FREEIPMI_DEPENDENCIES = host-pkgconf FREEIPMI_INSTALL_STAGING = YES # Disable checking for /dev/urandom and /dev/random through AC_CHECK_FILE _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot