mainAutoconf - Support: sr #110739, AC_PROG_MKDIR_P has incorrect...

 
 

sr #110739: AC_PROG_MKDIR_P has incorrect result on NetBSD

Submitter:  None
Submitted:  Tue 11 Oct 2022 03:16:44 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Duplicate Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Oct 2022 03:20:46 PM UTC, comment #1: 

Please close this, more complete version in https://savannah.gnu.org/support/index.php?110740

Thomas Klausner <tk>
Tue 11 Oct 2022 03:16:44 PM UTC, original submission:  

The AC_PROG_MKDIR_P() macro is supposed to check for a race-free mkdir(1). NetBSD's is race-free but is not detected as such.

Basic test case is attached. When configure is run, I get:

checking for a race-free mkdir -p... ./install-sh -c -d

Looking at the generated configure code, the test seems to consist of running 'mkdir --version' and comparing the result to a few known-good values. This fails on NetBSD since NetBSD's mkdir does not support --version.

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 (Updated the item)
  • -email is unavailable- added by tk (Posted a comment)
  •  

    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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-11 zackw StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code