Bug 11095 - make fails with target '.INIT' does not exist
make fails with target '.INIT' does not exist
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.2.0rc4
All Solaris
: P5 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-10 18:20 UTC by Tom Schulz
Modified: 2015-06-15 08:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Schulz 2015-02-10 18:20:12 UTC
While doing a test build of Samba 4.2.0rc4.on a Solaris 10 system, make fails as follows:

Checking project rules ...
Project rules pass
Waf: Entering directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bi
n'
        Selected embedded Heimdal build
Waf: Leaving directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin
'
target '.INIT' does not exist
*** Error code 1
make: Fatal error: Command failed for target `.INIT'
WAF_MAKE=1  ./buildtools/bin/waf --targets=.DONE
        Selected embedded Heimdal build
Waf: Entering directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bi
n'
        Selected embedded Heimdal build
Waf: Leaving directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin
'
target '.DONE' does not exist
*** Error code 1



This is caused by the following in Makefile:

# Catch all rule to be able to call make service_repl in order to find the name
# of the submodule you want to build, look at the wscript
%:
       $(WAF) --targets=$@


If I use gnumake instead of make then that does not cause any trouble.
Comment 1 Stefan Metzmacher 2015-06-15 08:13:36 UTC
We might want to a Makefile with just basic features
and the current Makefile as GNUmakefile?