From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 26599 invoked from network); 15 Jan 2021 11:16:38 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 15 Jan 2021 11:16:38 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 60fad08d for ; Fri, 15 Jan 2021 06:16:36 -0500 (EST) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 0c74f15f for ; Fri, 15 Jan 2021 06:16:35 -0500 (EST) Received: by mail-oi1-f172.google.com with SMTP id q25so9141826oij.10 for ; Fri, 15 Jan 2021 03:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=dldJHcr55GeKMCuhZt+2Rra2k+bt2eSrnC9CfR7sy+M=; b=CqB4xUss8/nT0TRsyRxMPvMuNcbgnzupiYYIkSwUtqGuRtVjarPCx7nYXrsCe2wJul wCSsfQveoI/UbpxuPLYcu3p8V1Sp5IKRL2x/lulXyZBZte5bXBIl9b2rDG0NCTv5xcQs 0stqDau6YFW3GixxunW0Tg9Pd9g4weWKaB45bvmWiMJL1yE2iGa3SjDZrxuhuVmHSVd5 0rmjeX1kjQZcSgHFgkgTWHoWB8SePKqQa/xRUEqj+jBda8P9ZuZ8an2cMXLtLhpPVmRo Oo2G7zGkYFOoxx/LnL+4WjRXg4UFhL8mlxK/ZrfnbKY3yBhqW77IFr7+L6k38mWzKwLP mw6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dldJHcr55GeKMCuhZt+2Rra2k+bt2eSrnC9CfR7sy+M=; b=scPp+APMLXqREYczs2AreWOQbWz2rBzIfbF0pGnbThl1o1AK32Cp+bE3JmconBfbz3 TlbtMJym5mrf3andbCPtupgdqRdenECqBT1cJILgK2WCdukfXoIEHi7Vrn56BvGdyiVv pb12t1fSlVNdNMEgwC28fQDNmBPLzaS7s2xPQcfHmHJmZoiI5M7vsXAw5QTPh33LM7Or YWsCKv9sLA0eemTLS2lcA9fVnWBLr7La6RLVgmD+hpUbroYZgY6vK4gZlr4dbXOGoTRZ sQYnOT1fxN+7itDo82FRhQJI0bjpUqa+ul8YJ1fCHYovqeIZ3Ohb1nPX7mA89I7ZfBBg lMCw== X-Gm-Message-State: AOAM530FdWVfxdigxEbhcNLNoTo0A2eJHiNVUWFBJoIBESh2FcqALR+N wibR1yaalI+jay8FY5ApFT+fSvAbdyx+RO5WRy6tcy7vhly1aA== X-Google-Smtp-Source: ABdhPJw5AOKFfUez6qFGHctJ5Uylxk8v2A3StQ7Aw7uNjcamLZ6cnvFb+BBF522opvWrI6BFXeDz8H5cxeu0iQBwhgI= X-Received: by 2002:aca:4ec9:: with SMTP id c192mr5525324oib.115.1610709394320; Fri, 15 Jan 2021 03:16:34 -0800 (PST) X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Received: by 2002:a9d:4d0:0:0:0:0:0 with HTTP; Fri, 15 Jan 2021 03:16:33 -0800 (PST) In-Reply-To: References: From: Mingye Wang Date: Fri, 15 Jan 2021 19:16:33 +0800 Message-ID: Subject: Re: make: echo: No such file or directory To: discuss@mandoc.bsd.lv Cc: noloader@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 1/15/21, Milan P. Stani=C4=87 wrote: > > Look here for configure patch on Alpine: > https://git.alpinelinux.org/aports/tree/main/mandoc/mandoc_configure.patc= h > Let me go out on a limb and say this is a mandoc bug. In no point does POSIX say a shell should have echo and printf builtin, so it's perfectly legit to have these stuff only in thr PATH. It's wrong to expect the shell called by make to find these commands with an empty environment (env -i). Some form of the patch should be applied to mandoc. Regards, Mingye Wang -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv