From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 113C66DE1081 for ; Tue, 11 Jun 2019 17:32:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.698 X-Spam-Level: X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[AWL=-0.197, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Bti82wLISmS for ; Tue, 11 Jun 2019 17:32:10 -0700 (PDT) Received: from ra.horus-it.com (ra.horus-it.com [94.130.34.199]) by arlo.cworth.org (Postfix) with ESMTPS id 7F0C66DE0F10 for ; Tue, 11 Jun 2019 17:32:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ra.horus-it.com (Postfix) with ESMTP id 8A95A48C1CE8 for ; Wed, 12 Jun 2019 02:32:08 +0200 (CEST) X-Virus-Scanned: at horus-it.com From: Ralph Seichter DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monksofcool.net; s=k1; t=1560299523; bh=WN9oHpQfF8kw9Vdyte6fMWycRKxVgXFSiukgVMtLNv8=; h=From:To:Subject:Date:Message-ID:Content-Type; b=qfjTjYRVXYH23mYzruUy1bmme2sf7+mAoqChV6vfRH6CLhJG1TvOQVtItkZNaBcHK cMXkebifWcnvayYe2XeMYX5MlTzBP4i3NsGZkVxSV7JSGilBuNnnWGmenRAGXMP0rN 8FtDPWOo4PYtC9Sfe485xKpJ8TJwnE44pNncBoLXQ9Z+xKm+N93tbsQzRw9IZazVVM uGCa20qeqm7Pqw6fkyMlWee3kp3FhwAY0IOv6JCnQudfzcaQseQwDC/YFvTYfGQ7ew cZGNnHzDJ3wUQwVbRO2vJclcFY3MqrWZIHP7HAmiZDngYLdIR4bivntPtTmHcZ5YCx 8qMct3mIUoa5A== To: notmuch@notmuchmail.org Subject: [PATCH] configure: fix mktemp call for macOS Date: Wed, 12 Jun 2019 02:26:39 +0200 Mail-Followup-To: notmuch@notmuchmail.org Message-ID: <87r27z63uk.fsf@ra.horus-it.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2019 00:32:12 -0000 The mktemp call in configure is incompatible with /usr/bin/mktemp as shipped with macOS, where it fails due to a missing parameter. I added the missing template, and the call is now working with both Apple's and GNU coreutils' mktemp. Signed-off-by: Ralph Seichter --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8b80f0e0..feebafcc 100755 --- a/configure +++ b/configure @@ -529,7 +529,7 @@ int main () { return 0; } EOF - if ! TEMP_GPG=$(mktemp -d); then + if ! TEMP_GPG=$(mktemp -d /tmp/notmuch.XXXXXX); then printf 'No.\nCould not make tempdir for testing session-key support.\n' errors=$((errors + 1)) elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \ -- 2.21.0