[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getopt broken when building with glibc 2.25.90

From: Paul Eggert
Subject: Re: getopt broken when building with glibc 2.25.90
Date: Fri, 2 Jun 2017 11:18:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

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:
../../config.h:2934:25: warning: 'struct rpl_option' declared inside parameter 
list will not be visible outside of this definition or declaration
  #define __GETOPT_PREFIX rpl_
../../../gnulib/lib/getopt_pfx_core.h:38:44: note: in expansion of macro 

There is no file getopt_pfx_core.h in current Gnulib, so it sounds like you have some sort of mixture of old and new Gnulib imported into libvirt's source directory. suggest ripping out all the old stuff and importing the latest Gnulib version.

To help debug this, you might try getting the latest Gnulib sources and running "./gnulib-tool --test getopt" on your rawhide development platform. If that command doesn't work, it's probably a Gnulib bug; if the command does work, it's probably something else wrong with your setup.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]