Bug #14543

`make commit` show error of `common-srcs`

Added by hsbt (Hiroshi SHIBATA) about 3 years ago. Updated almost 3 years ago.

Target version:


When I use make commit, it shows following error.

~/D/g/r/ruby (trunk) > mk commit
make: Entering directory '/Users/hsbt/Documents/'
Committing to svn+ssh:// ...
    M   gems/bundled_gems
Committed r62546
    M   gems/bundled_gems
r62546 = 2e1b00647ce1b4d3a6801484d7e76283fac6d202 (refs/remotes/svn/trunk)
No changes between 99295842365c9b356a6e8dfec264249cd8e24aad and refs/remotes/svn/trunk
Resetting to the latest refs/remotes/svn/trunk
dcommitted on a detached HEAD because you gave a revision argument.
The rewritten commit is: 2e1b00647ce1b4d3a6801484d7e76283fac6d202
Already on 'trunk'
Your branch is ahead of 'origin/trunk' by 1 commit.
  (use "git push" to publish your local commits)
First, rewinding head to replay your work on top of it...
Applying: Update minitest-5.11.3 on bundled gems.
   26741c97f4..2e1b00647c  trunk      -> origin/trunk
First, rewinding head to replay your work on top of it...
make[1]: Entering directory '/Users/hsbt/Documents/'
make[1]: *** No rule to make target '../lex.c', needed by 'common-srcs'.  Stop.
make[1]: *** Waiting for unfinished jobs....
generating ../parse.c
    M   gems/bundled_gems
r62546 = 2e1b00647ce1b4d3a6801484d7e76283fac6d202 (refs/remotes/svn/trunk)
Current branch trunk is up to date.
make[1]: Leaving directory '/Users/hsbt/Documents/'
make: *** [../defs/ commit] Error 2
make: Leaving directory '/Users/hsbt/Documents/'

mk is an alias of make -j. nobu (Nobuyoshi Nakada) Can you investigate it?

Updated by hsbt (Hiroshi SHIBATA) almost 3 years ago

I discussed about this with nobu.

941:common-srcs: $(srcs_vpath)parse.c $(srcs_vpath)lex.c $(srcs_vpath)enc/trans/newline.c $(srcs_vpath)id.c \

nobu copied above files by his own tool before make commit. I requested to fix this dependency problem to him.

Also available in: Atom PDF