emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#56749: closed (modernize bootstrap.conf)


From: GNU bug Tracking System
Subject: bug#56749: closed (modernize bootstrap.conf)
Date: Mon, 26 Dec 2022 04:37:02 +0000

Your message dated Sun, 25 Dec 2022 20:36:02 -0800
with message-id <05242ce1-499d-d419-45d6-60823085db26@cs.ucla.edu>
and subject line Re: bug#56749: modernize bootstrap.conf
has caused the debbugs.gnu.org bug report #56749,
regarding modernize bootstrap.conf
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
56749: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56749
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: modernize bootstrap.conf Date: Sun, 24 Jul 2022 21:50:10 +0200
Hi,

The 'bootstrap' script from Gnulib has been reorganized to work in two phases:
  (1) Fetch auxiliary files that are not in the git checkout.
      This is the part that requires network access and that has
      supply-chain concerns.
  (2) Generate files such as configure, config.h, Makefile.in etc.
      This includes running gnulib-tool.

See <https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00053.html> for
details.

For GNU gzip some adjustment of the bootstrap.conf is needed. The bootstrap.conf
is meant to contain configuration settings, that is, define variables and
functions (hooks with special meanings). Instead, gzip/bootstrap.conf does some
actions directly. This will not work satisfactorily with the new two-phase
bootstrap. What is needed, is to move these actions into hooks:
  - Actions that may require network access belong in the
    bootstrap_post_pull_hook function.
  - Actions that merely regenerate files (without network access) usually
    belong in the bootstrap_post_import_hook.

The 'mkdir -p build-aux' is not needed any more. I verified that.

The lines

  # Automake requires that ChangeLog exist.
  touch ChangeLog || exit 1

can be moved into the bootstrap_post_import_hook function.

Bruno






--- End Message ---
--- Begin Message --- Subject: Re: bug#56749: modernize bootstrap.conf Date: Sun, 25 Dec 2022 20:36:02 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Thanks for the heads-up. I installed the attached patch to gzip and updated the bootstrap script to current Gnulib.

Attachment: bootstrap.patch
Description: Text Data


--- End Message ---

reply via email to

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