From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org, Semyon Kolganov <semenak94@mail.ru>
Subject: Re: [Buildroot] [PATCH 1/1] package/mpir: fix build errors
Date: Mon, 2 Feb 2026 19:11:15 +0100 [thread overview]
Message-ID: <aYDn4S9dsgkDqWjb@windsurf> (raw)
In-Reply-To: <20251026090221.699214-1-bernd@kuhls.net>
Hello,
On Sun, Oct 26, 2025 at 10:02:21AM +0100, Bernd Kuhls wrote:
> Added upstream patch to fix configure with gcc-14.
This should have been one commit.
> Updated project URL and _SITE due to previous site not being available
> anymore: https://github.com/wbhart/mpir/pull/298
And this should have been another commit, as it's unrelated.
So I've split into two commits.
> The github helper could not be used, for details see
> https://patchwork.ozlabs.org/project/buildroot/patch/20250203-repair_mpir-v1-1-db848d68b586@bootlin.com/
> In contrast this commit does not bump the package version.
This is not what the comment was saying, and in fact using the github
helper works just fine, so I've used that. The trick is that the old
tarball was .tar.bz2 while the new one from github is .tar.gz, so
there is no conflict.
> +# mpir tries to build/install .info doc even if makeinfo isn't installed
> +# on the host, so we have to disable global doc installation to prevent
> +# autobuild errors.
> +define MPIR_DISABLE_DOC_INSTALL
> + $(SED) 's/SUBDIRS += mpn fft mpz mpq mpf printf scanf cxx tune doc/SUBDIRS += mpn fft mpz mpq mpf printf scanf cxx tune/' \
> + $(@D)/Makefile.am
> +endef
> +MPIR_POST_PATCH_HOOKS += MPIR_DISABLE_DOC_INSTALL
This was quite complicated, so I simplified to:
+# We don't care about the documentation
+MPIR_CONF_ENV = MAKEINFO=true
which is the approach we use in a number of packages already when
makeinfo gets annoying.
So, applied your change after splitting into two commits, and doing
various improvements along the way.
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-02-02 18:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-26 9:02 [Buildroot] [PATCH 1/1] package/mpir: fix build errors Bernd Kuhls
2026-02-02 18:11 ` Thomas Petazzoni via buildroot [this message]
2026-02-13 19:37 ` Thomas Perale via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aYDn4S9dsgkDqWjb@windsurf \
--to=buildroot@buildroot.org \
--cc=bernd@kuhls.net \
--cc=semenak94@mail.ru \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.