[Bugs] [Bug 1538723] build: glibc has removed legacy rpc headers and rpcgen in Fedora28, use libtirpc

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 8 12:19:47 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1538723



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19516 committed in release-4.0 by "Anoop C
S" <anoopcs at autistici.org> with a commit message- build: glibc has removed rpc
headers and rpcgen in Fedora28, use libtirpc

Other Linux distributions are doing the same; some others have already
done so.

Switch to libtirpc(-devel) and unbundled rpcgen packages. For now
rpcgen is still provided by the glibc-rpcgen RPM, but rpcsvc-proto's
rpcgen subpackage is available now but will not be used until
glibc-rpcgen is retired. (note, rpcsvc-proto's rpcgen is just named
rpcgen-...rpm. I.e. not rpcsvc-proto-rpcgen.) Right now either one
will satisfy the BuildRequires: rpcgen.

Also, when a .spec file has
  BuildRequires: foo-devel
it is not necessary to also have:
  BuildRequires: foo
or even:
  BuildRequires: foo foo-devel

The foo-devel package has a dependency on foo, which will install foo
automatically. It's usually also not necessary to have a corresponding
  Requires: foo
as the rpmbuild process will also automatically determine the
install-time dependencies.

And other minor glusterfs.spec.in cleanup of ipv6-default, including
sorting the argument definitions because the comment says "keep them
sorted" (Though nobody appears to have ever sorted them in the first
place.)

Change-Id: I86f847dfda0fef83e22c6e8b761342d652a2d9ba
BUG: 1538723
Signed-off-by: Kaleb S. KEITHLEY <kkeithle at redhat.com>
(cherry picked from commit 0c57232ae07f48bd6483bfe88a182f832377ef52)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4sgCgd57UK&a=cc_unsubscribe


More information about the Bugs mailing list