All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/6] nfs-utils: add host package
Date: Tue, 22 May 2018 23:07:58 +0200	[thread overview]
Message-ID: <20180522230758.6a2b0f96@windsurf> (raw)
In-Reply-To: <134051d83451aeb788e09c3e4e540806a198fe48.1526985017.git.baruch@tkos.co.il>

Hello,

On Tue, 22 May 2018 13:30:13 +0300, Baruch Siach wrote:
> We only need the host package for the rpcgen utility. glibc deprecated
> this utility in version 2.26. Fedora has recently removed rpcgen from
> its glibc package. So we need to build the rpcgen from the nfs-utils
> package.
> 
> The removal of Sun RPC from glibc also removed RPC headers from glibc.
> rpcgen needs two of these headers. Add host-libtirpc to provide the RPC
> headers.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: add host-libtirpc dependency (Thomas P)
> ---
>  package/nfs-utils/nfs-utils.mk | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
> index 26112d69f230..c9e79866e42c 100644
> --- a/package/nfs-utils/nfs-utils.mk
> +++ b/package/nfs-utils/nfs-utils.mk
> @@ -24,6 +24,20 @@ NFS_UTILS_CONF_OPTS = \
>  	--with-statedir=/run/nfs \
>  	--with-rpcgen=internal
>  
> +HOST_NFS_UTILS_CONF_OPTS = \
> +	--disable-nfsv4 \
> +	--disable-nfsv41 \
> +	--disable-gss \
> +	--disable-uuid \
> +	--disable-ipv6 \
> +	--without-tcp-wrappers \
> +	--with-statedir=/run/nfs \
> +	--disable-caps \
> +	--disable-tirpc \
> +	--without-systemd \
> +	--with-rpcgen=internal
> +HOST_NFS_UTILS_DEPENDENCIES = host-libtirpc

This variable lacks host-pkgconf. Without this, the autoreconf fails.

With this fixed:

Tested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

I've tested in a Fedora 28 docker container, host-nfs-utils now builds
rpcgen properly.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2018-05-22 21:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 10:30 [Buildroot] [PATCH v2 1/6] libtirpc: add host package Baruch Siach
2018-05-22 10:30 ` [Buildroot] [PATCH v2 2/6] nfs-utils: " Baruch Siach
2018-05-22 11:50   ` Baruch Siach
2018-05-22 21:07   ` Thomas Petazzoni [this message]
2018-05-22 10:30 ` [Buildroot] [PATCH v2 3/6] quota: depend on host-nfs-utils Baruch Siach
2018-05-22 10:30 ` [Buildroot] [PATCH v2 4/6] samba4: " Baruch Siach
2018-05-22 10:30 ` [Buildroot] [PATCH v2 5/6] autofs: " Baruch Siach
2018-05-22 10:30 ` [Buildroot] [PATCH v2 6/6] libtirpc: use rpcgen from host-nfs-utils Baruch Siach
2018-05-22 10:54 ` [Buildroot] [PATCH v2 1/6] libtirpc: add host package Thomas Petazzoni
2018-05-22 11:15   ` Baruch Siach
2018-05-22 22:21 ` Arnout Vandecappelle
2018-05-23  5:58   ` Thomas Petazzoni
2018-06-17 14:56 ` Peter Korsgaard

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=20180522230758.6a2b0f96@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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.