bug-gnulib
[Top][All Lists]
Advanced

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

Re: bootstrap does not pass --force to autoreconf


From: Gary V. Vaughan
Subject: Re: bootstrap does not pass --force to autoreconf
Date: Fri, 28 Dec 2012 20:48:15 +0700

Salut Akim!

On 28 Dec 2012, at 19:22, Akim Demaille <address@hidden> wrote:
> Le 28 déc. 2012 à 12:39, "Gary V. Vaughan" <address@hidden> a écrit :
>> On 28 Dec 2012, at 18:00, Akim Demaille <address@hidden> wrote:
>>> Can't all these bootstraps be merged?  Bison used to have a forked
>>> one too, but Joel's and Jim's efforts resulted Bison's using the
>>> stock bootstrap now.
>> 
>> Yes please!  I rewrote bootstrap from the ground up to meet shortcomings
>> that prevented gnulib bootstrap from being used by Libtool and M4, and from
>> being forked by tar, bison and others.  I studied every other bootstrap 
>> script
>> I could lay my hands on in the hope that the rewrite would be a strict super-
>> set of those.  I believe I succeeded.
>> 
>> Unfortunately, the result is very large (it has a lot to do!) [[snip]]
> 
> If you think there's a chance we could really merge the
> efforts, then that would be nice!  What evidence can we
> have that it might be accepted this time, or rejected again?

Of course I can't speak for the others, but it's my impression is that while
Bruno, Paul and Jim are fundamentally receptive to the idea of a re-engineered
bootstrap script, they (rightly) don't care to let me push to gnulib until all
2500 lines of the replacement have been peer reviewed.

The latest version can, however, be dropped directly into the override
directory, and will upgrade itself from changes to the override module sources:

address@hidden/Devo/libtool--devo--0                │master│9f2b41f│
├!35438│^2=wc -l gl/{build-aux,modules}/*
    1165 gl/build-aux/funclib.sh      # mostly extracted from ltmain.in
      19   gl/modules/funclib.sh
     420 gl/build-aux/extract-trace   # as used by libtoolize
      21   gl/modules/extract-trace
     608 gl/build-aux/options-parser  # likewise (restartable shell parser)
      20   gl/modules/options-parser
    2527 gl/build-aux/bootstrap.in    # pared down client of the above
      23   gl/modules/bootstrap
     154 gl/build-aux/inline-source   # combine above into a single script
      21   gl/modules/inline-source
    4978 total

The files all pass libtool's extensive shell syntax-check rules, are all
very well commented (which contributes to their relative large sizes) and
there's also extensive texinfo documentation, though I'd need to check
that it's still accurate after the recent round of changes where I split
my original submission into the several independently useful scripts
shown above.

We're overdue a new libtool release which I'll start work on in the New Year,
after which I'll try to lobby for the non-clashing, non-bootstrap files from
above to be accepted into gnulib given a little more time for adoption of
that release to improve confidence that those files (which are now deeply
integrated into not only libtool's bootstrap, but also the installed libtool,
libtoolize and ltmain.sh files) are portable and functional enough to warrant
inclusion -- since the release process will require libtool to compile and
pass extensive testsuite on the 30+ architectures I have access to.

As to whether the bootstrap module is adopted, I'm relatively happy to make
use of it in my own code and make people aware of it as an alternative if it
ooks like it might prove useful to them rather than hassling the gnulib folks
any further.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)


reply via email to

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