adobe-flash / crossbridge

Welcome to visit the homepage!
http://www.crossbridge.io
542 stars 194 forks source link

Cannot 'make' twice in a row #7

Closed Luomu closed 11 years ago

Luomu commented 11 years ago

Doing 'make' once works as expected:

$ make
~~~ Crossbridge ~~~
- base
- make
- cmake
- abclibs
- basictools
- llvm
- binutils
- plugins
- gcc
- bmake
- stdlibs
- gcclibs
- as3wig
- abcstdlibs
- sdkcleanup
- tr
- trd
- extralibs
- extratools
- finalcleanup
- submittests

However, should the user (for some reason) do it again, without invoking 'make clean' first:

$ make
~~~ Crossbridge ~~~
- base
- make
- cmake
- abclibs
Failed to build: abclibs
make[1]: *** [all_with_local_make] Error 1
make: *** [all] Error 2

build/mac/locs/abclibs.txt says:

mv: rename /Users/kkotajarvi/git/crossbridge/build/apidocs/tempdita to /Users/kkotajarvi/git/crossbridge/build/tempdita: Directory not empty
make[3]: *** [abclibs_asdocs] Error 1
make[3]: *** Waiting for unfinished jobs....
cbakgly commented 11 years ago

Search for tempdita in Makefile and add an action of removing it firstly if exists. Also please check the new commit. FYI.

cbakgly commented 11 years ago

BTW, it's not recommended to build in a row for several times without cleaning up. Mines are laying around :-( Take risk for yourself :dancers: