Re: [PATCH] maint: Allow gnulib's readutmp module to use systemd.

Collin Funk <[email protected]> Fri, 22 Mar 2024 16:03:52 -0700
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
On 3/22/24 2:18 PM, Simon Josefsson wrote:
> Upgrading inetutils to use gnulib-tool.py would be nice.  As a start, I
> bumped the gnulib submodule.

Bruno and I are still working on it with a test suite. We want the
file output and stdout output to be the same before we recommend using
it. Then we won't get many bug reports for the same issue and we can
test that new changes don't break expected behavior.

With that in mind, I was curious to see how it worked and figured I
should share.

$ time env GNULIB_TOOL_IMPL=sh ./bootstrap
...
./bootstrap: done.  Now you can run './configure'.

real	0m53.390s
user	0m26.363s
sys	0m35.609s

$ time env GNULIB_TOOL_IMPL=py ./bootstrap
...
./bootstrap: done.  Now you can run './configure'.

real	0m13.753s
user	0m11.671s
sys	0m1.076s

Then diff'ing the two directories the Python version mangles
.gitignores, which I haven't gotten around to fixing yet. Then has an
extra AC_REQUIRE([AM_PROG_CC_C_O]) and a few whitespace diffs.

Seems like a good sign, but I would hold off until Bruno and I better
test it. :)

Collin