Once in a great while I get an error like this when rebuilding ncurses.

make[2]: Entering directory 
'/home/branden/src/GIT/ncurses-snapshots/Ada95/samples'
rm -f sample-explanation.adb
mawk -v this_datadir=/home/branden/ncurses-HEAD/share/AdaCurses -f 
./split-path.awk < ./sample-explanation.adb_p  >sample-explanation.adb
gnatmake -a -A. -A../src -A./../src tour -cargs -gnatpn -g -I. -largs -L../lib 
-lAdaCurses -L../../lib -lformtw -lmenutw -lpaneltw -lncursestw -ltinfotw   
-ldb -lpthread   -ldb -lpthread
x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -g -I. tour.adb
x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -g -I. sample.adb
sample.adb:47:06: file "terminal_interface-curses_constants.ads" not found
sample.adb:47:06: "Sample (body)" depends on "Terminal_Interface.Curses (spec)"
sample.adb:47:06: "Terminal_Interface.Curses (spec)" depends on 
"Terminal_Interface.Curses_Constants (spec)"
gnatmake: "sample.adb" compilation error
make[2]: *** [Makefile:167: tour] Error 4
make[2]: Leaving directory 
'/home/branden/src/GIT/ncurses-snapshots/Ada95/samples'
make[1]: *** [Makefile:86: all] Error 2
make[1]: Leaving directory '/home/branden/src/GIT/ncurses-snapshots/Ada95'
make: *** [Makefile:140: all] Error 2

I suspect it's because I'm using "make -j", and from time to time the
stars align to expose a missing dependency as the build races through
the graph.

I thought gnatmake was supposed to prevent this...?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to