Re: dhcpcd doesn't build vs make-4.2.90
Tim Tassonis
Tue Sep 10 16:02:38 2019
On 9/10/19 10:30 AM, Yegor Yefremov wrote:
On Thu, Sep 5, 2019 at 3:59 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:
On 05/09/2019 14:05, balducci@xxxxxxxx wrote:
hello
this is just a headsup that you might be interested in
Running on linux.
dhcpcd doesn't build vs recently released (GNU) make-4.2.90 run candidate.
The reason seems to be using suffix rules with prerequisites in both
src/Makefile and src/dev/Makefile.
From make-4.2.90's NEWS:
----8<----
* WARNING: Backward-incompatibility!
Contrary to the documentation, suffix rules with prerequisites were being
treated BOTH as simple targets AND as pattern rules. Behavior now matches
the documentation, and pattern rules are no longer created in this case.
---->8----
which basically says that suffix rules with prerequisites aren't
tolerated any longer
For me, running vs make-4.2.1 or the following workaround (which I
don't think is portable, though):
That's really poor on their part.
Suffix rules have worked with pre-requisites for years on other
implementions such as bmake.
Time to switch to something more fancy like CMake or Meson?
I think cmake only replaces autoconf, it still calls make.
meson requires python3, I'm not sure how popular a switch to meson/ninja
would be to non-linux users.
But of course, it's not my decision to make.
Bye
Tim
Archive administrator: postmaster@marples.name