What does the impossibility mean in gnu make -p?

I am having problems with the make file and when I run make -p in the directory section I get:

adminSrc (device 2049, inode 15991947): 5 files, 1 impossibilities.

      

This is the directory I am having problems in, so I suspect this is the reason.

I searched for this, no reference in GNU did the docs, I looked in some stat docs, no joy. Google has a question asked on the usenet thread but there was no answer.

So what does impossibility mean? I suspect file system corruption, is it true? Will he violate the rules regarding this directory?

Here are the snippets of the makefile

canvasserDest/%.js: canvasserSrc/%.js
    jsx canvasserSrc canvasserDest

adminDest/%.js: adminSrc/%.js
    jsx adminSrc adminDest

      

and

scripts/enterApp.js: admin/enter.js adminDest/enterJXS.js
    browserify admin/enter.js > scripts/enterApp.js

      

in bash

jrootham@Doonesbury:~/dev/campaign$ ls adminSrc/
assignJSX.js  enterJSX.js  recruitJSX.js

jrootham@Doonesbury:~/dev/campaign$ make

make: *** No rule to make target `adminDest/enterJXS.js', needed by `scripts/enterApp.js'.  Stop.

      

the canvasserDest rule works fine, the adminDest rule does not. What am I doing wrong?

I've looked for typos and bad invisible characters, but looking at the makefile with od shows nothing.

+3


source to share


1 answer


A quick dive with source in make 3.81 (also 3.82 and 4.0) seems to indicate that this means that a file in that directory was trying to find as an intermediate file, but could not find it.

From dir.c

:

/* Mark FILENAME as `impossible' for `file_impossible_p'.
   This means an attempt has been made to search for FILENAME
   as an intermediate file, and it has failed.  */

      



If you are looking for lines that say "Rejection is not possible ..." then they are probably associated with that number of files.

And to answer the underlying issue that triggered the question about impossible files.

You have JXS instead of JSX in adminDest / enterJXS.js in prereq.

+2


source







All Articles