GNU bug report logs - #7191
Gnulib failing to compile on Ubuntu 10.10

Previous Next

Package: coreutils;

Reported by: William Plusnick <pwplusnick2 <at> gmail.com>

Date: Mon, 11 Oct 2010 23:16:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7191 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: William Plusnick <pwplusnick2 <at> gmail.com>
Cc: 7191 <at> debbugs.gnu.org
Subject: Re: bug#7191: Gnulib failing to compile on Ubuntu 10.10
Date: Tue, 12 Oct 2010 13:42:06 +0200
William Plusnick wrote:

> The latest version of Ubuntu 10.10 is not building the Coreutils. It appears
> to fail due getopt. I ran:
> $ git pull
> $ make clean
> $ ./bootstrap
> $ ./configure
> $ make
>
> and get this error:
>   CC     xstrtoimax.o
> In file included from xstrtol.h:22,
>                  from xstrtol.c:31,
>                  from xstrtoimax.c:6:
> ./getopt.h:196: error: redefinition of 'struct option'
> ./getopt.h:242: error: conflicting types for 'getopt_long'
> /usr/include/getopt.h:175: note: previous declaration of 'getopt_long' was
> here
> ./getopt.h:246: error: conflicting types for 'getopt_long_only'
> /usr/include/getopt.h:179: note: previous declaration of 'getopt_long_only'
> was here
> make[4]: *** [xstrtoimax.o] Error 1
>
> I can try to solve it, but I'm a pretty bad programmer (maybe someday that
> will change), so most likely someone else will solve it before I do.

Thanks for the report.
Did you try with the latest snapshot?

    http://meyering.net/cu/coreutils-ss.tar.xz
    http://meyering.net/cu/coreutils-ss.tar.gz

If that fails, too, please let us know ASAP,
since I'm making the next release any day now.




This bug report was last modified 14 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.