| Summary: | net-nds/rpcbind-0.2.4 fails to build with older libtirpc | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tanktalus |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | atoth |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log with full build and failure | ||
|
Description
Tanktalus
2016-12-11 14:59:33 UTC
Looking a bit more closely, I see the make is including "-I/usr/include/tirpc" in the compilation commandline. Unfortunately, the rpc/rpc.h that is in this path does not have the svc_max_pollfd variable/define that glibc has. Either we need a newer version of tirpc to go along with this update (I'm on stable, 0.2.5), or it needs to switch to glibc. A bit of testing shows that 0.3.1 doesn't fix this, but 1.0.1 does. So I think this bug report basically means that the prereq on libtirpc needs to be updated. I can confirm that. With libtirpc-1.0.1 it compiles as expected. Probably the dependency in the ebuild should be changed to something like >=net-libs/tirpc-1.0. |