[libvirt] [gnulib PATCH 0/2] Work around glibc 2.25 deprecation warnings

Eric Blake eblake at redhat.com
Thu Sep 15 01:05:21 UTC 2016


Fedora rawhide builds of libvirt.git at commit d53fa838^ failed
due to the new glibc 2.25 deprecation warning for use of major()
from just <sys/types.h>; I also found that the same warning is
provoked by gnulib's mountlist module.  Libvirt commit d53fa838
was a temporary hack to work around the problem, and I will be
reverting that and updating to newer gnulib once this goes in.

I've tested that libvirt on Fedora rawhide with d53fa838 reverted
and gnulib updated to this commit was once again able to build.

Comments welcome, particularly for my choice of wording in
documentation changes.  The final push will differ slightly from
this, especially if the autoconf patch going in first changes
slightly due to review there, but this should give a good idea
of the fix.

Eric Blake (2):
  mountlist: include sysmacros.h for glibc
  sys_types: avoid glibc 2.25 warnings about major()

 ChangeLog                                | 15 +++++++++++++++
 doc/glibc-functions/gnu_dev_major.texi   |  4 ++++
 doc/glibc-functions/gnu_dev_makedev.texi |  4 ++++
 doc/glibc-functions/gnu_dev_minor.texi   |  4 ++++
 doc/posix-headers/sys_types.texi         |  6 ++++++
 lib/mountlist.c                          |  6 ++++++
 m4/mountlist.m4                          |  3 ++-
 m4/sys_types_h.m4                        | 27 ++++++++++++++++++++++++++-
 8 files changed, 67 insertions(+), 2 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list