[Buildroot] [PATCH 1/4] nfs-utils: add host package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon May 21 08:19:28 UTC 2018
Hello,
On Mon, 21 May 2018 09:07:56 +0300, Baruch Siach wrote:
> > Do you have an idea on how to address this ? Do we need to build
> > host-libtirpc ?
>
> I'll take a look.
Thanks!
> If we need host-libtirpc we would not be able to remove the rpcgen patch since
> that would create a circular dependency.
Except if we manage to convince host-libtirpc that it should just
install the RPC headers, and not do anything that needs rpcgen.
> Why do we actually need rpcgen in libtirpc?
If I remember correctly, it's because it needs to generate the C code
matching those RPC descriptions:
./tirpc/rpc/rpcb_prot.x
./tirpc/rpcsvc/crypt.x
./tirpc/rpcsvc/key_prot.x
But it's been a very long time I did this, and libtirpc has been
updated multiple times since then.
Alternatively, one approach would be to bundle a pre-generated version
of those C files instead of having to run rpcgen. Not the nicest
solution, but that's one solution.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list