Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] nfs-utils: add host package
Date: Sat, 19 May 2018 12:44:12 +0200	[thread overview]
Message-ID: <20180519124412.5d533cf9@windsurf> (raw)
In-Reply-To: <4b1f3623de3a8a4386f76d0f3cdd36b7c9b230dd.1526643119.git.baruch@tkos.co.il>

Hello Baruch,

On Fri, 18 May 2018 14:31:56 +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.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

I've done some testing. First, this package needs host-pkgconf in
HOST_NFS_UTILS_DEPENDENCIES, because the configure.ac script uses
autoconf macros from pkgconfig.m4. With this fixed, host-nfs-utils
builds fine on my system (Fedora 27).

However, it doesn't build on Fedora 28, because the <rpc/types.h>
header is not available. If this one gets fixed by using a local copy
of <rpc/types.h>, then the build fails for <rpc/rpc.h>, etc.

So in fact on Fedora 28, not only rpcgen is not provided, but also the
RPC headers are not provided.

Do you have an idea on how to address this ? Do we need to build
host-libtirpc ?

If you don't have a Fedora 28 system at hand, you can easily create a
Docker container with Fedora 28 installed.

Thanks,

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

  parent reply	other threads:[~2018-05-19 10:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 11:31 [Buildroot] [PATCH 1/4] nfs-utils: add host package Baruch Siach
2018-05-18 11:31 ` [Buildroot] [PATCH 2/4] quota: depend on host-nfs-utils Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 11:31 ` [Buildroot] [PATCH 3/4] samba4: " Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 11:31 ` [Buildroot] [PATCH 4/4] autofs: " Baruch Siach
2018-06-17 14:55   ` Peter Korsgaard
2018-05-18 12:32 ` [Buildroot] [PATCH 1/4] nfs-utils: add host package Thomas Petazzoni
2018-05-18 12:33   ` Thomas Petazzoni
2018-05-19 10:44 ` Thomas Petazzoni [this message]
2018-05-21  6:07   ` Baruch Siach
2018-05-21  8:19     ` Thomas Petazzoni
2018-05-21  8:28       ` Baruch Siach
2018-05-21  8:32         ` Thomas Petazzoni
2018-05-21  8:58           ` Baruch Siach
2018-06-17 14:55 ` 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=20180519124412.5d533cf9@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox