load target breaks make
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
make-dfsg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With the following Makefile:
--
load : hello
hello :
echo "all is well"
--
the commands "make", "make hello", "make load" result in error with message
Makefile:1: :: cannot open shared object file: No such file or directory
Makefile:1: *** :: failed to load. Stop.
this minimal example extracted from a Makefile with a load target which has
been used weekly for 10+ years.
$ make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ lsb_release -rd
Description: Linux Mint 18.1 Serena
Release: 18.1
$ apt-cache policy make
make:
Installed: 4.1-6
Candidate: 4.1-6
Version table:
*** 4.1-6 500
500 http://
100 /var/lib/
load:
is parsed as a make target
load :
is parsed as a load directive asking to load an extended module (make plugin) named literary `:'
https:/ /www.gnu. org/software/ make/manual/ make.html# load-Directive
Please use correct syntax for targets, without a space before `:'.