[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD
From: |
Thomas Klausner |
Subject: |
[sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD |
Date: |
Tue, 11 Oct 2022 11:19:10 -0400 (EDT) |
URL:
<https://savannah.gnu.org/support/?110740>
Summary: AC_PROG_MKDIR_P has incorrect result on NetBSD
Project: Autoconf
Submitter: tk
Submitted: Tue 11 Oct 2022 03:19:07 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: *BSD
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 11 Oct 2022 03:19:07 PM UTC By: Thomas Klausner <tk>
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.
Looking at the FreeBSD and OpenBSD and macOS man pages, --version is not
supported either, so this will fail in the same way there.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 11 Oct 2022 03:19:08 PM UTC Name: configure.ac Size: 40B By: tk
<http://savannah.gnu.org/support/download.php?file_id=53836>
-------------------------------------------------------
Date: Tue 11 Oct 2022 03:19:07 PM UTC Name: configure.ac Size: 40B By: tk
<http://savannah.gnu.org/support/download.php?file_id=53835>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110740>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD,
Thomas Klausner <=
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Zack Weinberg, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Thomas Klausner, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Paul Eggert, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Paul Eggert, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Thomas Klausner, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Greg Troxel, 2022/10/11
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Paul Eggert, 2022/10/12
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Paul Eggert, 2022/10/12
- [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Thomas Klausner, 2022/10/13
Re: [sr #110740] AC_PROG_MKDIR_P has incorrect result on NetBSD, Tom Lane, 2022/10/11