build fails #20

Closed
pshevtsov opened this Issue Jan 25, 2014 · 5 comments

Comments

Projects
None yet
2 participants
$ make
./genconfig config_h.d < config.cdl > config_h.d || (rm config_h.d && false)
genconfig: unrecognised outtype 'config_h.d'
make: *** [config_h.d] Error 1

ec429 was assigned Jan 25, 2014

Owner

ec429 commented Jan 25, 2014

Fixed by c217817. Thanks for reporting!

ec429 closed this Jan 25, 2014

Nope, still fails:

$ make
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  ttyraw.c -o ttyraw.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  strbuf.c -o strbuf.o 
cc -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  genconfig.c  strbuf.o -o genconfig
./genconfig config_globals.h < config.cdl > config_globals.h || (rm config_globals.h && false)
./gitversion
cc -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  genkeymap.c  strbuf.o -o genkeymap
./genkeymap h < keys > keymod.h || (rm keymod.h && false)
./genconfig config_h.d < config.cdl > config_h.d || (rm config_h.d && false)
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  ttyesc.c -o ttyesc.o 
touch input_h.d
touch buffer_h.d
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  irc.c -o irc.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  ctcp.c -o ctcp.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  bits.c -o bits.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  ctbuf.c -o ctbuf.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  colour.c -o colour.o 
touch ctbuf_h.d
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  buffer.c -o buffer.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  names.c -o names.o 
cc -c -Wall -Wextra -Werror -pedantic -std=gnu99 -D_GNU_SOURCE -g  numeric_text.c -o numeric_text.o 
./genconfig config_check.c < config.cdl > config_check.c || (rm config_check.c && false)
./genconfig config_def.c < config.cdl > config_def.c || (rm config_def.c && false)
./genconfig config_need.c < config.cdl > config_need.c || (rm config_need.c && false)
./genconfig config_rcread.c < config.cdl > config_rcread.c || (rm config_rcread.c && false)
./genconfig config_pargs.c < config.cdl > config_pargs.c || (rm config_pargs.c && false)
./genconfig config_help.c < config.cdl > config_help.c || (rm config_help.c && false)
./genkeymap c < keys > keymap.c || (rm keymap.c && false)
./genconfig config_c.d < config.cdl > config_c.d || (rm config_c.d && false)
genconfig: unrecognised outtype 'config_c.d'
make: *** [config_c.d] Error 1
Owner

ec429 commented Jan 26, 2014

Hmm, that's weird, I can't reproduce this. I guess different versions of Make choose differently whether to use the rule "%.d" or "config_%" to build config_c.d (and indeed config_h.d). However, it should be a simple fix.

ec429 reopened this Jan 26, 2014

Owner

ec429 commented Jan 26, 2014

Please re-test with 73db7f3.

Yes! Builds fine, thanks!

pshevtsov closed this Jan 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment