* make: echo: No such file or directory
@ 2021-01-14 21:21 Jeffrey Walton
2021-01-14 22:11 ` Steffen Nurpmeso
2021-01-14 22:14 ` Milan P. Stanić
0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey Walton @ 2021-01-14 21:21 UTC (permalink / raw)
To: discuss
Hi Everyone,
I'm trying to build Git on Alpine Linux 3.12 x86_64. Mandoc is a
distant dependency, so I need to build Mandoc as a prereq.
Mandoc is dying in configure (configure.local is already created):
./configure
file config.log: writing...
make: echo: No such file or directory
I took a quick look at the configure scripts. I think Mandoc may be
getting a bit too fancy in configure. It is confusing BusyBox.
I understand most of the script is standard shell scripting. But
that's not very helpful to me since I can't build/install a program I
need.
Jeff
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make: echo: No such file or directory
2021-01-14 21:21 make: echo: No such file or directory Jeffrey Walton
@ 2021-01-14 22:11 ` Steffen Nurpmeso
2021-01-14 22:14 ` Milan P. Stanić
1 sibling, 0 replies; 5+ messages in thread
From: Steffen Nurpmeso @ 2021-01-14 22:11 UTC (permalink / raw)
To: discuss
Jeffrey Walton wrote in
<CAH8yC8k4h_K2Ti5juvqem5SA5aLxnU7qccfsZuTjDDTY0_zpeg@mail.gmail.com>:
|Hi Everyone,
|
|I'm trying to build Git on Alpine Linux 3.12 x86_64. Mandoc is a
|distant dependency, so I need to build Mandoc as a prereq.
How about doing "apk add mandoc-dev" and such instead?
Or look at how they build it.
...
|I took a quick look at the configure scripts. I think Mandoc may be
|getting a bit too fancy in configure. It is confusing BusyBox.
Hihihi to the first two sentences.
Ciao,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make: echo: No such file or directory
2021-01-14 21:21 make: echo: No such file or directory Jeffrey Walton
2021-01-14 22:11 ` Steffen Nurpmeso
@ 2021-01-14 22:14 ` Milan P. Stanić
2021-01-14 23:37 ` Jeffrey Walton
2021-01-15 11:16 ` Mingye Wang
1 sibling, 2 replies; 5+ messages in thread
From: Milan P. Stanić @ 2021-01-14 22:14 UTC (permalink / raw)
To: discuss, noloader
On Thu, 2021-01-14 at 16:21, Jeffrey Walton wrote:
> I'm trying to build Git on Alpine Linux 3.12 x86_64. Mandoc is a
> distant dependency, so I need to build Mandoc as a prereq.
>
> Mandoc is dying in configure (configure.local is already created):
>
> ./configure
> file config.log: writing...
> make: echo: No such file or directory
Look here for configure patch on Alpine:
https://git.alpinelinux.org/aports/tree/main/mandoc/mandoc_configure.patch
> I took a quick look at the configure scripts. I think Mandoc may be
> getting a bit too fancy in configure. It is confusing BusyBox.
>
> I understand most of the script is standard shell scripting. But
> that's not very helpful to me since I can't build/install a program I
> need.
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make: echo: No such file or directory
2021-01-14 22:14 ` Milan P. Stanić
@ 2021-01-14 23:37 ` Jeffrey Walton
2021-01-15 11:16 ` Mingye Wang
1 sibling, 0 replies; 5+ messages in thread
From: Jeffrey Walton @ 2021-01-14 23:37 UTC (permalink / raw)
To: Milan P. Stanić; +Cc: discuss
On Thu, Jan 14, 2021 at 5:14 PM Milan P. Stanić <mps@arvanta.net> wrote:
>
> On Thu, 2021-01-14 at 16:21, Jeffrey Walton wrote:
> > I'm trying to build Git on Alpine Linux 3.12 x86_64. Mandoc is a
> > distant dependency, so I need to build Mandoc as a prereq.
> >
> > Mandoc is dying in configure (configure.local is already created):
> >
> > ./configure
> > file config.log: writing...
> > make: echo: No such file or directory
>
> Look here for configure patch on Alpine:
> https://git.alpinelinux.org/aports/tree/main/mandoc/mandoc_configure.patch
Perfect, thanks.
Jeff
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make: echo: No such file or directory
2021-01-14 22:14 ` Milan P. Stanić
2021-01-14 23:37 ` Jeffrey Walton
@ 2021-01-15 11:16 ` Mingye Wang
1 sibling, 0 replies; 5+ messages in thread
From: Mingye Wang @ 2021-01-15 11:16 UTC (permalink / raw)
To: discuss; +Cc: noloader
On 1/15/21, Milan P. Stanić <mps@arvanta.net> wrote:
>
> Look here for configure patch on Alpine:
> https://git.alpinelinux.org/aports/tree/main/mandoc/mandoc_configure.patch
>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-15 11:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 21:21 make: echo: No such file or directory Jeffrey Walton
2021-01-14 22:11 ` Steffen Nurpmeso
2021-01-14 22:14 ` Milan P. Stanić
2021-01-14 23:37 ` Jeffrey Walton
2021-01-15 11:16 ` Mingye Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).