Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] glibc-2.14 and changes in rpc support (libtirpc)
Date: Sat, 11 Jun 2011 20:12:52
Message-Id: 201106111611.36160.vapier@gentoo.org
1 historically, glibc provided all the ugly rpc support (while not nearly as
2 relevant today, it still is used by way of nfs support). the glibc
3 maintainers have opted to stop supporting this. at first they declined to
4 accept new features, but now they've started removing support for new code to
5 build against it.
6
7 libtirpc started off to support the new features (namely ipv6 support), but
8 has now taken on a new roll of supporting all the rpc code.
9
10 so if you have a build bug due to glibc-2.14 due to missing rpc/ or rpcsvc/
11 header, you're going to have to convert over to libtirpc.
12
13 something like:
14 inherit toolchain-funcs
15 ...
16 append-cppflags $($(tc-getPKG_CONFIG) libtirpc --cflags)
17 export LIBS+=" $($(tc-getPKG_CONFIG) libtirpc --libs)"
18
19 obviously the LIBS part will need tweaking based on your package.
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] glibc-2.14 and changes in rpc support (libtirpc) Mike Frysinger <vapier@g.o>
[gentoo-dev] glibc-2.14.1 destined for ~arch Mike Frysinger <vapier@g.o>