Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [URGENT 1/1] package/util-linux: fix host build failure
Date: Wed, 2 Feb 2022 21:42:10 +0100	[thread overview]
Message-ID: <20220202214210.0a2483e6@gmx.net> (raw)
In-Reply-To: <d6ff992c-a84c-d335-3ddb-2122f7c744dd@mind.be>

Hello Arnout, Giulio,

On Wed, 2 Feb 2022 08:41:34 +0100, Arnout Vandecappelle <arnout@mind.be> wrote:

> On 02/02/2022 00:22, Giulio Benetti wrote:
> > The UTIL_LINUX_FIX_DISK_UTILS_COMPILE workaround is needed for host
> > building too. So let's add it to HOST_UTIL_LINUX_POST_PATCH_HOOKS.
> > host-util-linux is used a lot, so this patch fixes a lot of future
> > builds.
>
>   Darn, I tested that, both with and without BR2_PACKAGE_HOST_UTIL_LINUX set. I
> don't understand what went wrong in my test...

The raw support depends on the available toolchain headers, see e.g.
package/util-linux/Config.in:

	config BR2_PACKAGE_UTIL_LINUX_RAW
	        bool "raw"
	        depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
	        help
	          Build a linux raw character device

Or according to [1] '--disable-raw' for the host build should do
the trick too...

Regards,
Peter

[1] https://github.com/util-linux/util-linux/issues/1577

>
>   Anyway, applied to master, thanks.
>
>   Regards,
>   Arnout
>
>
> >
> > Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> > ---
> >   package/util-linux/util-linux.mk | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
> > index e59ef7dadc..5a4ff64d01 100644
> > --- a/package/util-linux/util-linux.mk
> > +++ b/package/util-linux/util-linux.mk
> > @@ -41,6 +41,7 @@ define UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> >   	touch $(@D)/disk-utils/raw.8
> >   endef
> >   UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> > +HOST_UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
> >
> >   HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf
> >

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-02-02 20:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01 23:22 [Buildroot] [URGENT 0/1] This patch is needed for host-util-linux Giulio Benetti
2022-02-01 23:22 ` [Buildroot] [URGENT 1/1] package/util-linux: fix host build failure Giulio Benetti
2022-02-01 23:25   ` Giulio Benetti
2022-02-02  7:41   ` Arnout Vandecappelle
2022-02-02 20:42     ` Peter Seiderer [this message]
2022-02-02 21:09       ` Giulio Benetti
2022-02-02 21:40         ` Peter Seiderer
2022-02-02 21:54           ` Giulio Benetti
2022-02-02 22:05             ` [Buildroot] [PATCH] package/util-linux: improve host build failure fix Giulio Benetti
2022-02-03 20:23               ` Peter Seiderer
2022-02-03 22:29                 ` Giulio Benetti
2022-02-03 22:31                 ` [Buildroot] [PATCH v2] " Giulio Benetti
2022-02-12 22:02                   ` Arnout Vandecappelle
2022-02-02 22:10           ` [Buildroot] [URGENT 1/1] package/util-linux: fix host build failure Giulio Benetti

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=20220202214210.0a2483e6@gmx.net \
    --to=ps.report@gmx.net \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox