helpAutoconf - Support: sr #110417, Do not generate a back up file...

 
 

sr #110417: Do not generate a back up file when running autoreconf

Submitter:  None
Submitted:  Tue 05 Jan 2021 12:35:46 PM UTC
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Wed 09 Feb 2022 06:27:30 PM UTC, comment #2: 

Yes, you can write a patch to add a way to tell `sub update_file` not to create backup files, and then wire that up to command line options in each of the programs that use `update_file`.  You need to start by patching Automake, because the file that defines `update_file` is shared between the two projects.  Once your patch is committed in Automake, then you write a second patch to update Autoconf's copy of FileUtils.pm and add the command line options to Autoconf's programs.

Zack Weinberg <zackw>
Project Administrator
Wed 09 Feb 2022 05:52:10 PM UTC, comment #1: 

This is pretty annoying and seems trivial to fix. Is there any way to help with actually fixing it?

Vadim Zeitlin <zeitlin>
Tue 05 Jan 2021 12:35:46 PM UTC, original submission:  

Moving from autoconf v2.69 to v2.70, autoconf started to generate back-up files of the configure script by appending a tilde ~. Give the opportunity to the user to disable this behaviour, that is, do never generate a configure~.

The following is the response from Zack Weinberg to this request in the mailing list on 04/Jan/2021:

> It is not currently possible to disable this.  (The offending code is
> `sub update_file` in $prefix/share/autoconf/Autom4te/FileUtils.pm; if
> you look at it, you will see that the suffix used for the backup file
> can be changed with the $SIMPLE_BACKUP_SUFFIX environment variable,
> but there isn't any way to tell it not to create the backup at all.)


> Because FileUtils.pm is shared with Automake, changes require
> coordination between the two projects and take even longer than
> normal.  Would you please file an issue for this feature request,
> using https://savannah.gnu.org/support/?func=additem&group=autoconf
> (you may need to create an account) so we don't forget about it?


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Posted a comment)
  • -email is unavailable- added by thesamesam
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-10 thesamesam Carbon-Copy- Added thesamesam

    Back to the top


    Powered by Savane 3.9