Re: s6: compatibility with make<3.82

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sat, 8 Aug 2015 02:34:15 +0200

On 08/08/2015 01:29, Buck Evan wrote:
> Laurent, I've just run across a counter example: (this gives me a bonafide
> issue when handling your -lskarnet rules)
>
> s6-user_at_696f14e9c9bd:~/scratch$ cat Makefile
> all: -lc
> echo $^
>
> s6-user_at_696f14e9c9bd:~/scratch$ make
> echo /usr/lib/x86_64-linux-gnu/libc.so
> /usr/lib/x86_64-linux-gnu/libc.so
>
> s6-user_at_696f14e9c9bd:~/scratch$ make --version
> GNU Make 3.81
>
> s6-user_at_696f14e9c9bd:~/scratch$ /opt/make/make
> make: *** No rule to make target '-lc', needed by 'all'. Stop.
>
> s6-user_at_696f14e9c9bd:~/scratch$ /opt/make/make --version
> GNU Make 4.1
> Built for x86_64-unknown-linux-gnu

  Interesting. It clearly shouldn't do that, because make-4.1 is
very much supposed to handle -l targets: if it didn't, no
skarnet.org package could ever build. I suspect it's related to
the way you installed it, something about vpaths and dynamic
linkers - but I'm too sleepy right now to investigate. If by
tomorrow you haven't found why it's not working, I'll give it a
try.

-- 
  Laurent
Received on Sat Aug 08 2015 - 00:34:15 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC