Re: getopt broken when building with glibc 2.25.90

2017-06-11 Thread Paul Eggert
Daniel P. Berrange wrote: -#ifndef _GETOPT_CORE_H -#define _GETOPT_CORE_H 1 +#ifndef _GL_GETOPT_CORE_H +#define _GL_GETOPT_CORE_H 1 Thanks, but getopt-core.h is supposed to be identical in the glibc version and the gnulib version, and changes like the above would make it differ. Instead, how

Re: getopt broken when building with glibc 2.25.90

2017-06-05 Thread Daniel P. Berrange
On Fri, Jun 02, 2017 at 11:18:04AM -0700, Paul Eggert wrote: > On 06/02/2017 09:25 AM, Daniel P. Berrange wrote: > > Fedora rawhide is now shipping with glibc 2.25.90 and when trying to > > build libvirt with gnulib's getopt module, it crashes & burns > > > >CC getopt.lo > > In file incl

Re: getopt broken when building with glibc 2.25.90

2017-06-02 Thread Paul Eggert
On 06/02/2017 09:25 AM, Daniel P. Berrange wrote: Fedora rawhide is now shipping with glibc 2.25.90 and when trying to build libvirt with gnulib's getopt module, it crashes & burns CC getopt.lo In file included from ./getopt.h:57:0, from ../../../gnulib/lib/getopt.c:26

getopt broken when building with glibc 2.25.90

2017-06-02 Thread Daniel P. Berrange
Fedora rawhide is now shipping with glibc 2.25.90 and when trying to build libvirt with gnulib's getopt module, it crashes & burns CC getopt.lo In file included from ./getopt.h:57:0, from ../../../gnulib/lib/getopt.c:26: ../../config.h:2934:25: warning: 'struct rpl_option'